View Full Version : Functions.PHP: Variables for 3.7 Fix
Freesteyelz
01-11-2008, 12:24 PM
For vB versions 3.7+ you'll need to add a couple of variables for Notifications to function properly. Here's the fix:
In arcade/functions/functions.php find:
global $languagechooserbits, $spacer_open, $spacer_close, $vbulletin;
And replace it with:
global $languagechooserbits, $spacer_open, $spacer_close, $vbulletin, $notifications_menubits, $notifications_total;
:)
MrZeropage
01-13-2008, 12:46 PM
Thanks for that hint, will be integrated in v2.6.6+ :)
Freesteyelz
01-13-2008, 08:25 PM
Glad to help. :)
Mark.B
01-18-2008, 07:57 PM
I think you need $template_hook as well, that's for later versions of 3.6 as well as 3.7.
MrZeropage
01-18-2008, 08:01 PM
This is already there :)
Mark.B
01-18-2008, 08:05 PM
This is already there :)
Cool...I keep forgetting I'm behind by a couple of versions now. I'll be upgrading soon, it's just that my arcade is somewhat massively customized so it's a big job.
It's on the "to do" list....
--------------- Added 1200694133 at 1200694133 ---------------
Here are some others people might be interested in if they have the relevant modifications installed and notice the hacks don't work in the arcade. These can just be added into the same string as above.
$navbaravatar
For the avatar in navbar hack.
$welcomeheaders
For the welcome headers hack
$navbar_bottom
For Kerry-Anne's Bottom Navbar hack
$rcount, $pcount
For Paul M's New/Unread Posts & Reputation Since Last Visit hacks
$zointstags_searchform, $zointstags
For Zoints Thread Tags
$vbnews_ticker
For the vB News Ticker hack.
Hope these are useful for those who have the above hacks installed on their boards.
KURTZ
01-19-2008, 05:54 AM
just wondering, with 2.6.6 this fix is needed?
MrZeropage
01-19-2008, 06:06 AM
no, this is included in v2.6.6+ :)
Freesteyelz
01-19-2008, 07:14 AM
Errm...This thread should have been rated 5 stars. Sigh...
:D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.