![]() |
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! |
All times are GMT. The time now is 10:59 AM. |
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:
|