Topic: Automatically close old threads?
Is there a way to automatically close threads that are older than, say, a year? I have a few users who will accidentally post "that's cool" to a thread that's super old and it's mildly annoying
Thanks!
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 discussion → Automatically close old threads?
Is there a way to automatically close threads that are older than, say, a year? I have a few users who will accidentally post "that's cool" to a thread that's super old and it's mildly annoying
Thanks!
Hi MattF, thanks for your reply. You said "Cron job." Can you give me an example of how to use a cron job to accomplish this? I don't have any experience using cron jobs to enhance PunBB.
Cron just runs a specified command/script at a designated time/day. You need to create a script to check the posted time in the topics table and close the topic if it is older than your designated cutoff period. How you do it depends on what scripting language you prefer to use.
OK, thanks. I really don't do any scripting, so I guess I'll try to find somebody who can accomplish that. Thanks for your help.
PunBB Forums → PunBB 1.2 discussion → Automatically close old threads?
Powered by PunBB, supported by Informer Technologies, Inc.