Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2002
Posts: 6
Lurker
Lurker
Offline
Joined: Aug 2002
Posts: 6
I need to drastically prune my forums, but want to preserve the posts. They do not have to be accessible via a database. A flat text file (or files) will do.

Any recommendations? Does software exist to do this or am I going to have to create it?

Chuck

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
well first off backup your database that way you have a copy of it I recommend using phpMyAdmin for that secondly there is no real easy way to "prune" you can set up a sql query to delete old threads say past a Unix Time since they are stored in Unix Time but you would have to delete all polls, all posts, and hope no threads newer link to them. it's not an easy task.

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
I made a copy of doexpire and changed it so that it moves all threads that have been inactive for over a year into an Archive forum. I have it run every night and it keeps things fresh and clean.

Would this be something that you're looking for?

Joined: Aug 2002
Posts: 6
Lurker
Lurker
Offline
Joined: Aug 2002
Posts: 6
If I understand what you are saying, the expired threads are moved to an archive forum, in a separate set of database tables. Is this correct? Or are they just moved to an archive forum in the same set of database tables. The former would be useful. The latter would not (in this case.)

Does the UBBThread license permit the creation of two separate set of forums?

Chuck

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
One for Production and One for Testing Yes

Sponsored Links
Joined: Feb 2002
Posts: 295
Member
Member
Offline
Joined: Feb 2002
Posts: 295
Hi,

"Would this be something that you're looking for?"
I certainly wouldn't mind a copy of that.

Sanuk!

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,080
Joined: March 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 3418
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 25
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)