ForumCrafts — plugins, themes, extensions, add-ons & tools for real boards — tools for real boardsDownloads & licences →

AutoClose Plugin for MyBB

MYBB PLUGIN free
Not rated yet Be the first

Nightly, it locks the threads that have gone quiet — so your old forums stop collecting replies to 2019.

Long-running boards accumulate forums where the conversation ended years ago. AutoClose gives those threads a dignified close, on a schedule, without anyone remembering to do it.

What it gives you:

• A real MyBB scheduled task, visible in Admin CP → Tools → Task Manager, running nightly at 03:00.
• Three settings: master switch, idle threshold in days (default 30) and a comma-separated forum list (empty means every forum).
• Moved-redirect shadows and hidden or unapproved threads are never touched — a belt-and-braces string comparison, because MySQL's number coercion would happily match redirects otherwise.
• A hard cap of 100 locks per run, with the count written to the MyBB task log so you can see exactly what happened.
• Non-destructive: these are ordinary locks, so a moderator can reopen any thread at any time.

This is the 2.0 line, rebuilt as a versioned release from the deployed source; the original 1.x/1.1 archive was not recoverable.

What's included

  • Real MyBB scheduled task at 03:00, visible in Task Manager
  • Idle threshold in days, default 30
  • Optional forum list; empty means all forums
  • Redirect shadows and hidden/unapproved threads are never touched
  • Hard cap of 100 locks per run, counted into the task log
  • Ordinary locks only — any moderator can reopen a thread
  • Uninstall re-opens nothing

At a glance

PlatformMyBB plugin
Latest versionv2.0.0
Download size17.8 KB
Released25 Oct 2026
Downloads0
AccessFree — sign in to download
CompatibilityMyBB 1.8.40 tested
PHP8.1+ intended, runtime tested on 8.4.27
DatabaseMySQL / MariaDB
Requiresworking MyBB tasks (traffic or a cron on task.php)
LicenceGPL-3.0-or-later
Tasksone nightly at 03:00

Requirements

  • MyBB 1.8.40 is the tested target.
  • PHP 8.1 or newer (runtime tested on 8.4.27).
  • MyBB's task system running — either normal board traffic or a server cron hitting task.php.
  • The forums you want swept, and an idle threshold you are comfortable with.

Checksum

Verify your download before you upload it to your board.

8d34507ab8e0da9dc829e3bfa511be243f7b2d03051bd753d54f090240b0ed25

Install it

1. Back up your files and database first.
2. Upload the inc/ folder from the archive into your MyBB root, keeping the paths.
3. Admin CP → Configuration → Plugins → Install & Activate — this enables the task.
4. Admin CP → Configuration → Settings → DF AutoClose: enable, idle days, forum id list.

Questions people ask

Will it close a thread that is exactly on the boundary?

A thread sitting exactly at midnight on the threshold is caught on the following run, which is the safe side.

Does it touch moved threads or redirects?

No. Redirect shadows and hidden or unapproved threads are excluded by an explicit string comparison.

Can I undo a lock?

Yes — these are ordinary locks. Any moderator can reopen a thread, and uninstalling does not reopen anything by itself.

All releases

VersionReleasedSizeDownloadsChangelog
v2.0.0 latest 25 Oct 2026 17.8 KB 0 # 2.0.0 — 22 October 2026

New versioned replacement; the 1.0/1.1 archive was not recovered.

- Registers a real MyBB scheduled task (visible under ACP → Tools → Task Manager) running nightly at 03:00.
- Three settings: master switch, idle-days threshold (default 30), comma forum ids (empty = all forums).
- Moved-redirect shadows and hidden/unapproved threads are NEVER touched (belt-and-braces string comparison — MySQL’s number-coercion would happily match redirects otherwise).
- Hard cap of 100 locks per run; every run writes its lock count to the MyBB task log.
- Non-destructive: locks are ordinary locks — a moderator can re-open any thread at any time, and uninstall re-opens nothing.

Ratings & reviews

No ratings yet — the first one will be real, not seeded

More MyBB plugins

All MyBB plugins