Joomla User Groups

Use the Membership Pro - Joomla Groups plugin to add subscribers to Joomla user groups when their subscription is active, and to move them out when it expires. You can then use those groups for anything that depends on them: access to content, menu items and modules, permissions in other extensions, or keeping track of current and expired members. You need to know how Joomla user groups and access control (ACL) work.

Set Up the Plugin

  1. Log in to the backend with a super administrator account.
  2. Go to Users -> Groups and create a group such as Subscriber, as a child of Registered.
  3. Go to System -> Plugins and enable Membership Pro - Joomla Groups.
  4. Edit a plan and open the Joomla Groups Settings tab. This tab only appears when the plugin is enabled.

Joomla Groups settings on the plan form

When Subscription Active

  • Assign To Joomla Groups: groups subscribers are added to when the subscription becomes active. For example, Subscriber.
  • Remove From Joomla Groups: groups subscribers are removed from at the same time. Usually leave this empty. Use it if the expired section puts subscribers into a group such as Expired Members: select that group here so members leave it when they subscribe again.

When Subscription Expired

  • Remove From Joomla Groups: groups subscribers are removed from when the subscription expires. Usually the same groups as Assign To Joomla Groups above.
  • Assign To Joomla Groups: groups subscribers are added to when the subscription expires. Usually empty. Use it to track expired members, for example in an Expired Members group.

With this setup, users join Subscriber when their subscription is active and lose access to its resources when it expires, until they renew.

Good to Know

  • The plugin only works for subscribers who have a Joomla account. Subscriptions are handled when they become active, so a pending offline payment does not change groups until it is approved.
  • If a subscriber still has another active subscription that assigns the same group, they are kept in that group when one plan expires. Renewing the same plan before it expires also keeps them in the group.
  • Existing groups of the user are kept. The plugin only adds and removes the groups you selected.
  • If a user would be left with no group at all after expiry, they are put back in the default group for new users (set in Users -> Options).
  • For group memberships, members added by a group admin are not added to the groups excluded in the Group Membership plugin.

Assign Groups Based on a Subscriber's Choice

You can also let subscribers choose their group on the subscription form. Create a custom field of type List, Radio or Checkboxes, and in Joomla Group Ids enter the Joomla group ID for each option, one per line, in the same order as the options. When the subscription becomes active, the subscriber is added to the group of the option they selected. When it expires, they are removed from those groups. See Assign to Joomla Groups for details.

Plugin Options

Open the plugin in System -> Plugins to change:

  • Exclude User Groups: groups that cannot be selected when plans are managed from the frontend.
  • Show On Frontend: if Yes, the Joomla Groups Settings tab is also available when plans are added or edited from the frontend. Default No.