SureMembers

Pro feature

Gate Jetonomy spaces by SureMembers access groups. When a member is granted an access group - through a purchase, an automation, or a manual grant - they are automatically added to any linked space. Revoking the access group removes them from the space. Joining a space can also grant access groups back to the member, making the link bidirectional.

PRO - This integration requires Jetonomy Pro to be installed and licensed.

Prerequisites

  • Jetonomy (free) and Jetonomy Pro installed and active.
  • SureMembers (suremembers-core) installed and active. Jetonomy Pro detects it automatically.
  • At least one active SureMembers access group configured in SureMembers → Access Groups before linking it to a space.

How Detection Works

Jetonomy Pro detects SureMembers when the SureMembersCore\Inc\Access_Groups and SureMembersCore\Inc\Access classes are available. A dedicated SureMembers tab appears on every space in Jetonomy → Spaces → Edit Space. If SureMembers is not active, the tab shows an inactive message.

Adding a SureMembers Rule to a Space

  1. Go to Jetonomy → Spaces and open the space you want to gate.
  2. Click the SureMembers tab.
  3. In the Linked access groups field, select one or more access groups from the list. Only active SureMembers access groups appear.
  4. Click Save SureMembers Settings.

Members who currently hold one of the linked access groups are admitted to the space the next time their access is evaluated. Going forward, when SureMembers grants or revokes an access group, Jetonomy Pro updates the member's space membership automatically.

What the Three Fields Do

The SureMembers tab has three settings per space.

Linked access groups

These are the access groups that grant membership to this space. A member who holds any of the linked access groups is added to the space. SureMembers' own expiry and active-status logic applies - an expired access group is treated as not held, so access is removed.

Apply access groups on join

These access groups are granted to a member via SureMembers when they join the space through any route. Use this for granting content access in SureMembers when members enter the space, so any protected SureMembers content they should see becomes available at the same time.

On leave - Remove linked access groups

When enabled, a member who leaves the space has the linked access groups revoked via SureMembersCore\Inc\Access::revoke(). Leave this off if the access group also gates other SureMembers-protected content you want the member to keep.

Setting the Space Role

The SureMembers tab creates access rules at the Member role by default. To change the role, go to the Access Rules tab on the same space and adjust the role for the SureMembers rule entry. Both tabs share the same underlying access rule.

How Reconciliation Works

SureMembers fires suremembers_user_access_group_granted when a user receives an access group, and suremembers_user_access_group_revoked when one is taken away. Jetonomy Pro listens to both actions and adds or removes the member from every space that references the affected access group.

Access group expiry within SureMembers triggers the revoked action, so access removal is automatic when a subscription or time-limited membership lapses.

Member Experience

From the member's perspective, space access appears or disappears automatically as their SureMembers access groups change. There is no visible transition message - the space becomes available or disappears from the community nav.

Note on SureMembers content restriction: SureMembers restricts WordPress post-type content natively. Jetonomy spaces live in custom database tables, not WordPress posts, so SureMembers' standard content-restriction settings do not apply to them. This integration is the only way to connect SureMembers access groups to Jetonomy spaces.

Troubleshooting

SureMembers tab is not visible on the space - Confirm that Jetonomy Pro is active and licensed, and that SureMembers is active.

Access group list is empty - Confirm you have at least one active access group in SureMembers → Access Groups. Inactive or draft access groups do not appear in the picker.

Member still has access after their access group was revoked - Confirm the revocation went through SureMembers' standard API. Custom code that updates the database directly without firing suremembers_user_access_group_revoked will not trigger Jetonomy Pro's removal.

Member does not gain access after being granted an access group - Confirm the grant used SureMembers' standard grant API so the suremembers_user_access_group_granted action fires. Check whether the space has the access group listed under Current access linkage at the bottom of the SureMembers tab.

What's Next?