Previous Thread
Next Thread
Print Thread
Hop To
Clean up PM data tables?
#229500 09/27/2009 10:52 AM
Joined: Aug 2006
Posts: 583
Basil Offline OP
old hand
OP Offline
old hand
Joined: Aug 2006
Posts: 583
If there is a PM with, say 3 or 4 participants, is there a way to completely remove the topic once ALL participants have removed themselves? It seems (I could be wrong) that when you remove yourself from a PM, there is an entry in the database saying so. What I was hoping is there might be a script someone has that you can run so that if a topic has NO more participants, that topic and all references to it can be deleted from the database.


Re: Clean up PM data tables?
Basil #229505 09/27/2009 3:42 PM
Joined: Jun 2006
Posts: 15,938
Likes: 27
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,938
Likes: 27
I'm pretty sure that it'll only remain there as long as at least 1 person involved in it is still in it... Once the last person removes themselves it should trigger it to be deleted.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, I Find Rocks, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
[NOTABUG] Report Post bug..
by Morgan - 07/05/2020 1:48 PM
Trial Subscription question.
by Ruben - 07/03/2020 2:34 PM
Unread posts no longer tracked per user...
by KirkW - 06/16/2020 12:21 AM
Max Image file size upload
by jjjjj - 06/10/2020 10:25 PM
Error on Inert into POSTS
by jjjjj - 06/07/2020 8:09 PM
Who's Online Now
0 members (), 77 guests, and 48 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4