The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
i got this code for adding online.php to non-vB pages but the problem is when you close the forum the included calls to this file online.php result in gibberish... can someone help add some code into the file below so that when i close the forum it gives a 'forum undergoing maintenance' message instead ?
PHP Code:
|
#2
|
|||
|
|||
Its becase vBulletin checks to see if the board is closed in the global.php file, and as i don't think you want to edit global.php, as its always in use.
try this script, it connects to the database and checks the bbactive variable itself not letting the global file load the variables. Tested this on my forums worked fine. PHP Code:
|
#3
|
||||
|
||||
thanks will be testing it out today
|
#4
|
||||
|
||||
perfect mate!
|
#5
|
|||
|
|||
any one got anything like this that works in 3.5.0 and ^
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|