I have a site and I have installed the read private message hack. Here is my question, I would like to empty ALL private message boxes on the site once a month. How can I do this? I can read them but can't delete them. This is very important to me as I like a clean ship. I asked member to do it but there are some that just can't follow rules.
How can I remove or empty all Private messages
Collapse
X
-
To delete all PMs, run these 4 queries:
UPDATE `user` SET `pmtotal` = '0',`pmunread` = '0';
TRUNCATE TABLE `pm`;
TRUNCATE TABLE `pmtext`;
TRUNCATE TABLE `pmreceipt`;
Of course, backup your database first.Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment