The Arcive of vBulletin Modifications Site. |
|
Auto Prune Threads Details »»
|
|||||||||||||||||||||||||
Description
----------- This hack gives you the ability to specify if you want to automatically have threads pruned from a x days after the last post. The amount of days can be set separately for each forum in forum manager. Files to modify: 1 Queries to run: 1 Difficulty ---------- Easy-Medium Compatibility ------------- I coded this snippet for RC3 quite a while ago, but it should work with all 3.x-Versions. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Could we have a little Show and Tell here?
|
|
#3
|
||||
|
||||
|
i've been looking for this for some time
great hack-- is there also a way to only delete threads that have not been replied to. i am using the RSS Bot mod to add posts from an RSS feed and i'd like to delete all the posts that have not been replied to after say 2 days and leave the ones that have had replies thanks
|
|
#4
|
||||
|
||||
|
> is there also a way to only delete threads that have not been replied to.
Pretty easy: In autoprune.php FIND PHP Code:
PHP Code:
Hmm ... there's not much to see, just a new input-box in forum manager. |
|
#5
|
||||
|
||||
|
thanks very much
|
|
#6
|
||||
|
||||
|
Attention. There was a typo in my last post. Of course it must be replycount = 0 instead of replycount > 0 (which would delete all threads that have replies and leave those which haven't).
|
|
#7
|
||||
|
||||
|
Its possible to add "auto prune" to each thread separately?
For ex: Im create thread "aaaaaaaaa" and set him auto-prune date - 5 days. Another user create thread "bbbbbbbb" and set him 30 days And another create "ccccccccc" but auto-prune is unset (0 days) - thread will be never deleted Such hack exist in phpBB and is veeeeeeeeery useful (especially for moderators) |
|
#8
|
||||
|
||||
|
got it, thanks
|
|
#9
|
|||
|
|||
|
Awsome hack.. Thanks!
|
|
#10
|
|||
|
|||
|
How would I go about just pruning posts by certain users?
Like MrBoz above, I want to pruno only RSS Feeds, but dont want to prune other users posts at the same time. So basically, can I enter a username(s) or user id(s) in this line somewhere? Quote:
Also, is there a way to make it run on all forums istead of having to specify it on each forum in the forum manager? Id like it to run Global if possible.. |
![]() |
|
|