![]() |
Oooops great it works now. Thanks welo
|
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? |
Quote:
Code:
chdir('/home/username/public_html/forums'); |
Quote:
Change this line (towards the end of the file): Code:
$Data = str_replace('images/',"{$vbulletin->options[bburl]}/images/",$Data); Code:
// $Data = str_replace('images/',"{$vbulletin->options[bburl]}/images/",$Data); See my WIP here http://www.ejuan.com/index2.php Let e know and i'll do a write up. |
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 :p) 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 |
Comment out the following two lines:
Code:
$vbulletin =& new vB_Registry(); // Fake an OOP Object Code:
class vBulletinHook { function fetch_hook() { return false; } } Quote:
|
Quote:
Fatal error: vB_Database::Registry object is not an object in C:\dir\to\forums\includes\class_core.php on line 203 Matt |
Quote:
would it work if I insert the full url not the path, or what? |
Quote:
make sure you have global.php included or else it will not work. |
Quote:
Matt |
All times are GMT. The time now is 02:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|