Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2007
Posts: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
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,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
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: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 919 guests, and 149 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)