Customizing SMF > Modifications and Packages

Auto Purge Old Topics

(1/9) > >>

Spoogs:
Link to Mod

A companion to my Auto Lock Old Topics mod, this mod adds a Scheduled Task to check for topics that have not been replied to in a while, and automatically remove them. You can change it on a per-board setting, so different boards have different amounts of time if you like, and you can specify never to remove old posts. You can also have it optionally ignore or remove sticky topics.

Posts purged in this manner:

* Do NOT go to the recycle bin (thus you can use this to purge your recycle bin after 30 days, for example)
* Do NOT get removed from member post counts
All extra information attached to the old topics that haven't been replied to is also removed - polls, calendar entries, log of what has been read etc. so on forums that don't need to archive posts this would be an excellent way of keeping space managed.

This cannot be provided for 1.1.x.


Version history:

1.2 - November 1, 2009
Added compatibility for RC2.

1.1 - October 19, 2009
Minor bugfix regarding admin panel quick search

1.0 - September 25, 2009
Original release

imrich:
This seems very close to this post I made:

http://www.simplemachines.org/community/index.php?topic=337811.msg2269496#msg2269496

I'm hopefull I can use it, thanks!


Arantor:
Indeed that's what it's for :)

imrich:
Thanks! This seems perfect. For a future version, it would be nice to have the option to send posts to the 'recycle bin' for some boards.

Then use the ability to prune the recycle board too. :)

Thanks for this mod, it's sorely needed for SMF 2.

Arantor:
The idea of this mod is to purge old posts. I don't really want to get into the realms of putting it into the recycle bin on the basis that if it's 30 days old without a reply, all you're doing is moving it to the recycle bin for ANOTHER 30 days where it likely won't get a reply anyway, then you just purge it again.

Thus as I see it you just hold those topics around longer without any real benefit.

Navigation

[0] Message Index

[#] Next page

Go to full version