Announcement

Collapse
No announcement yet.

A way to mass delete all PM's?

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

  • A way to mass delete all PM's?

    Hi, I'm using vb 3.5.4 and was wondering if there was a way to delete all PM's from all users? Any help is appreciated. Thanks!

  • #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