The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I would like a query that I can run that will shutdown my Forums and one the re-enable them.
I have a backup script that runs and I would like to be able to Code:
#!/usr/local/bin/php <? //shutdown forums // run my backup // enable forums ?> |
#2
|
|||
|
|||
![]()
How do you mean shutdown?
Just setting it to Offline, or..? |
#3
|
||||
|
||||
![]() Quote:
|
#4
|
|||
|
|||
![]()
Ok.
Do you want the script itself to make the backup, or do you have a script which already does this? |
#5
|
||||
|
||||
![]() Quote:
I already have a script to the do backup. Something like this: PHP Code:
|
#6
|
|||
|
|||
![]()
Query to turn off:
PHP Code:
PHP Code:
![]() |
#7
|
||||
|
||||
![]()
It is also stored in Table:'datastore' Field:'options'
|
#8
|
|||
|
|||
![]()
Hmmm, I see.
Have you tested my code, though? |
#9
|
||||
|
||||
![]()
I will when I get home from work. Thanks. I will let you know.
|
#10
|
|||
|
|||
![]()
Ok, no problem.
If that doesn't work, I'll take a look at the datastore. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|