deleting all threads/posts from 2007 onwards

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davidallsop
    New Member
    • Oct 2005
    • 25

    deleting all threads/posts from 2007 onwards

    I need to delete all threads/posts created from the start of 2007 to present date, how do I do this? Ive been looking in prune threads but cannot find an option.

    Thanks,
  • Andy
    Senior Member
    • Jan 2002
    • 5886
    • 4.1.x

    #2
    There is no such option.

    Curious why you would want to do this? Normally you want to delete from a certain date and older threads.

    Comment

    • davidallsop
      New Member
      • Oct 2005
      • 25

      #3
      Because ive left the forum for over a year with no moderation and I have around 30,000+ spam posts through 2007-2008

      Comment

      • Andy
        Senior Member
        • Jan 2002
        • 5886
        • 4.1.x

        #4
        What you could do is create two scripts, the first one Opens all threads that have been Closed. The second script Closes all threads newer then Jan 1st 2007. Then use the Prune function to delete all the Closed threads.

        Comment

        • peterska2
          Senior Member
          • Oct 2003
          • 8869
          • 3.7.x

          #5
          Backup your database before doing this!

          AdminCP > Threads & Posts > Prune

          In the box Original post date is at most X days ago enter the number of days that you want to have pruned. 1 year is 365 days.

          Select All Forums from the first forum option and click the first prune threads button.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...