The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi. Is there way to turn my forum off without manually having to go into the Adminintrator Control Panel and turn it off in the settings? Is it possible to turn off a vBulletin forum by using the Data Manager? Thanks.
|
|
#2
|
|||
|
|||
|
You'd have to run a query to edit the settings table and set the board inactive.
Then rebuild the options datastore. (build_options() - adminfunctions.php) |
|
#3
|
|||
|
|||
|
Thanks. I looked in the code and can see how that is done.
|
|
#4
|
|||
|
|||
|
Simply including the adminfunctions.php file and calling build_options() doesn't work, I presume because special variables and database connections aren't available.
Can anyone offer any other suggestions? |
|
#5
|
||||
|
||||
|
Include the global.php from the admincp directory, then include adminfunctions.php
.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|