Package/plugin/module WordPress

Allow Multiple Accounts v2.5

I’d like to announce the release of the updated Allow Multiple Accounts plugin (v2.5) for WordPress.

Allow multiple user accounts to be created from the same email address.

Major update! This release fixes WP 3.1+, 3.2+ and BuddyPress compatibility. It also drops compatibility with version of WP older than 3.1. A number of bugs were fixed, some filters were added, some lower level changes were made, and its plugin framework updated. All in all, a recommended update for those running compatible versions of WordPress.

For more details, instructions, screenshots, and the download link, visit the plugin’s official homepage at :

Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.

Read more for a detailed ChangeLog of the release.

Detailed ChangeLog

These are the detailed changes, some of which may or may not make sense to you depending on your familiarity with the previous features and internals of the plugin.

  • 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

6 replies on “Allow Multiple Accounts v2.5”

It appears that you can’t create multiple accounts for an email that is associated with an account that hasn’t been activated yet. This is with WP 3.2.1 and Allow Multiple Accounts 2.5. Any way to fix this???

Hello, I am experiencing errors when I try to register as a new member. I receive repeated errors above the header (pasted below). I do get a success message that I have registered, but then the activation email comes in with no key in the URL so the user cannot activate. I am using WP3.3 and BP 1.5.2. I tried reverting back to bp-default and deactivated all my plugins except BP and the error persists. I can only successfully add a new member if I deactivate this plugin. Is there an update needed? Thanks a lot.

Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /XX/XX/wp-includes/wp-db.php on line 787

Warning: hash_hmac() expects parameter 2 to be string, object given in /XX/XX/wp-includes/pluggable.php on line 1397

@shawn: Good question. I’ve added that question to the plugin’s FAQ in its v2.6 release. In short, if you proceed with the ‘lost password’ form by inputting an email address which has been used for multiple accounts, then the first account found (probably the first created) will be the the account associated with the reset email. However, the email will also include a list of all accounts registered with that email address. In order to do a password reset on a specific account (that doesn’t happen to be the one that the password reset email was sent for) you’ll have to go back to the form and input the username you want the reset for.

This is still true in v2.6 of the plugin. If an account has been created but not activated, you cannot register another account. From the FAQ (newly added question):

Before that email address can be used for another account, you have to activate that pending account, delete the pending account from the signups table, or wait a couple of days until the pending account expires.

Can you make a case as to why you want to be able to register multiple accounts when one hasn’t been activated yet?

Comments are closed.