1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Recreate deleted user account

Discussion in 'XenForo Questions and Support' started by CyclingTribe, Jan 15, 2013.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    I've accidentally deleted a user account and tried to re-create it but am having problems.

    I created an entry in xf_user under the original user ID number and created the respective entries in the other related tables.

    I can search for and find the account in the ACP but when I try to edit and save it I get the following errors:
    • The requested user could not be found
    • User Name:
      usernames must be unique. The specified username is already in use.

    Could anyone advise on how I can get the user account working again please?

  2. James

    James Well-Known Member

    Is it possible that your cache still has the user data stored, thus not letting you save it?

    Have you tried re-building the caches?
  3. CyclingTribe

    CyclingTribe Well-Known Member

    Ah, no, didn't try that!!! - I'll give it a go later and report back. (y)

    Shaun :D
  4. CyclingTribe

    CyclingTribe Well-Known Member

    Unfortunately, no luck - still the same error when I try to save.

    Any other ideas or should I put a ticket in?

    Shaun :D
  5. Jon W

    Jon W Well-Known Member

    You'd be better off to put the member back using all of the proper datawriters. I'll write you an add-on...

    Are you able to undo the changes you made?
    Jake Bunce likes this.
  6. Jon W

    Jon W Well-Known Member

    Jake Bunce and CyclingTribe like this.
  7. CyclingTribe

    CyclingTribe Well-Known Member

  8. Jon W

    Jon W Well-Known Member

    It will alert them if they get any trophies after being undeleted, but no emails or anything.
    Jake Bunce likes this.
  9. CyclingTribe

    CyclingTribe Well-Known Member

    Great, thanks, I'll give it a go. (y)

Share This Page