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.