View Full Version : Mass PM delete
looking for something to clean up all the PMs on the forum. Is there currently a feature or a hack to do so for 3.0.X ?
If not, any thoughts?
akanevsky
12-20-2005, 06:10 PM
Just run the following queries:
TRUNCATE TABLE pm
TRUNCATE TABLE pmtext
baronvonwalz
12-20-2005, 06:13 PM
Yeah, because even if you make people delete their pm's, it still stays in the database.
Just run the following queries:
TRUNCATE TABLE pm
TRUNCATE TABLE pmtext
Thank you, works perfect.
Is there a way to truncate a specific users PMs?
Marco van Herwaarden
12-23-2005, 06:25 AM
Is there a way to truncate a specific users PMs?You can do this from the dropdown menu when viewing a user in your ACP.
stinger2
01-15-2006, 08:41 PM
Just run the following queries:
TRUNCATE TABLE pm
TRUNCATE TABLE pmtext
hi
you mean in
Admincp>Maintenance >Execute SQL Query
stinger2
01-20-2006, 09:49 PM
pump
peterska2
01-20-2006, 09:53 PM
Yes, you would do it there, or in phpmyadmin. Either is good.
stinger2
01-20-2006, 10:33 PM
thank you for the response
rgds
sorry again....just one more question
should i run these queries apart or as one
i mean
TRUNCATE TABLE pm
and hit run
then another query
TRUNCATE TABLE pmtext
or i paste both of them and excute as one as
TRUNCATE TABLE pm
TRUNCATE TABLE pmtext
??
stinger2
01-24-2006, 06:28 PM
UPDATE `user` SET `pmtotal` = '0',`pmunread` = '0';
TRUNCATE TABLE `pm`;
TRUNCATE TABLE `pmtext`;
TRUNCATE TABLE `pmreceipt`;
queries are run one query at a time
got this answer from vbulletin.com just in case any one is also interested in this subject
credits to Steve Machol
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.