Support » Plugin: Paid Memberships Pro » Locking BuddyPress with PMPRO

  • Okay, so I’ve asked this question before, but I really wanted to give it another shot.

    I am trying to add BuddyPress to my site and lock it with Paid Membership Pro. I found a github code to do that by Paid Membership Pro, but I am having a hard time customizing it for my site.

    Would it be okay to explain just a few things I am trying to get about the snippet?

    For example, Does $membership_id represent the membership level?

    I tried to change this code to fit with my url, but it’s still not working.

    $not_allowed = array(“/^\/members\/$/”, “/^\/activity\/$/””/^\/groups\/$/”, “/\/groups\/create\//”, “/\/members\/[^\/]*\/groups\//”, “/\/members\/[^\/]*\/settings\//”);
    foreach($not_allowed as $check)

    Is this the only portion of the snippet that needs to be changed? Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Jason Coleman


    We can help you with this on the paid support forums if you sign up at If you post your levels and ids and the pages you want locked down along with your full code (via pastebin or we can take a look and give you more direction.

Viewing 1 replies (of 1 total)
  • The topic ‘Locking BuddyPress with PMPRO’ is closed to new replies.