Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBExternal v1.6 Details »»
vBExternal v1.6
Version: 1.00, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 1 Rating:
Released: 06-12-2005 Last Update: Never Installs: 213
 
No support by the author.

Well, this doesn't modify any php, nor use a plugin, so i wasn't sure exactly where to stick it

Anyhow, this is a port of the vBExternal for vb 3.0.7, so look at this thread for more information: https://vborg.vbsupport.ru/showthrea...threadid=81943

Enjoy

- Zero Tolerance

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 09-10-2005, 03:35 PM
FightRice.com FightRice.com is offline
 
Join Date: Mar 2005
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kru
On my homepage : www.mirzone.net I am running vbexternal 1.6 https://vborg.vbsupport.ru/showthread.php?t=83005

Now, I wanted to run VB Login on a Non-VB Page vB3 RC3: https://vborg.vbsupport.ru/showthread.php?t=61112 from there, too.

I already got this hack succesfully to run on a test page, too: http://www.mirzone.net/testing.htm

However I don't get to run both hacks together.

The problem is that vbexternal want this code at the top:

PHP Code:
<?php
chdir
("/.../.../.../mirzone.net/html/forum/");
include(
'./vBExternal.php'); 
?>
and VB Login:

PHP Code:
<?php
  chdir
("/.../.../.../mirzone.net/html/forum/");
require(
'./global.php');  
chdir("/.../.../.../mirzone.net/html/"); 
?>
If I try to run both codes (above) I always get the following error message:

PHP Code:
Fatal errorCannot redeclare class vbulletinhook in /var/www/vhosts/mirzone.net/httpdocs/forum/includes/class_hook.php on line 29 
Have anybody an idea how I can fix this, please?

can you post the code you are using in your page you want that on
Reply With Quote
  #43  
Old 09-12-2005, 11:19 AM
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So what does this do exactly....anybody have a link to their site with it? Pictures?
Reply With Quote
  #44  
Old 09-12-2005, 03:34 PM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jesus likes pie
So what does this do exactly....anybody have a link to their site with it? Pictures?
http://www.conflictingviews.com

The news in the middle is pulled from a forum
Reply With Quote
  #45  
Old 09-12-2005, 06:02 PM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BrentWilson
anyway to show the contents of the quote tags on the mainpage news?

Also IMG tags would be nice... hell all of bbcode haha

http://www.conflictingviews.com/foru.../orange/14.gif

^ Smilies do not work on the manpage either. When I use a smilie in the post I get this on the mainpage but it shows correctly within the forum
Reply With Quote
  #46  
Old 09-12-2005, 06:14 PM
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BrentWilson
http://www.conflictingviews.com

The news in the middle is pulled from a forum

So its kinda like vBAdvanced?
Reply With Quote
  #47  
Old 09-12-2005, 06:44 PM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jesus likes pie
So its kinda like vBAdvanced?
No, it's not a portal or cms. It is a tool for grabbing info from your forum and displaying it on your normal site pages.
Reply With Quote
  #48  
Old 09-14-2005, 11:46 PM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any kind of help with the smilies?
Reply With Quote
  #49  
Old 09-20-2005, 09:03 AM
mark99 mark99 is offline
 
Join Date: Oct 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Useful little script, well done to the author =).

Now there's a couple of things I'd like to see/do.

1. How can I output the START DATE for the 'Latest Threads'?

2. Is it possible to save the 'Latest Threads' output to an external file. I already tried the following and it simply returned a 0 byte file. It seems since the data is already collected and requested that it should be possible, but I'm clearly missing something:

PHP Code:
$result output_NewestThreads(5,"1,2,3");
$fp fopen("atest.txt""w");
fwrite($fp$result);
fclose($fp); 
PHP isn't my strong point =).
Reply With Quote
  #50  
Old 09-20-2005, 04:56 PM
mark99 mark99 is offline
 
Join Date: Oct 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

More or less solved no.2 myself with a simple 'ob'. For the benefit of anybody else that likes to cache data and save database/php load:

PHP Code:
<?php

require_once('./vBExternal.php');

ob_start();

output_NewestThreads(5,"1,2,3");

$html_file_contents ob_get_contents();
ob_end_flush();

$result $html_file_contents;
$fp fopen("a1.html""w");
fwrite($fp$result);
fclose($fp);

?>
Only problem left is the fact that this 'save' script is simply a process for storing the data, I don't want it to output the information as well. Is there anyway to hide the public output of "output_NewestThreads(5,"1,2,3");", so that the script simply loads, processes and saves without outputting the threads summary when it's loaded?

I also still need to find a way of displaying the START DATES (i.e. No.1 in post above) for the threads. It should just be a matter of adding an extra call like "'postuserid' => $Thread['postuserid'],", but I can't remember what to use for date?
Reply With Quote
  #51  
Old 09-25-2005, 10:57 PM
TYorke TYorke is offline
 
Join Date: Dec 2001
Location: Toronto, ON
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting this error

Fatal error: Call to a member function on a non-object in /home/cchla/public_html/forums/vBExternal.php on line 433


any ideas?

EDIT: I fixed my problem ... I did this by using

<?php
require_once('./vBExternal.php');
output_UsersOnline();
?>

Where I wanted my 'Users Online' to appear instead of at the top of the file as per the instructions
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07515 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete