Skip to content


Locking all forums in phpBB

I didn’t find a fast way to lock all forums in phpBB via the admin control panel (ACP), thus I messed a bit with the database, and soon found out that this query does the trick:

UPDATE [phpbb_]forums SET forum_status=1

Just make sure you replace [phpbb_] with the database prefix you chose.

To unlock, use:

UPDATE [phpbb_]forums SET forum_status=0

NB: this will unlock ALL forums, even those who were locked before you locked them all.

Posted in phpBB.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.

Sorry about the CAPTCHA that requires JS. If you really don't want to enable JS and still want to comment, you can send me your comment via e-mail and I'll post it for you.

Please solve the CAPTCHA below in order to fight spamWordPress CAPTCHA