Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
I remember seeing a "common queries" threads somewhere around here, but I can't find it now. So, how can I mass delete threads based on age using an sql query?

Anonymous
Unregistered
Anonymous
Unregistered
Actually you can do that using the admin panel and prune.

--
UBBDesign.com:
Installation, upgrades, and custom layouts/themes for ubb.classic â„¢ & ubbthreads â„¢ Contact me

Anonymous
Unregistered
Anonymous
Unregistered
</font><blockquote><font size="1" face="">quote:</font><hr /><font size="" face="">Originally posted by J.C.:
Actually you can do that using the admin panel and prune.</font><hr /></blockquote><font size="" face="">True, but I don't want to wade through thousands of threads in the control panel and check each checkbox. This can be done with a query, right?

Anonymous
Unregistered
Anonymous
Unregistered
No, it can't be done with a query. Several database tables are affected, so it requires scripting.

-----
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

[This message was edited by Dave_L on September 19, 2003 at 05:32 AM.]

Joined: Jun 2006
Posts: 1
C
stranger
stranger
C Offline
Joined: Jun 2006
Posts: 1
I know this topic is pretty old, but I'm wondering if anyone has built anything to do this?

Our situation: we currently run classic, but are looking at moving to threads pretty soon. We have an OT forum (our site is a music/recording site), but it frequently gets clogged up with political and religious posts. We're considering creating a separate forum for that, but would like to purge it weekly (deleting posts where last-reply > 1 week ago).

In classic, we have to take the board down to do this.

Just wondering if the tables to be deleted from have been identified, and if this is a feasible solution.

Thanks!

Chris Skelnik
vsplanet.com


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 (), 686 guests, and 131 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)