Custom Add User

Description

This WordPress plugin provides completely customized experience for adding users with a single form for adding brand new users (single site or multisite installs) or existing users (in multisite). The users can be added without them requiring account activation (which is useful in private multisites where authentication is handled by third party systems such as Shibboleth/ LDAP). It also allows you to add custom instructions for adding users to your site.

Use cases

In a private multisite installation, you might often face three issues

  1. If user authentication is handled by external authentication systems such as LDAP or Shibboleth, you don’t want the new user to be ‘invited‘ to join your site or one of the sites in your network. Instead, you would like to send them a welcome email skipping the invitation part which requires them to click the link to activate their account. Since user authentication is not handled by WordPress, it doesn’t really make sense for WordPress to validate user activation.

  2. When a user (site admin) tries to add another user to a site, an invitation gets sent to the invited user. When that invitation expires, the invited user cannot be added to a site for a time period as their username is on hold, which creates a lot of frustration for both – the site admin trying to add people to their site and users trying to access the site after the invitation has expired. Also until the invited user has accepted the invitation, no other site admins can add the same user to a different site in the multisite network.

  3. When a site admin adds a user to a site, the new user is also added to the network users table. If any site admin tries to add a user to other sites, they have to know if the user already exists in any of the other sites in the network, for which they might not even have access because only super admins can see the list of all users in the network. If the user already exists in the network and they try to add this user using the 'Add New User' form instead of 'Add Existing User' form, they will get an error saying the user already exists and vice versa. This leads to a lot of confusion among site admins as they have no idea if the user they are trying to add is a brand new or an existing user in the multisite installation.

This plugin addresses all the above issues by –

  1. Skipping the invitation (activation link) email and automatically adding the user to the site instantly. A welcome email is sent as soon as site admin adds the user. (You can customize the text of Welcome email from network settings screen.)

  2. Hiding the ‘Add existing User’ form, so that site admins only see one form for adding users.

  3. Handling the ‘brand new user’ vs ‘existing user’ issue in the back-end after site admin submits the form. If the user doesn’t exist, the plugin will create a new user and add it to the site. If the user already exists, it will add the user to the site.

Screenshots

  • Single form for adding 'new' or 'existing' users with customizable instructions below the form.

Installation

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’
  2. Search for ‘Custom Add User’
  3. Activate or Network Activate (multisite) ‘Custom Add User’ from your Plugins page.

From WordPress.org

  1. Download ‘custom-add-new’.
  2. Upload the ‘custom-user-new’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate or Network Activate (multisite) Custom Add User from your Plugins page.

Installing a zip file

  1. Create a zip of custom-user-new directory.
  2. In the WordPress dashboard, navigate to the Plugins -> Add New page.
  3. Click Upload Plugin.
  4. Upload the zip file and click Install Now.
  5. Click on Activate or Network Activate (multisite).

Copying a Directory

  1. Copy the custom-user-new directory into your wp-content/plugins directory.
  2. In the WordPress Network Admin dashboard, navigate to the Plugins page
  3. Locate the menu item that reads “Custom New User Page”
  4. Click on Activate or Network Activate (multisite).

FAQ

How can I contribute?

Make Pull requests to github repository.

Reviews

Good but not full proof

This is a plugin with good concept but needs little improvement.

It has a problem as described here.

If above problem is rectified, this plugin will become superb.

Read all 0 reviews

Contributors & Developers

“Custom Add User” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Custom Add User” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.0.2

  • Fix – Adding an existing user should not throw out the errror “Sorry, username already exists.”

2.0.1

  • Bug fixes

2.0.0

  • Preparing for WordPress.org release
  • Removed bulk user import csv integration
  • Single site & multisite compatible
  • added custom css for hiding existing user form
  • Removed username override

1.0.1

  • Display Bulk User Import from CSV Form on Add User Page.

1.0.0

  • Merged Add new and existing user form.

0.1.6

  • Updated validate user function.

0.1.5

  • Cleaned up obsolete code.

0.1.4

  • Add existing user without confirmation.

0.1.3

  • Configurable error message.

0.1.2

  • Restricts usernames as email address in configurable list of domains.

0.1.1

  • Minimized custom code.

0.1.0

  • Network Settigns page.

0.0.1

  • Initial release.