How Do I Associate Old Posts with a Deleted User

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    How Do I Associate Old Posts with a Deleted User

    If you acccidentally delete a user but not their posts, you can register a new account for that user, then run this query to associate the old posts with the new account:

    UPDATE post SET userid='xxx' WHERE username='Old Name';

    ....with 'xxx' being the userid of the new account.

    Then update the thread and forum counters in that order:

    Admin CP -> Maintenance -> Update Counters
    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.
Working...