FaunaClassifieds - View Single Post - Notice: Deleting classified ads
View Single Post
Old 01-20-2020, 07:40 PM   #4
IslandLizards
Quote:
Originally Posted by WebSlave View Post
Heck that was posted over 14 years ago. Lots of things have changed since then around here.

I believe I might have even been using a different message board system back then, because as far as I can recall, vBulletin doesn't have the capability to automatically delete anything based on age. Especially limited to targeted forums. But heck, I've been wrong before.... Had it happen at least once just last year.
Two cron jobs can get it done.

1.
"Move all threads older than 180 days and the thread-prefix=SOLD from forum-id=xx to forum-id=yy"

2.
"Delete all threads in forum id=yy after 365 days"

Forum id=yy can be a new "archive" forum for all classified ads. Step 1 can also be skipped and the threads just removed.