Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2007
Posts: 338
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 338
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 11: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,528
Likes: 76
Joined: Dec 2003
Posts: 6,528
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: 338
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 338
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
What is the meaning of tis circled exclamation mark?
by Baldeagle - 09/19/2023 8:41 PM
Permissions
by FREAK - 08/29/2023 3:51 PM
Image Captions Not Clearing
by Baldeagle - 10/09/2022 2:10 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (UBBSystems), 33 guests, and 182 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)