BoredSkull.Net

BoredSkull Modifications => Official Releases => Topic started by: Deaks on Nov 24, 2026, 08:59 AM

Title: [Mod] Topic Timers
Post by: Deaks on Nov 24, 2026, 08:59 AM
Topic Timers v1.0.6
Close the competition, unpin the announcement or move the event topic when it's due.
By BoredSkull (https://boredskull.net/) for SMF 2.1.x
Free • ISC Licence



The competition closes at midnight. The announcement only needs to stay pinned until Friday. Once the weekend event is over, its discussion belongs in the archive. With Topic Timers, your moderation team can schedule each of those jobs while the topic is already in front of them.

Open a topic, select Topic Timer, choose an action and enter the time in UTC. The page shows the current server time alongside the scheduling controls. If plans change, authorised staff can review the timer and cancel it before it runs.



What's new in v1.0.6?




What can you schedule?


Know whether a timer has run

The timer history shows colour-coded statuses, overdue indicators and retry delays. Administrators can see the scheduled task's last logged execution and next scheduled check, with warnings if the task is missing, disabled or overdue. A direct link opens SMF's scheduled task management page.

Timing matters. Topic Timers uses SMF's native scheduler to check for due actions at one-minute intervals. The actual execution time depends on when SMF runs the task. On a quiet forum with a time-sensitive deadline, use a dedicated cron job to run scheduled tasks regularly.

Moderation permissions and retries




Installation and upgrades

Compatibility — SMF 2.1.x with MySQL or MariaDB. PostgreSQL is currently unsupported. PHP syntax was validated with PHP 8.4. Topic Timers has no external dependencies and requires no edits to SMF core files or theme templates.


Test on a staging forum before enabling scheduled removal on a live community.



Integration hooks for other mods

Topic Timers works as a standalone modification. Three hooks let companion mods respond when a timer is created, review it before execution or act after it runs.

integrate_btt_created($id_topic, $action, $execute_at)
integrate_btt_before_execute(&$timer, &$permit)
integrate_btt_executed($timer)

These hooks are available for future integrations with Scheduled Topics, Event Manager, Activity Stream, Community Insights and Community Digest.



Earlier releases




Support and feedback

If a timer doesn't run as expected, reply with the action you scheduled, its UTC time, the status shown in timer history and the task's last logged execution. Suggestions for moderation actions and companion mod integrations are welcome too.

Build your forum, your way!
BoredSkull.net (https://boredskull.net/)