The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello,
I have a simple sh script for making nightly db dumps, but db is still growing and it takes some time. So i would like to disable the forum before backup and enable it after, how can make it from sql? Or which .php file in vb4 dir i need to check for more information. Thank you. |
|
#2
|
|||
|
|||
|
Okey, im using .htaccess file to make whole site 503 for the backup time, its even better than soft lock from the panel.
thanks |
|
#3
|
|||
|
|||
|
i would use htaccess redirect.
put this in your .htaccess file Redirect 301 / http://www.your.com/somepage.html |
|
#4
|
|||
|
|||
|
Turn off:
Code:
UPDATE datastore SET data = REPLACE(data, '"bbactive";i:1;', '"bbactive";i:0;') WHERE title = 'options'; UPDATE setting SET value=0 WHERE varname='bbactive'; Code:
UPDATE datastore SET data = REPLACE(data, '"bbactive";i:0;', '"bbactive";i:1;') WHERE title = 'options'; UPDATE setting SET value=1 WHERE varname='bbactive'; |
| Благодарность от: | ||
| tbworld | ||
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|