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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 08:53 Go to next message
voids is currently offline  voids
Messages: 1
Registered: December 2007
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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] Thu, 13 December 2007 20:10 Go to previous message
Ilia is currently offline  Ilia   
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Thu Oct 19 14:24:55 EDT 2017

Total time taken to generate the page: 0.00592 seconds