User Activation Keys

Ever signup a user account, delete it, and try to signup up the same username again?

Ever try to support a new user who created a username, but entered the wrong email address and so can’t activate, and can’t signup with the same username?

Ever wanted to signup a bunch of users with phony emails so users without email could start blogging right away?

I have, so I made a plugin to help me.

WP Network Multisite “mu-plugin” for user activation key removal or approval.

See Network–>Users–>”User Activation Keys” to delete activation keys – to allow immediate (re)signup of users who otherwise get the “try again in two days” message.

Also, users waiting to be activated (or can’t because the email with the generated activation link is “gone”) can be approved manually.

Download

Latest version: Download User Activation Keys v3.5.2 [zip]
User Activation Keys at WordPress Plugin Repository

Installation

This section describes how to install the plugin and get it working.

  1. Upload ds_wp3_user_activation_keys.php to the /wp-content/mu-plugins/ directory
  2. Delete or approve keys at Network–>Users–>”User Activation Keys” page
  1. user-activation-keys screenshot 1

    Network Admin->Users->”User Activation Keys” page

Changelog

3.5.2

  • Tested up to: WP 3.9.2, removed batch delete, improved deleting an individual user key, typo fixes.

18 Responses to User Activation Keys

  1. Pingback: New #BuddyPress Pending Activations Plugin | the rich! ramblings

  2. Phyllis Erck says:

    Thank you so much for writing this plugin. I’ve been struggling with problems with user activations for months. Hopefully, I can get this working and save me and my users a lot of headaches.

    I installed and activated “User Activation Keys” plugin then:

    1. Upload ds_wp3_user_activation_keys.php to the /wp-content/mu-plugins/ directory
    2. Delete or approve keys at SuperAdmin->”User Activation Keys” page

    and got:
    Fatal error: Cannot redeclare ds_uak_admin_page() (previously declared in /home/content/p/h/y/phylliserck/html/wp-content/mu-plugins/ds_wp3_user_activation_keys.php:25) in /home/content/p/h/y/phylliserck/html/wp-content/plugins/user-activation-keys/ds_wp3_user_activation_keys.php on line 28

    What did I do wrong?

    I have taken ds_wp3_user_activation_keys.php back out of /wp-content/mu-plugins/ directory for now to get my site back up and running for class tomorrow morning.

    Thanks in advance for any help you can offer.
    -Phyllis

    • dsader says:

      Your error says that you have the plugin installed in two places, the mu-plugins and the normal plugins folder. Remove the plugin from the plugins folder and keep only one version of it in the mu-plugins folder.

  3. Rod says:

    Hi Dsader — nice job on this plug-in!

    It looks great — I can delete keys, but the activate key function gets the activation URL wrong. It adds /wp-admin:

    /wp-admin/wp-activate.php?key=1594677a30a464a2

    Has anyone else seen this? Is there a fix?

  4. mitan says:

    I am a Japanese and do not understand English well…

    http://wordpress.org/extend/plugins/menus/

    ds_wp3_menus.php

    Maybe

    users-new.php > user-new.php ?

    Thank you for the wonderful plug-in !

  5. dhwebOfficer says:

    Hi Dsader — excellent job on this well thought through plug-in!

    It’s simple, network friendly on the multi-site, the User Activation Keys screen is located in the Network Admin section away from devolved editors, easy to use and it gets rid of that “try again in two days” message!!

    Totally love the plug-in alot…

  6. nin says:

    Can anyone verify this working with WP 3.5 and BP 1.6? Maybe I am doing something wrong.

  7. Hi David,

    I’m the creative adviser for Humber College’s newspaper and I also help with some of the departments websites. I’m unable to activate your User Activation Key plugin for one of our sites and I would really appreciate your assistance. It is for a sub-site of humberjournalism.com, which is where we upload plugins and activate them in the individual child sites. However, even though I did a Network activate, it still doesn’t show up on the other site where I’d like to use it – humberjournalism.com/onlinejournalismintro. Please let me know if there’s another way or that the plugin is only designed to work on the main site. Thanks for your time!

    Miguel Agawin

    • dsader says:

      Miguel,

      This plugin only works with a Multisite Network activated version of WordPress 3.5+.

      Use the Network Admin->Plugins, NOT the usual Site->Plugins to activate. This plugin will manage keys for Network users, not site users.

      The menu page is added to the Network Admin->Users page Not the Site->Users.

  8. Precious says:

    OMG! Thank you soo much, I’ve been searching for this solution for more than one hour. Thank you so much for sharing. You are such a life saver.

  9. damien Chan says:

    Hi dsader
    I had successfully set up the multisite network and install activate the User Activation Keys!

    But I test it many times Not working on Register New User, no activation email ?

    And after setup and activate mu-plugin, but nothing inside this section?

    what’s wrong with this?

    WordPress 3.8 and User Activation Keys 3.5.1

    • dsader says:

      Register a few users normally without the plugin installed. The plugin does not interfere with the activation email, if you get no email – something else is wrong. The plugin activates users without email. After the plugin is active, the admin page for it is a subpage of your /wp-admin/network/users.php.

  10. damien Chan says:

    Hi David
    Testing this without using the User Activation Keys plugin for test new user, but the answer is No, still dont have any email sent out!
    I make a test of wp_mail() by using check email plugin, it works OK.
    I make a test of wordpress@mysample.com by adding new user manually, it works OK.
    I make a test of wordpress@mysample.com by adding lost password request, it works OK
    Would you adv me where is going wrong?

    Would you please tell me how to configure the setting of mu-plugin, I dont know how to set up correctly?

    thanks of your help!

  11. damien Chan says:

    Thanks of you information!

    Well noted with thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>