1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Auto Lock 1.5

Auto lock threads in selected forums.

  1. AndyB
    Compatible XF Versions:
    • 1.2
    • 1.3
    • 1.4
    • 1.5

    Auto lock threads in selected forums. The Options page allows setting the age of the thread and the forums that will be effected.

    For example this add-on is very useful to automatically lock old threads in classified forums.

    (Example of Options page)


    • Runs automatically once a week using XenForo Cron.
    • Sticky threads will not be locked.


    The Days value determine when the thread will be locked. For example if the thread never gets any replies, it will be locked X days after the thread creation date. Otherwise the last reply date plus the Days determine when the thread will be locked.

    Include Forums

    Select Forums which are effected by this add-on.

    Prefix ID

    Allows optional prefix to be added to thread when it's locked.

    Cron entry:

    By default the Cron entry will run every Monday. This can be easily changed by adjusting the Cron entry located here:

    Admin CP -> Tools -> Cron Entries

    1. Download autolock_v1.5.zip and unzip it.
    2. Upload the Andy folder to your server. The correct location is library/Andy.
    3. From your Admin Control Panel, go to the "Install Add-on" page.
    4. Upload the addon-AutoLock_v1.5.xml file.
    5. Click the Install Add-on button.
    Sending a donation:

    If you like this add-on, please consider sending a small donation.


    Thank you.
    TIMAL, Jarod, semprot and 7 others like this.

Recent Updates

  1. See description
  2. See description
  3. See description

Recent Reviews

  1. PrettyPixels
    Version: 1.3
    Simple and easy to use. Works exactly as described. Thanks so much for providing this add-on to the community! :)
  2. PASS
    Version: 1.2
    Awesome and simple! Install easy. Great addons by AndyB. Thanks! Waiting for the next one! Thanks again.
  3. Big Dan
    Big Dan
    Version: 1.1
    Another great release from Andy. This guy makes some of the most simple yet useful addons for XenForo. They should pay him!

    Anyhow this addon works as advertised. I manually ran the cron after install and all targeted threads were locked.
  4. sampick69
    Version: 1.0
    Good Job :o