IceBurn3000
06-24-2006, 08:07 AM
One of my Administrators had a lovers tiff with one of my active members and deleted their account.
Using phpMyAdmin, I have successfully restored this user's account, but obviously, all her threads are no longer linked to her account.
Is there an SQL Query I can run on the "user" table to find all posts by the username (lets say its "user101") which is still stored in the "username" column and change the "userid" from 0 (which i assume vBulletin does when an account is deleted) to 9 ?
Just on a side note the "userid" and "username" in the "threads" table still show the correct info, so she still has threads attached to her username, just no posts.
Thanks in advance,
Using phpMyAdmin, I have successfully restored this user's account, but obviously, all her threads are no longer linked to her account.
Is there an SQL Query I can run on the "user" table to find all posts by the username (lets say its "user101") which is still stored in the "username" column and change the "userid" from 0 (which i assume vBulletin does when an account is deleted) to 9 ?
Just on a side note the "userid" and "username" in the "threads" table still show the correct info, so she still has threads attached to her username, just no posts.
Thanks in advance,