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.
- The topic ‘Locking BuddyPress with PMPRO’ is closed to new replies.