The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
I Want To Transfer All Posts From One Account To Another
Ok, one of my users has a few accounts with posts on them. I want to delete the other accounts and make all of the posts that were made with them now bear his new name. His member ID's are:
44 377 379 The userID I want to transfer them to is: 49. What is the query I would need to run? I think there's two for each member ID. |
#2
|
||||
|
||||
[sql]UPDATE post SET userid=49 WHERE userid=44 OR userid=377 OR userid=379[/sql]
|
#3
|
||||
|
||||
Don't you have to run the same thing for table "thread"?
|
#4
|
||||
|
||||
yes, or you can update counters after you run my query...
because you have to upgrade counters for users postcount you can also update the thread informations |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|