Back to Course

How to Build an Online Community on Your Site

0% Complete
0/46 Steps
  1. Introduction
    Introduction to this course
  2. Creating a ready to use site on LaunchMyWp
    1 Topic
  3. Installing Required WordPress Plugins (BuddyPress)
    4 Topics
  4. Setting Up and Configuring BuddyPress and Content
    15 Topics
  5. Installing and Configuring BuddyBuilder
    4 Topics
  6. Customizations
    1 Topic
  7. FAQ
    13 Topics
  8. Conclusion
Lesson 7, Topic 3
In Progress

Restricting Content Within your Community Site

John March 24, 2021
Lesson Progress
0% Complete

You can restrict BuddyPress sections within your community site to certain Members based on profile fields, membership levels or values. This functionality is provided with the help of the  Restrictions For BuddyPress plugin and the Paid Membership Pro plugin. You will hence need to first install these two plugins from the Plugins > Add New section of your WordPress dashboard.

Configuring Basic Restrictions

These restrictions can be assigned on guests, logged in users or all members. They can be specified from the Settings > BuddyPress Restrict section within your WordPress dashboard.

The restrictions can cover the following sections within the community site:

  • Members directory restriction
  • Profile Viewing Restrictions
  • Groups Directory Restrictions
  • Group Page Restrictions
  • Site Activity Restrictions

Restrictions based on Membership

Paid Membership Pro restrictions can be assigned to all members, restrictions to certain levels such as non-members and non-logged in users as well as custom membership levels.

These restrictions can cover:

  • Members directory restriction
  • Restrict viewing other profiles
  • Groups directory restriction
  • Group page restriction
  • Site activity restriction
  • Sending private messages restriction
  • Viewing private messages restriction
  • RtMedia plugin – Restrict users from adding media

Membership levels can be added from the Membership > Settings > Levels > Add New Level section. Below is a screenshot of this:

Pages needed for the Paid MemberShip pro can as well be generated from the Membership > Settings > Pages section.

For more details on membership setups, you may check on the plugins’ documentation here.

Free Access Based on a Profile Field and value

PMPRO Free access will allow you to grant members access based on a specific field name and value. 

As an example, let’s say you have a custom user field “Nationality” that allows selection of various nationalities within its values. With one of the available selections being a “canadian”, you can grant free access to a member whose nationality is a canadian from the “Nationality” field and a selection value of “canadian”.

Members will be assigned the level specified within the setting.