Originally posted by SaN-DeeP
View Post
Announcement
Collapse
No announcement yet.
Change ownership of a thread
Collapse
X
-
Originally posted by Eagle Creek View PostHi!
Thread ID 500 is posted by Mario. But I want to change this to Erik.
Can I edit the mysql table THREADS, ID 12 and then put in the user ID and username of Erik in place?
Cause when I do this I don't see any changes. When I run the vB "update threads-tool" it's restored into the database to the old values (Mario).
Leave a comment:
-
Try these 2 queries...Code:UPDATE post SET username = 'Erik', userid = X WHERE postid = Y UPDATE thread SET postusername = 'Erik', postuserid = X WHERE threadid = 500
Leave a comment:
-
Aah, off course! That makes sense.
Thank you!
*stupid me*
If you really want to update it directly in the database
Leave a comment:
-
If you really want to update it directly in the database you'd have to update both the thread and the post table.
Leave a comment:
-
Change ownership of a thread
Hi!
Thread ID 500 is posted by Mario. But I want to change this to Erik.
Can I edit the mysql table THREADS, ID 12 and then put in the user ID and username of Erik in place?
Cause when I do this I don't see any changes. When I run the vB "update threads-tool" it's restored into the database to the old values (Mario).Tags: None
Related Topics
Collapse
-
by sudbury8Can some tell how to find the file to do this.Thanks
UPDATE user AS user
SET token = concat(MD5(concat(MD5('pass1234'), user.token)),' ', user.token), scheme = 'legacy'
WHERE userid...-
Channel: Support Issues & Questions
Tue 19 Aug '14, 7:23am -
Leave a comment: