JamesBrown Well-known member May 5, 2022 #1 A deleted user still has their old name. How can I change this? Thanks
Mr Lucky Well-known member May 5, 2022 #2 For posts you can use this query: Code: UPDATE `xf_post` SET `username` = REPLACE(`username`, 'Old', 'New') For name in quotes I use the post content find replace addon Code: QUOTES: with Post Content Find Replace addon Quick Find: Old Regular expression: /"Old,/i Replacement String: "New, Last edited: May 5, 2022 Upvote 0 Downvote
For posts you can use this query: Code: UPDATE `xf_post` SET `username` = REPLACE(`username`, 'Old', 'New') For name in quotes I use the post content find replace addon Code: QUOTES: with Post Content Find Replace addon Quick Find: Old Regular expression: /"Old,/i Replacement String: "New,
A and2 Member Aug 9, 2022 #3 Thanks for the solution @Mr Lucky - however, I wanted to check if there is a solution where I don't have to manually change the whole database? Any advice from XenForo Officials? Thanks Andreas Upvote 0 Downvote
Thanks for the solution @Mr Lucky - however, I wanted to check if there is a solution where I don't have to manually change the whole database? Any advice from XenForo Officials? Thanks Andreas