kankan Well-known member Feb 16, 2015 #1 Hello I have deleted a user on our forum. (XF 1.1.3) But his name (not active) still appears on postbit. Please can you tell me which SQL request to parse in order to replace his name by another ? Thank you for your support.
Hello I have deleted a user on our forum. (XF 1.1.3) But his name (not active) still appears on postbit. Please can you tell me which SQL request to parse in order to replace his name by another ? Thank you for your support.
Jake Bunce Well-known member Feb 16, 2015 #2 Rich (BB code): UPDATE xf_post SET username = 'new username' WHERE username = 'old username' AND user_id = 0; UPDATE xf_thread SET username = 'new username' WHERE username = 'old username' AND user_id = 0; Upvote 0 Downvote
Rich (BB code): UPDATE xf_post SET username = 'new username' WHERE username = 'old username' AND user_id = 0; UPDATE xf_thread SET username = 'new username' WHERE username = 'old username' AND user_id = 0;
kankan Well-known member Feb 17, 2015 #4 Re jake working but had to remove AND user_id=0; Upvote 0 Downvote
kankan Well-known member Feb 17, 2015 #5 But the name on the Postbit under Avatar remains don't know how to remove it. Upvote 0 Downvote