Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2007
Posts: 388
Likes: 9
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 388
Likes: 9
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 8.0.37
Database Size 1.78 GB
Joined: Dec 2003
Posts: 6,596
Likes: 79
Joined: Dec 2003
Posts: 6,596
Likes: 79
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: 388
Likes: 9
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 388
Likes: 9
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 8.0.37
Database Size 1.78 GB

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
What happened to UBB Wiki
by Ruben - 07/20/2024 12:07 PM
External Islands
by ECNet - 07/18/2024 12:51 PM
Repeatable issue for file attachments
by Baldeagle - 07/14/2024 11:24 PM
I know this is not the right forum for this
by Baldeagle - 07/11/2024 9:54 PM
topic timestamp does IP lookup of poster?
by Ruben - 07/09/2024 11:36 AM
Who's Online Now
1 members (Ruben), 117 guests, and 360 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 20240506)