Announcement

Collapse
No announcement yet.

clear all PMs?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • clear all PMs?

    i have at one point used the MassPM addon to send a notice to all users, and some of them are so stupid they still reply to it not realizing it was literally over 1 year old. Is there a way to completely and safely delete all PMs at 1 time?

  • #2
    To delete all PMs, run these 5 queries:

    UPDATE `user` SET `pmtotal` = '0';
    UPDATE `user` SET `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.


    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X