Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #102  
Old 10-20-2005, 08:29 AM
gael11 gael11 is offline
 
Join Date: Oct 2005
Location: South of France
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oooops great it works now. Thanks welo
Reply With Quote
  #103  
Old 10-20-2005, 09:27 AM
VaaKo VaaKo is offline
 
Join Date: Jul 2005
Location: Lebanon
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just have one question, can we like post information from our forums on another website?
my forum is www.lebforces.org/forum and I wanna poste some info on www.lebanese-forces.com
is it posssible?
Reply With Quote
  #104  
Old 10-20-2005, 01:34 PM
welo welo is offline
 
Join Date: Jan 2004
Location: Portland, Oregon
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Don Corleone
I just have one question, can we like post information from our forums on another website?
my forum is www.lebforces.org/forum and I wanna poste some info on www.lebanese-forces.com
is it posssible?
If both sites are on the same server you can do this by using the full path in your chdir and require_once statements:

Code:
chdir('/home/username/public_html/forums');
require_once('/home/username/public_html/forums/vBExternal.php');
This is also the workaround if your forum occupies a subdomain on a separate server account.
Reply With Quote
  #105  
Old 10-22-2005, 04:45 AM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simms
Has anybody has any luck getting images to appear properly? That's the only thing still tripping me up.

Change this line (towards the end of the file):

Code:
	$Data = str_replace('images/',"{$vbulletin->options[bburl]}/images/",$Data);
to

Code:
// 	$Data = str_replace('images/',"{$vbulletin->options[bburl]}/images/",$Data);
PS if anyone is interested I have this working with DeanC's "DC SEO Plugin" https://vborg.vbsupport.ru/showthread.php?t=91324

See my WIP here http://www.ejuan.com/index2.php

Let e know and i'll do a write up.
Reply With Quote
  #106  
Old 10-22-2005, 10:17 AM
Xtrm2Matt Xtrm2Matt is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great plugin. The news script my friend wrote no longer works with 3.5.0 but this works fantastically.

One problem though. A script I made to just display basic user info (such as username via $vbulletin->userinfo[xxx]) no longer works. I can include one of the needed files (/includes/functions_user.php), but once global.php is included, everything breaks giving this error:
Fatal error: Cannot redeclare class vbulletinhook in C:\dir\to\forums\class_hook.php on line 29

I believe Kru (hi Kru ) also had a problem with this a few pages back where the "Login on a Non-VB page" required global.php to be included also and gave the same error.

Any ideas how I can fix this?

---
Also, the images/smileys showed perfect for me without needing to edit anything
---

Ta,

Matt
Reply With Quote
  #107  
Old 10-22-2005, 12:09 PM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Comment out the following two lines:

Code:
$vbulletin =& new vB_Registry(); // Fake an OOP Object
and

Code:
class vBulletinHook { function fetch_hook() { return false; } }


Quote:
Originally Posted by Xtrm2Matt
Great plugin. The news script my friend wrote no longer works with 3.5.0 but this works fantastically.

One problem though. A script I made to just display basic user info (such as username via $vbulletin->userinfo[xxx]) no longer works. I can include one of the needed files (/includes/functions_user.php), but once global.php is included, everything breaks giving this error:
Fatal error: Cannot redeclare class vbulletinhook in C:\dir\to\forums\class_hook.php on line 29

I believe Kru (hi Kru ) also had a problem with this a few pages back where the "Login on a Non-VB page" required global.php to be included also and gave the same error.

Any ideas how I can fix this?

---
Also, the images/smileys showed perfect for me without needing to edit anything
---

Ta,

Matt
Reply With Quote
  #108  
Old 10-22-2005, 12:19 PM
Xtrm2Matt Xtrm2Matt is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jugo
Comment out the following two lines:

Code:
$vbulletin =& new vB_Registry(); // Fake an OOP Object
and

Code:
class vBulletinHook { function fetch_hook() { return false; } }
Gives an error when I do this:
Fatal error: vB_Database::Registry object is not an object in C:\dir\to\forums\includes\class_core.php on line 203

Matt
Reply With Quote
  #109  
Old 10-22-2005, 09:58 PM
VaaKo VaaKo is offline
 
Join Date: Jul 2005
Location: Lebanon
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by welo
If both sites are on the same server you can do this by using the full path in your chdir and require_once statements:

Code:
chdir('/home/username/public_html/forums');
require_once('/home/username/public_html/forums/vBExternal.php');
This is also the workaround if your forum occupies a subdomain on a separate server account.
no, both sites are not on the same server!
would it work if I insert the full url not the path, or what?
Reply With Quote
  #110  
Old 10-22-2005, 10:18 PM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xtrm2Matt
Gives an error when I do this:
Fatal error: vB_Database::Registry object is not an object in C:\dir\to\forums\includes\class_core.php on line 203

Matt

make sure you have global.php included or else it will not work.
Reply With Quote
  #111  
Old 10-22-2005, 11:27 PM
Xtrm2Matt Xtrm2Matt is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jugo
make sure you have global.php included or else it will not work.
Global.php is included.

Matt
Reply With Quote
Reply

Thread Tools

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 08:25 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.05749 seconds
  • Memory Usage 2,315KB
  • Queries Executed 27 (?)
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
  • (8)bbcode_code
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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