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
  #322  
Old 06-08-2006, 08:34 PM
[email protected] vbmenu_register("postmenu_1002448", true);
Guest
 
Posts: n/a
Default

Ok, i where able to make it work, however, the problem is pretty strange.

Whenever I try to use the script from withing a PHP function it fails....

example.

Code:
test();

function test() {
  chdir('../forum');
  require_once('./vBExternal.php');
  output_News(3,51);
  output_NewestThreads(5,'');
  chdir('../pages');
}
That does not work and it returns

Fatal error: Call to a member function query() on a non-object in F:\Webz Inicom\Web iniCom\forum\vBExternal.php on line 392

if i run it from a non function, ie on a root of a file it just work fine

anyone can explain why or if there is any workaround?
Reply With Quote
  #323  
Old 06-09-2006, 12:12 PM
C.Birch C.Birch is offline
 
Join Date: Apr 2002
Posts: 459
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont think its designed to work within other php code
Reply With Quote
  #324  
Old 06-09-2006, 05:42 PM
C.Birch C.Birch is offline
 
Join Date: Apr 2002
Posts: 459
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Temp Fix for using with vb 3.6 beta1

In vBExternal.php

Find:
require_once('./includes/class_bbcode.php');

Replace with:
require_once('./includes/class_bbcode2.php');



Next you need to get the file class_bbcode.php from the vb3.5.4 and rename it class_bbcode2.php and then upload to includes folder.

Basicy it just makes this hack read the old bbcode file so that it works.
Reply With Quote
  #325  
Old 06-20-2006, 12:13 PM
e2s e2s is offline
 
Join Date: Nov 2004
Location: NH
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If on 3.5.4 you get a database error that gives you no idea what the problem is check this

Search for:
PHP Code:
// make database connection
$db->connect(
        
$config['Database']['dbname'],
        
$config['MasterServer']['servername'],
        
$config['MasterServer']['username'],
        
$config['MasterServer']['password'],
        
$config['MasterServer']['usepconnect'],
        
$config['SlaveServer']['servername'],
        
$config['SlaveServer']['username'],
        
$config['SlaveServer']['password'],
        
$config['SlaveServer']['usepconnect'],
        
$config['Mysqli']['ini_file']
); 
Replace with:
PHP Code:
// make database connection
$db->connect(
        
$config['Database']['dbname'],
        
$config['MasterServer']['servername'],
        
$config['MasterServer']['port'],
        
$config['MasterServer']['username'],
        
$config['MasterServer']['password'],
        
$config['MasterServer']['usepconnect'],
        
$config['SlaveServer']['servername'],
        
$config['SlaveServer']['port'],
        
$config['SlaveServer']['username'],
        
$config['SlaveServer']['password'],
        
$config['SlaveServer']['usepconnect'],
        
$config['Mysqli']['ini_file']
); 
You just need the port added and it should work or I should say it worked for me.
Reply With Quote
  #326  
Old 06-20-2006, 04:18 PM
e2s e2s is offline
 
Join Date: Nov 2004
Location: NH
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I recently made a modification so you can run multiple forums off of one user table. I have now modified the code for vBExternal so that I can have a site that shows recent posts from each site. You can check it out here. The site is still kind of rough and I am still working on getting everything the way I want it but you get the idea.
Reply With Quote
  #327  
Old 06-21-2006, 06:08 AM
ElliottB ElliottB is offline
 
Join Date: Jun 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any chance for news grabbing attachments and having them at the end?
Reply With Quote
  #328  
Old 06-30-2006, 06:12 PM
aceofspades's Avatar
aceofspades aceofspades is offline
 
Join Date: Apr 2006
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you tell me how to show how many members AND guests there are only. So far i have got the members online working but it would also be nice to show the number of guests.

something like :

Users online: 5
Members: James, Bob
Guests: 3
Reply With Quote
  #329  
Old 07-02-2006, 05:27 PM
Dunc Dunc is offline
 
Join Date: Jun 2006
Location: West Midlands
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made a file called portal.php in my public_html folder which I'm gonna use to set it up and then put it as my main page. I did everything it said on installation instructions and I copied all of the usage instructions codes onto the page with lots of gaps between them

I must have done something wrong, because I get this message when I go on www.lolage.co.uk/portal.php:

Database error
The database has encountered a problem.

--------------------------------------------------------------------------------

Please try the following:
Load the page again by clicking the Refresh button in your web browser.
Open the www.lolage.co.uk home page, then try to open another page.
Click the Back button to try another link.

The www.lolage.co.uk forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.


I have no clue about php, so could someone help me?

Thanks
Reply With Quote
  #330  
Old 07-03-2006, 04:47 PM
Tannerman's Avatar
Tannerman Tannerman is offline
 
Join Date: Mar 2002
Location: Chicago, IL
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering if anyone has been successful in pulling information from MORE THAN ONE forum when using the News include. The instructions state:
Code:
###################################################
# Displaying News

<?php
output_News(5,4);
?>

# Change '5' to the amount you want to show
# Change '4' to the forum id you want to pull
# news from (must be set - only 1 forum id allowed)
###################################################
Just curious if anyone has been able to modify vBExternal so that more than 1 forum ID can be included here.
Reply With Quote
  #331  
Old 07-08-2006, 03:09 PM
kidron kidron is offline
 
Join Date: May 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by e2s
If on 3.5.4 you get a database error that gives you no idea what the problem is check this

Search for:
PHP Code:
// make database connection
$db->connect(
        
$config['Database']['dbname'],
        
$config['MasterServer']['servername'],
        
$config['MasterServer']['username'],
        
$config['MasterServer']['password'],
        
$config['MasterServer']['usepconnect'],
        
$config['SlaveServer']['servername'],
        
$config['SlaveServer']['username'],
        
$config['SlaveServer']['password'],
        
$config['SlaveServer']['usepconnect'],
        
$config['Mysqli']['ini_file']
); 
Replace with:
PHP Code:
// make database connection
$db->connect(
        
$config['Database']['dbname'],
        
$config['MasterServer']['servername'],
        
$config['MasterServer']['port'],
        
$config['MasterServer']['username'],
        
$config['MasterServer']['password'],
        
$config['MasterServer']['usepconnect'],
        
$config['SlaveServer']['servername'],
        
$config['SlaveServer']['port'],
        
$config['SlaveServer']['username'],
        
$config['SlaveServer']['password'],
        
$config['SlaveServer']['usepconnect'],
        
$config['Mysqli']['ini_file']
); 
You just need the port added and it should work or I should say it worked for me.

Thanks a lot! that solved my database error :banana:
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 03:16 AM.


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.05594 seconds
  • Memory Usage 2,353KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_php
  • (1)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
  • (10)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