FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Pruning of posts with less than 'x' replies (Similar to pruning of 'old' posts)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Pruning of posts with less than 'x' replies [message #39846] Thu, 13 December 2007 13:53 Go to next message
voids is currently offline  voids
Messages: 1
Registered: December 2007
Karma: 0
Junior Member
I would like to prune out all posts with less than 'x' replies, that are also old than 'y' days.
This is very similar to the TOPIC PRUNING function.
Can someone please help with a patch the admprune.php file, or supply an SQL string to do the above.
I basically have got a large numbers of single posts (with no reply - and would like to prune them out, but keep all genuine information for historical searching.
Cheers,
Jason
Re: Pruning of posts with less than 'x' replies [message #39855 is a reply to message #39846] Fri, 14 December 2007 01:10 Go to previous message
Ilia is currently offline  Ilia   
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Basically you need to modify the query that goes looking for topics to prune to check replies count value inside the fud26_thread table.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Putting FUDForum and webserver onto CD (for Windows and Mac!)?
Next Topic: Display "Topic Description" op topic page
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 14:55:53 GMT 2024

Total time taken to generate the page: 0.02662 seconds