Allow Multiple Accounts

Allow Multiple Accounts

Allow multiple user accounts to be created, registered, and updated having the same email address.
Rating:
5.0
star-rating-1star-rating-2star-rating-3star-rating-4star-rating-5
Active Installations:
10000+
Last Updated:
Nov 28, 2017
WordPress Version:
3.6 or higher
Tested up to:
4.2.38

Multiple Accounts Allowed

Create and manage multiple user accounts with the same email address.

By using this plugin, you can bypass the default restriction in WordPress that only allows one user account per email address. This allows for more flexibility and convenience in managing user accounts.

Customizable Account Limit

Set a limit on the number of accounts that can be created with the same email address.

3.0.4 (2015-07-14)

  • Change: Don’t attempt to remap (even if only briefly) the email address for user updates when the email address hasn’t been changed

3.0.3 (2015-07-09)

  • Bugfix: Hook ‘profile_update’ and ‘user_register’ at higher priority to avoid conflicting with other plugins (e.g. MailPoet, MailPress)
  • Update: Hook ‘pre_user_email’ and ‘pre_user_login’ at lower priority to avoid potentially conflicting with other plugins
  • Update: Remap user email more precisely using user ID instead of email (though no problems noted with the old approach)

3.0.2 (2015-04-16)

  • Bugfix: compatibility fix for versions of WP older than 4.1; $error->remove() was introduced in 4.1
  • Update: Note compatibility through WP 4.2+

3.0.1 (2015-04-10)

  • Bugfix: add omitted code to count_multiple_accounts() to account for $user_id arg potentially being an object

3.0 (2015-03-26)

  • Reimplement necessary workaround to WP’s shortcoming in facilitating repeated use of email addresses
  • Fix outdated error handling
  • Fix has_exceeded_limit() to account for ‘account_limit’ not being set and ‘allow_for_everyone’ being false
  • Fix has_exceeded_limit() to account for ‘account_limit’ not being set and ‘allow_for_everyone’ being true
  • Omit listing email addresses associated with only 1 account on the settings page “Email Addresses with Multiple User Accounts” listing
  • Add new hack functions: hack_pre_user_login(), hack_pre_user_login(), hack_restore_remapped_email_address()
  • Remove long deprecated functions: count_multiple_accounts(), get_users_by_email(), has_multiple_accounts()
  • Remove no longer needed hack functions:
    • get_user_by_email()
    • get_user_by()
    • display_activation_notice()
    • hack_check_passwords()
    • hack_pre_user_display_name()
  • Remove no longer needed hack class variables: during_user_creation, controls_get_user_by
  • Add new hack class variables: hack_user, hack_remapped_emails
  • Indent user listings in table on settings page to indicate they are being listed according to email address
  • Update plugin framework to 039
  • Change default input type for ‘account_limit’ setting from ‘text’ to ‘int’
  • Better singleton implementation:
    • Add get_instance() static method for returning/creating singleton instance
    • Make static variable ‘instance’ private
    • Make constructor protected
    • Make class final
    • Additional related changes in plugin framework (protected constructor, erroring __clone() and __wakeup())
  • Add unit tests
  • Explicitly declare activation() and uninstall() static
  • Add checks to prevent execution of code if file is directly accessed
  • Change use of “e-mail” to “email”
  • Re-license as GPLv2 or later (from X11)
  • Reformat plugin header
  • Add ‘License’ and ‘License URI’ header tags to readme.txt and plugin file
  • Use explicit path for require_once()
  • Discontinue use of PHP4-style constructor
  • Discontinue use of explicit pass-by-reference for objects
  • Remove ending PHP close tag
  • Documentation improvements (inline and readme)
  • Minor code reformatting (spacing, bracing)
  • Change documentation links to wp.org to be https
  • Note compatibility through WP 4.1+
  • Drop compatibility with version of WP older than 3.6
  • Update copyright date (2015)
  • Regenerate .pot
  • Change donate link
  • Add assets directory to plugin repository checkout
  • Update screenshots
  • Add third screenshot
  • Move screenshots into repo’s assets directory
  • Add banner
  • Add icon

2.6.2

  • Fix for WP 3.2.x to prevent warning notice unnecessarily appearing in admin

2.6.1

  • Fix for WP 3.2.x (need to override get_user_by_email() again instead of get_user_by() – but just for WP < 3.3)

2.6

  • Add/fix multisite support
  • Remove get_user_by_email() override function
  • Override get_user_by() to circumvent check for email existence
  • Show admin notice if unable to override get_user_by()
  • Update plugin framework to 033
  • Remove support for ‘c2c_allow_multiple_accounts’ global
  • Note compatibility through WP 3.3+
  • Change parent constructor invocation
  • Create ‘lang’ subdirectory and move .pot file into it
  • Regenerate .pot
  • Add more FAQs
  • Minor phpDoc reformatting
  • Add ‘Domain Path’ directive to top of main plugin file
  • Add link to plugin directory page to readme.txt
  • Tweak installation instructions in readme.txt
  • Update screenshots for WP 3.3
  • Update copyright date (2012)

2.5

  • Fix user listing error by adapting older user_row() into class function
  • Add support for BuddyPress
  • Add bp_members_validate_user_signup()
  • Fix has_exceeded_limit() to account for the account_limit applying to certain emails and not everyone
  • Fix to properly register activation and uninstall hooks
  • Add filters ‘c2c_count_multiple_accounts’, ‘c2c_get_users_by_email’, and ‘c2c_has_multiple_accounts’ to respond to the function of the same name so that users can use the apply_filters() notation for invoking template tags
  • Use get_users() rather than direct query
  • Remove Posts (which provided count of posts) from multi-account user listing table
  • Update plugin framework to 023
  • Save a static version of itself in class variable $instance
  • Deprecate use of global variable $c2c_allow_multiple_accounts to store instance
  • In global space functions: use new class instance variable to access instance instead of using global
  • Rename class from ‘AllowMultipleAccounts’ to ‘c2c_AllowMultipleAccounts’
  • Add __construct(), activation(), uninstall()
  • Note compatibility through WP 3.2+
  • Drop support for versions of WP older than 3.1
  • Add more FAQ questions
  • Call _deprecated_function() on deprecated functions to generate proper notices/warnings
  • Add filters section to readme.txt and document filters
  • Explicitly declare functions public
  • Minor code formatting changes (spacing)
  • Update copyright date (2011)
  • Add plugin homepage and author links in description in readme.txt

2.0.1

  • Update plugin framework to C2C_Plugin_016 (fixes WP 2.9.2 compatibility issues)

2.0

  • Fix compatibility with MU/Multi-site
  • Fix bug preventing admins from editing the profile of an account
  • Re-implementation by extending C2C_Plugin_011, which among other things adds support for:
    • Reset of options to default values
    • Better sanitization of input values
    • Offload of core/basic functionality to generic plugin framework
    • Additional hooks for various stages/places of plugin operation
    • Easier localization support
  • Full localization support
  • Move count_multiple_accounts() to c2c_count_multiple_accounts()
  • Deprecate count_multiple_accounts(), but retain it (for now) for backwards compatibility
  • Move get_users_by_email() to c2c_get_users_by_email()
  • Deprecate get_users_by_email(), but retain it (for now) for backwards compatibility
  • Move has_multiple_accounts() to c2c_has_multiple_accounts()
  • Deprecate has_multiple_accounts(), but retain it (for now) for backwards compatibility
  • Rename global instance variable from allow_multiple_accounts to c2c_allow_multiple_accounts
  • Explicitly ensure $allow_multiple_accounts is global when instantiating plugin object
  • Note compatibility with WP 3.0+
  • Add ‘Text Domain’ header tag
  • Add omitted word in string
  • Minor string variable formatting changes
  • Update .pot file
  • Minor code reformatting (spacing)
  • Add PHPDoc documentation
  • Add package info to top of plugin file
  • Remove docs from top of plugin file (all that and more are in readme.txt)
  • Remove trailing whitespace in header docs
  • Add Template Tags and Upgrade Notice sections to readme.txt

1.5

  • Fixed bug causing ‘Too many accounts…’ error to be incorrectly triggered
  • For retrieve password request emails, if the account is one associated with multiple accounts, list those account names in the email for informational purposes
  • Added class functions: count_multiple_emails(), get_users_by_email(), has_multiple_emails()
  • Exposed new class functions for external use via globally defined functions: count_multiple_emails(), get_users_by_email(), has_multiple_emails()
  • Changed invocation of plugin’s install function to action hooked in constructor rather than in global space
  • Update object’s option buffer after saving changed submitted by user
  • Finalized full support for localization
  • Parameterized textdomain name
  • Used _n() instead of deprecated __ngettext()
  • Supported swappable arguments in translatable string
  • Miscellaneous tweaks to update plugin to my current plugin conventions
  • Noted compatibility with WP2.9.1
  • Dropped compatibility with versions of WP older than 2.8

1.1

  • Added handling for admin creation of users for WP2.8
  • Improved query
  • Changed permission check
  • More localization-related work
  • Removed hardcoded path
  • Noted WP2.8 compatibility

1.0

  • Initial release

Still works with Wordpress 5.9

By drtallsimon on January 29, 2022

Even with UltimateMember, just change user registration form to not require a unique email address

Still works like a charm in 2020

By rAthus (rathus) on September 21, 2020

Despite the lack of update for 5+ years, we just installed it on a Wordpress 5.4.2 and it works perfectly. Author should update the compatibility to remove the scary message on top of the plugin's page.

cool plugin

By ddmmdit on June 14, 2019

best of the best, wonder why the author dont update it

Thank you

By solysergio on April 7, 2019

Scott, thanks for your job

Great plugin

By Jens (jRoggemann) on January 8, 2018

Thanks for sharing, works great with WordPress 3.9.1. After deactivating normal user-management seems being unaffected, unless you try to change an existing "multiple-email-user" or ad a new user of this type. (but after re-activating this tasks succeed too!) I find it very useful for maintaning historic users, who won't will have own editor-access at the instance but should remaining for historical intentions; giving them an unremindable password in combination with an admin-dummy-email (nobody@your-website.org) and then re-declaring them as only registered users will make these Userprofiles acceptable on a productive WordPress website, I think?! Regards, Jens aus Freistatt, Germany

Great plugin!

By Shannon Little (Enchiridion) on December 4, 2017

This is a great plugin! When using WP 4.8.3 or later, a small patch needs to be applied (see support section for patch).

Wonderful

By senfgurke on January 19, 2017

thank you so much, please continue to maintain this plugin

Perfetto, quello che cercavo!

By lurania on September 3, 2016

Ho testato questo plugin ieri e funziona perfettamente con la nuova versione di WP! Thaks!

Dude, it freakin works!

By neotrope on September 3, 2016

Just went all over the web looking for simple function to allow this since our news portal has multiple "accounts" per agency, and one "author" per "account," so each agency needs to be able to get alerts by email "per author" -- so one person's email might be associated with 5 clients.

FINALLY... this works!!!! Wooo freakin hoooo!

Thanks Scott for yet another winner. You rock!

Great plugin

By Gabriel Reguly on September 3, 2016

Does what it says.

Thanks for the plugin.

Try other plugins too!

SendWP

Say hello to the easy solution to transactional email in WordPress.

Try Demo More Details

WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin

Make email delivery easy for WordPress. Connect with SMTP, Gmail, Outlook, SendGrid, Mailgun, SES, Zoho, + more. Rated #1 WordPress SMTP Email plugin.

Try Demo More Details

WP-Members Membership Plugin

The original membership plugin with content restriction, custom registration, and more.

Try Demo More Details
Screenshots
Author Site Author Site

Try Allow Multiple Accounts With InstaWP

Contact Sales

Reach out to us to explore how InstaWP can benefit your business.