About BuddyPress

BuddyPress adds community features to WordPress, including Member Profiles, Activity Streams, Direct Messaging, Notifications, and more. Learn more about BuddyPress »

Our BuddyPress Integration for Paid Memberships Pro allows you to restrict access to specific features of your BuddyPress community by membership level, allowing you to build a custom, private, and flexible members-only community.


Quick Links: Installation | Pages | Membership Levels | Managing Access | Registration | Member Types | Syncing Fields


Installation

  1. Make sure you have the Paid Memberships Pro plugin and BuddyPress plugin installed and activated.
  2. Install the Add On via the Plugins > Add New in the WordPress dashboard. Or, upload the ‘pmpro-buddypress’ directory to the ‘/wp-content/plugins/’ directory of your site.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Continue reading for setup instructions.

Page Settings

This plugin redirects users to a specific page if they try to access restricted BuddyPress features. The user is redirected to the page assigned as the “Access Restricted” page under Memberships > Page Settings.

  1. Navigate to Memberships > ‘Page Settings’.
  2. Under “Additional Page Settings”, generate or select an existing page for the “Access Restricted” page.
  3. If you are using an existing page, be sure to include the [pmpro_buddypress_restricted] shortcode in the page content.
  4. Save Settings.

Assign the Access Restricted page under Memberships > Page Settings


Membership Level Settings

  1. Navigate to Memberships > Membership Levels.
  2. Select a level to edit or create a new level.
  3. Under “BuddyPress Restrictions”, change “Unlock BuddyPress?” to your desired option:
    Restrict BuddyPress by Membership Level with Paid Memberships Pro WordPress Plugin
    You can choose to give members of that level access to all of BuddyPress (and thus lock all users without that level from accessing BuddyPress features) or choose specific features that require that membership level.

    If you are planning to restrict BuddyPress for more than one level, the plugin will check if the user has ANY level giving them access to those features.
  4. Save Settings.

Specific areas of BuddyPress that can be restricted by Membership Level include:

Feature Description
Group Creation Can members of this level create BuddyPress Groups?
Single Group Viewing Can members of this level view individual BuddyPress Groups?
Groups Page Viewing Can members of this level view the BuddyPress Groups page?
Joining Groups Can members of this level join BuddyPress Groups?
Public Messaging Can members of this level send public messages to other members?
Private Messaging Can members of this level send private messages to other members?
Send Friend Requests Can members of this level send friend requests to other members?
Include in Member Directory Should members of this level be included in the BuddyPress member directory?

Managing Members and Groups in BuddyPress

  1. Navigate to Memberships > Membership Levels.
  2. Select a level to edit or create a new level.
  3. Under “BuddyPress Group Membership”, select the groups you would like to add or invite members to.
  4. Users will be automatically added to any group checked in the “Add to these Groups” option.
  5. Users will be invited (can manually choose to join) any group checked in the “Invite to these Groups” option.
  6. Save Settings.

Assign or Invite Members to BuddyPress Groups by Membership Level with Paid Memberships Pro WordPress Plugin


Non-member User Settings

Some of your WordPress users may not have a membership level in Paid Memberships Pro. This plugin allows you to set how BuddyPress should be locked down for these users without a membership level.

  1. Navigate to Memberships > PMPro BuddyPress.
  2. Under the “Non-member User Settings” section, change “Unlock BuddyPress?” to your desired option.
  3. You can choose to lock access to all of BuddyPress, give non-member users access to all of BuddyPress or choose specific features that they can access.
    Restrict BuddyPress for Non-Members with Paid Memberships Pro WordPress Plugin
  4. Save Settings.

Use BuddyPress Registration Process

This Add On also allows you to use the BuddyPress user registration process (in place of the Membership Levels > Membership Checkout process).

  1. Navigate to Memberships > PMPro BuddyPress.
  2. Select your desired setting under “Registration Page”.
    Set the Registration Page for BuddyPress and Paid Memberships Pro WordPress Plugin
  3. Save Settings.

It is important to note that the BuddyPress registration process will not automatically apply a membership level to the user, nor will it allow you to process a paid membership checkout.

If you are allowing users without a membership level access to some portion of BuddyPress, you can select the “Use BuddyPress Registration Page”. This will only work if you have set the “Non-member User Settings” to allow access to some features of BuddyPress.

If you’d like to apply a default membership level (non-paid) as part of BuddyPress registration, please refer to this tutorial.


Creating and Assigning Member Types by Membership Level

  1. Navigate to Memberships > Membership Levels.
  2. Select a level to edit or create a new level.
  3. Under “BuddyPress Member Types”, select the member types you would like to assign for members of this level.
  4. Save Settings.

Note that BuddyPress Member Types must be created through custom code. This post explains how to add Member Types to BuddyPress.

Assign BuddyPress Member Types by Membership Level with Paid Memberships Pro WordPress Plugin


Show the Member’s Level Name on BuddyPress Profile

  1. Navigate to Memberships -> PMPro BuddyPress in the WP Dashboard.
  2. Select “Yes” under “Show Membership Level on BuddyPress Profile?”
  3. Save Settings.

Synchronize Register Helper Fields with XProfile Fields

When defining fields with the Register Helper Add On, you can set a “buddypress” option to the full case-sensitive name of an XProfile Field you set up in the BuddyPress Extended Profile. When defined like this, any update to the XProfile Field will also update the user meta field, and any update to the user meta field will also update the XProfile Field.

Here is an example of some Register Helper fields defined with the buddypress option: