![]() |
Reassigning Posts to UserID's ?
Hello :)
Is it possible to reassign posts to an UserID ? It's if you prune a user via Admin Panel, looking in the DB all PM's, Posts and Threads still seem to be there with the corresponding UserID so if I register a new User and change the ID I thought that this new User maybe "owns" the corresponding content though it doesn't work as expected. :( The UserID itself matches, still Posts / Threads and so on don't still belong to this ID. Maybe there's another way of getting this work - any help is really welcome |
When you delete a user, the userid in the post table is set to zero.
What exactly are you trying to do ? |
Yes about the UserID in the posts table. What I am trying to do is that the username are still present and I still have the name = ID table that I can assign ID's to usernames. So I wanted to give a specific ID the posts & threads back.
|
update post set userid = 123 where username = 'membername'
I think is what your after (change 123 and membername as required). Im not sure how good an idea this is tho. |
Yup - wanted to add this Query but during the EDIT I got a timeout. :)
|
All times are GMT. The time now is 05:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|