bushcraft Tone
Member
At 13:36 yesterday i some how deleted a member of 7 years with about 700 posts, no idea how i did it without realising.
Today we closed the forums down and tried the process in this thread
You can try to assign back all the posts and threads that that particular user made with these queries:
For posts
Code:
UPDATE xf_post SET user_id = x WHERE username ='oldusername';
For threads
Code:
UPDATE xf_thread SET user_id = x WHERE username ='oldusername';
And replace x with that member new id and oldusername with their old username
Then you might need to run the Rebuild Caches option at your acp. Hope it helps.
That didn't seem to work so we tried a few other DB edits but we ended up restoring the forums to before we started messing about.
Has anyone else got any suggestions on how we can restore this user or is it loose 36 hours of forum posts and restore from the last backup
Today we closed the forums down and tried the process in this thread
You can try to assign back all the posts and threads that that particular user made with these queries:
For posts
Code:
UPDATE xf_post SET user_id = x WHERE username ='oldusername';
For threads
Code:
UPDATE xf_thread SET user_id = x WHERE username ='oldusername';
And replace x with that member new id and oldusername with their old username
Then you might need to run the Rebuild Caches option at your acp. Hope it helps.
That didn't seem to work so we tried a few other DB edits but we ended up restoring the forums to before we started messing about.
Has anyone else got any suggestions on how we can restore this user or is it loose 36 hours of forum posts and restore from the last backup