Forums

Signup Problems with re-using usernames that were deleted previously (6 posts)

  1. mkearl
    Member
    Posted 1 year ago #

    When I try to sign up with a username that has been deleted, it gives me the error, "That username is currently reserved but may be available in a couple of days."

    Is there some way to turn this off?

    Also if I try to signup with an email address from an old deleted account, it gives me the error, "That email address has already been used. Please check your inbox for an activation email. It will become available in a couple of days if you do nothing."

    After a couple days I can use them, but I am having hundreds of users signup on my blogs in Multisite and can't afford a couple days if they goof up during the registration process and want to signup again using the same username.

    Thanks ahead of time.

  2. Otto
    Tech Ninja
    Posted 1 year ago #

    No, there's no easy way to turn that off. It's fixed at 2 days.

    Basically that means that somebody signed up but didn't activate their user account. After two days of inactivation, the names become available again.

    The only way around this is to edit the core code.

  3. mkearl
    Member
    Posted 1 year ago #

    I would love to see a plugin to bypass that section of the code or something similar. I just can't understand that if someone fat fingers something, that they have to wait 2 days until it resets. Kinda lame.

  4. Otto
    Tech Ninja
    Posted 1 year ago #

    You could feasibly use the wpmu_validate_user_signup filter to do it. Basically you'd detect the user_email or user_name error, then do the delete of the bad user entry yourself. Look at ms-functions.php, around line 500.

  5. David Sader
    Member
    Posted 1 year ago #

    mkearl, I have a "User Activation Keys" "mu-plugin" that does exactly what you need:

    • delete unnecessary or unused activation keys to allow signup of the same username right away
    • approve user activation key for those users who "lost" their email or otherwise didn't complete activation

    Wait a day or two for wordpress.org to approve my page to host the plugin:

    http://wordpress.org/extend/plugins/user-activation-keys/

    or

    If, like me, you can't wait a "day or two" upload to "mu-plugins":

    http://pastebin.com/GisdPSgB

  6. markzero
    Member
    Posted 1 year ago #

    If anyone is still looking for solution, try deleting users from _signups (wp_signups) table

Topic Closed

This topic has been closed to new replies.

About this Topic