View Full Version : Declaring an array globally
Is there any way to declar an array globally so that one does not have to add or edit multiple files?
for instance I want to keep the holidays to show in the upcoming events, to do this I need to add $phrasegroups = array('fronthelp', 'holiday');
holiday to the phrasegroup. I there a way to do this
I have VBadvanced installed, VB 3.7.4p1
Thanks
Dismounted
11-24-2008, 04:20 AM
You can change the $phrasegroup array before it is used in the hook init_startup.
You can change the $phrasegroup array before it is used in the hook init_startup.
OK, where would I find this? Sorry not a programmer
Dismounted
11-27-2008, 03:53 AM
Wait a sec, you say you want to add "holidays" to your upcoming events. Adding a phrasegroup will not automatically do that.
ReCom
11-27-2008, 04:26 AM
AdminCP > Calendars > Holiday Manager
Geez .. since you already paid 160 bucks for vBulletin you should at least explore all the cool features it offers before resorting to mods and hacks ...
AdminCP > Calendars > Holiday Manager
Geez .. since you already paid 160 bucks for vBulletin you should at least explore all the cool features it offers before resorting to mods and hacks ...
Sarcasm aside, Yes thank you for pointing that little cool, neato awesome feature out
an your the schnizit :up:
To answer the question for Dismounted
I also use VbAdvanced, the Module is not showing he added Holidays, thus the reason to add to the phrasegroups. Maybe this is best asked over at vbadvanced
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.