Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2007
Posts: 346
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 346
Likes: 8
Is there a way to prune threads based on a date automatically? For example, we want to remove all threads in our Swap Meet forums when they are more than 30 days old. (There are ten forums in that section.) https://www.stovebolt.com/ubbthreads/ubbthreads.php/category/3/swap-meet.html

I did some research and came across doexpire.pl, doexpire.php, and doexpiretrhread.php, but none of those scripts exist in my install. Nor do I have a cron subdirectory. I looked in Downloads but didn't see them there either. I also looked on my hard drive, where I have several old copies of UBBThreads that have been downloaded over the years.

I know about Manage Threads, but that's not what I'm looking for. I also know about Pruning Actions, but that too is not what I'm looking for. I looked at Prune Threads, and that is what I'm looking for but it requires manual intervention.

What I want to do is set up something that will automatically remove any thread older than a set time frame (e.g. 30 days, 60 days, etc.) from all ten Swap Meet forums. I don't see that capability in the Control Panel.

Last edited by Baldeagle; 06/07/2023 10:20 PM.

The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Joined: Dec 2003
Posts: 6,538
Likes: 76
Joined: Dec 2003
Posts: 6,538
Likes: 76
the existing prune tool is as close as it gets


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Oct 2007
Posts: 346
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 346
Likes: 8
thumbsdown


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Email Send Out
by Outdoorking - 11/30/2023 12:36 AM
Server Move
by Outdoorking - 11/24/2023 4:39 AM
Third-party spam detected & Theme Issue
by ThreadsUser - 11/22/2023 11:31 AM
Google Third-Party Spam Warning
by Morgan - 11/22/2023 7:08 AM
How do I remove the news image dropdown box?
by ThreadsUser - 11/10/2023 7:50 AM
Who's Online Now
0 members (), 54 guests, and 197 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)