Auto-lock topics extension for phpBB

Auto-lock Topics extension for phpBB.

Build Status Latest Stable Version Code Quality Translation Progress License

It will automatically lock old topics using phpBB’s cron functionality.


  • Run the auto-lock cron task only in the selected forums
  • Enable/disable announcements auto-lock
  • Enable/disable polls auto-lock
  • Enable/disable stickies auto-lock
  • Set the number of days of post inactivity to trigger the auto-lock
  • Set the frequency between auto-lock events
  • Support for Move Topics When Locked extension


Forums Forum settings Topics locked Admin log

(Click to view in full size)


  • PHP 7.1.3 or greater
  • phpBB 3.3 or greater


If you like or found my work useful and want to show some appretiation, you can consider donating.

PayPal - The safer, easier way to pay online!

Donate with PayPal


  • Go to your Administration Control Panel > Forums > Manage Forums
  • Select a category and then a forum
  • Click on the Edit button (green gear)
  • Scroll down to Auto-lock settings
  • Edit the settings as you like
  • Click on Submit


  • Download the latest release
  • Decompress the *.zip or *.tar.gz file
  • Copy the files and directories inside {PHPBB_ROOT}/ext/alfredoramos/autolocktopics/
  • Go to your Administration Control Panel > Customize > Manage extensions
  • Click on Enable and confirm


  • Go to your Administration Control Panel > Customize > Manage extensions
  • Click on Disable and confirm
  • Go back to Manage extensions > Auto-lock Topics > Delete data and confirm


  • Uninstall the extension
  • Delete all the files inside {PHPBB_ROOT}/ext/alfredoramos/autolocktopics/
  • Download the new version
  • Install the extension