![]() |
How to disable the forum from SQl query.
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. |
Okey, im using .htaccess file to make whole site 503 for the backup time, its even better than soft lock from the panel.
thanks |
i would use htaccess redirect.
put this in your .htaccess file Redirect 301 / http://www.your.com/somepage.html |
Turn off:
Code:
UPDATE datastore SET data = REPLACE(data, '"bbactive";i:1;', '"bbactive";i:0;') WHERE title = 'options'; Code:
UPDATE datastore SET data = REPLACE(data, '"bbactive";i:0;', '"bbactive";i:1;') WHERE title = 'options'; |
All times are GMT. The time now is 07:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|