Group Accounts 2.0 beta released

While adding support for multiple memberships in Restrict Content Pro core, we had to think about support for multiple groups per user. Unfortunately, Group Accounts 1.x made this very challenging because the custom tables and all the functions expected that each user could only be in one group at a time. In order to accommodate a single user being a member of (or owning) multiple groups, we had to make some major changes to the database and code.

Because of the significance of the changes in this 2.0 update, we’re releasing a beta version prior to the final release.

How to test the beta

In order to help ensure the final release of Group Accounts 2.0 goes as smoothly as possible, we need your help testing this beta version.

To test the beta version, make sure you’re running Restrict Content Pro version 3.0.5 or later, as this is required by Group Accounts 2.0. To get the beta version, log in to your Restrict Content Pro account via the account page, click the “Downloads” tab, locate Group Accounts in the list and click the link to download the 2.0 beta.

If you encounter any bugs or trouble updating to the beta version, please let us know through our support page.

Note: we do not recommend you test the beta on a live site. Use a testing site. While we do our very best to not cause issues during updates, sometimes issues do slip through unnoticed, so having a staging / testing site is very important.

Multiple groups per user

Being able to participate in multiple groups is linked to multiple memberships in Restrict Content Pro 3.1+. If you do not have multiple memberships enabled in Restrict → Settings → General then everything will function exactly as it does in 1.x: each user can only own or be a member of one group at a time.

If you do have multiple memberships enabled, then all the following options will become available:

  • One person can create and own multiple groups. (Each group associated with its own membership.)
  • One person can create and own one group, but also be invited to join another group as a regular member/admin.
  • One person can be invited to join multiple different groups as a regular member/admin.

If one person is is an owner or admin of multiple groups, then the [rcp_group_dashboard] shortcode will initially show a table of all the user’s available groups.

Clicking the “Manage Group” link will then load the group management page you’re already familiar with.

Improved admin interface

Version 2.0 has also seen some changes to the admin interfaces. The Groups admin table now has a search dropdown that allows you to change your search from group name to group member. This is an improvement on the old method, which required prefixing your search with member:

The “Edit Group” page has been redesigned to adopt the same style as Membership and Customer pages, and has also added the “Add/Import Group Member” features directly on the page. This puts all the group management options on one page, as opposed to spread across multiple pages.

Other notable changes

  • Tweak: When an owner’s membership has expired, they are now allowed to access the group dashboard to manage their members. Previously they were denied access entirely.
  • New: Added support for “Screen Options” on admin Groups and Group Members tables.
  • New: Allow partial name searches in the admin Groups dashboard when searching for users.
  • New: Introduced RCPGA_Group and RCPGA_Group_member classes.
  • Fix: Change in database prefix caused custom table upgrades to fail.

Modified templates

All of the Group Accounts templates have received significant changes. If you’ve customized yours in any way, we recommend comparing with our new versions and making changes as appropriate. We’ve done our best to preserve backwards compatibility as much as possible, but if you do encounter any issues please let us know.

Release date for 2.0

The beta version of 2.0 is available today and we hope to release the final version on or near the 22nd of October.

Similar Posts


  1. Hi Ashley,

    Will the three multiple groups per user options be clickable as three separate options? I would love that an owner can have more than one group, but on my site I wouldn’t want a person to be able to be a member of more than one group. Once an owner has paid for a person to occupy a seat, there is no need for that person to occupy another seat on a different group.

    1. Hi John,

      We don’t have separate options – this is all linked to the “Multiple Memberships” setting in Restrict Content Pro core. If that’s enabled, then customers can own multiple groups or be a member of multiple groups. If that’s not enabled, then you get the current behaviour in 1.x: one person can only own one group, or be a member of one group.

      We could add a filter that would allow you to separate out these conditions and prevent someone from being added to a second group as a member.

      1. The filter you mention sounds as if it would satisfy my needs, as long as I could apply it fairly easily.


  2. I assume members can only be signed into one group at a time. How does that work. I want to be able to use the RCP Group function to be able to determine which group the current user is part of. If they are part of multiple groups that will be confusing. Thus the need for them to be “signed in” to one group at a time. How will you handle this. Also, will all of the RCP Group Functions still work the same way? Thanks.

    1. This feature will work the exact same way the multiple membership option works in RCP core. When you sign into your account, all memberships are available to you; it’s not just one at a time. So if a user is a member of multiple groups, then they have access to all those groups at the same time. If you’re checking which group the user is a part of, then our new functions would return an array of group IDs, rather than a single value.

      All of the existing/old functions will work the same way. Any old functions that return a single value will continue to do so, they’ll just pick one of the user’s group membership records and return that. We have introduced new functions for more accurately returning an array of values.

      Note that if you do not have multiple memberships enabled, then you will see very few changes. All these new features only really apply if you have multiple memberships enabled.

  3. One more thing, are we able to migrate from Groups 1.0 to this new multi-group version of RCP? How does that work? Any issues with that?

    1. This will be a normal plugin update, so all you have to do is install the 2.0 update when it is released. Some database changes will happen automatically when you upgrade. There’s no data migration necessary; it’s just some database schema changes.

Comments are closed.