vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Functions.PHP: Variables for 3.7 Fix (https://vborg.vbsupport.ru/showthread.php?t=167514)

Freesteyelz 01-11-2008 12:24 PM

Functions.PHP: Variables for 3.7 Fix
 
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:

Code:

global $languagechooserbits, $spacer_open, $spacer_close, $vbulletin;

And replace it with:

Code:

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

Quote:

Originally Posted by MrZeropage (Post 1423976)
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 [DATE]1200694133[/DATE] at [TIME]1200694133[/TIME] ---------------

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


All times are GMT. The time now is 03:00 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
  • Page Generation 0.02061 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete