![]() |
Once installed using the XML file above, edit the hook location in:
AdminCP > Plugins & Products > Plugin Manager > Auto-Prune Threads to use the cron_script_cleanup_hourly hook. Works fine in my 4.0.6 install. Edit - error caused by a space at the start of the above hook name in the XML - revised file attached. |
Quote:
Thank you very much trevor :up: |
thanks trevor. works great with 4.0.7 also
|
Thanks.
Works great with 4.0.8 also |
I've got a slightly modified version working in v4.1.0pl2 .
Based on Trevor's version https://vborg.vbsupport.ru/showpost....6&postcount=81 My mod is to NOT prune sticky threads ;) |
How are you avoiding stickies? I was looking at the simple code in this mod and I see:
PHP Code:
PHP Code:
|
I've installed this on my board which is 4.1.1 and it seems to be working, thanks so much!
|
Quote:
|
Works on 4.1.3
We also add this line Code:
AND sticky = 0 http://www.ausphotography.net.au/for...te_maintenance |
Would anyone have an idea on how I could make this check for deleted threads only and move them to a specific forum? After you've soft deleted many spam threads you might like to move them out of view to a specific forum for archiving instead of deleting.
Thanks! |
Works great on 4.2.0!
I tweaked it a bit so that it won't delete sticky threads, and it will only delete threads that have no replies. I've also got it running on the daily cleanup instead of the hourly. It's perfect for what I need, which is to clean out my RSS feeds forum every 7 days. Attached is my tweaked version, for anyone who might be interested:
|
All times are GMT. The time now is 04:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|