T

SQL Syntax to delete all thread replies older than X days, but leave the thread?

  • Thread starter Thread starter Tragyn
  • Start date Start date

Visitor Greeting

Welcome to NullWarehouse.com... We are currently seeking Mod's and Contributors. If you wish to apply for a Mod position then please click on Members dropdown arrow, then click on Staff App and fill it out completely and submit it. If you want to be a Contributor then start contributing and we will have our eye on you and take notice, something great could come of it.

  • We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
T

Tragyn

Guest

Years ago I had a script that I ran on a schedule that would delete all thread replies older than 6 months, but leave the thread itself intact. I figured it out by spinning up a second xenforo instance populated with the backup of my main forum, and went through quite a bit of trial and error until I got the result I was after.

I can't remember how I structured it, and I'm hoping someone knows an easy way to do it and could hopefully save me the time and resources of having to go through...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top Bottom