The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
User Deleted by Mistake!
Hey I accendentaly Deleted a user, he lost his posts, not really those posts became Guets posts, is there a way I can bring back the user? without losing anything else? :cry:
|
#2
|
||||
|
||||
reCreate the user
then run this sql query: [sql] UPDATE post SET userid=x WHERE username='xyz' AND userid=0 [/sql] replace the x and xyz with the userid of the recreated user and the xyz with the exact old username he had. |
#3
|
||||
|
||||
Cool...
I never knew that! Satan |
#4
|
||||
|
||||
Hey it doesn't work, it brought the member back but he has 0 posts and 35 Threads, HOW IS THAT possible??
|
#5
|
||||
|
||||
The old username was mysticalsaiyan and the ID was 77 and the new username is MysticalSaiyanX with the ID 327, how can I give him all of his old posts and threads and everything back??
|
#6
|
|||
|
|||
UPDATE post SET userid=77 WHERE username='mysticalsaiyan' AND userid=327
|
#7
|
||||
|
||||
no anime, the userid 77 isnt there anymore, so it wouldn be very usefulle to change the posts to that id
the corect sql: UPDATE post SET userid=327 WHERE username='mysticalsaiyan' AND userid=0 then don't forget to update postcounter from your admincp |
#8
|
|||
|
|||
my bad, i forgot about that.
|
#9
|
||||
|
||||
how do I update postcounter from admincp? sry i am too dumb
|
#10
|
||||
|
||||
nevermind I found it, thnx anywayz!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|