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
|