The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Mass Prune Threads By Last VIEWED Date
Hello,
I was just starting to do some mass pruning, but had some concerns. (My database is up to 2.6 GIGS.) I was deleting some threads, but noticed that there were some GOOD threads being deleted! They were old, but had some really good information on bodybuilding and nutrition. I believe these posts are a good resource for future users and I would love to leave them there for when people search on certain subjects... So there may not have been any new POSTS in a thread for over 6 months, but there may have been a lot of people VIEWING the posts and getting the information from them. Is there a way to delete threads where they have not been VIEWED for over X days? What about a way to delete threads where that are over X days old that have had ZERO replies? There a lot of useless threads like that which can be deleted real quick. You know the kind of thread... On a side note, I am deleted posts mainly because our search is starting to SLOW down. How much more would it slow down if I change it from 4 letter minimum to 3 letter minimum? There a lot of product and workout names that are three letters only and it really makes it tough to search for them... (like ZMA, HIT, SAN...) Thanks a ton for your help! I hope there is a way to do what I asked above and if not, hopefully there will be in the near future. PARTY ON! Ryan DeLuca Bodybuilding.com |
#2
|
||||
|
||||
no, it is not possible to delete thread that have not been viewed since x days, because the date of last viewing is not saved into the table...
it would require hacking of showthread.php and changes to the db... also it would just work with new threads. threads which are not viewed till your next pruning day would become deleted, because the lastview date is too old... question two: that would be possible, with not to much work: open thread.php find PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|