I had part of this in another thread, but this seems best in it's own thread completely. I migrated to membership 2 pro because I was having some other issues and support recommended I get to the new version so I don't have to repeat the work again later, which made sense, but I am struggling to figure out how to do what I need done.
I only have 2 levels - free and members. Free needs to be able to see the members page (which is called therapists in this install) and be able to view each of their profiles, nothing else beyond that.
I was able to do this relatively easily in the earlier membership plugin, but for whatever reason I can't figure it out and there is no detailed documentation on how you can use URL restrictions in a more advanced manner.
So this is what I have to have done/tested, or some at least, but I have tried a lot of things.
http://denvertherapistsnetwork.com/therapists - open to members and free. This is a buddypress page for members, and needs to be, so that already seems to cause some challenges using the BuddyPress piece.
http://denvertherapistsnetwork.com/therapists/%username% - open to members and free both.
Everything below the profile (or username like above) I need blocked. Then I need all the standard stuff blocked, which really doesn't represent a problem.
I have a staging environment (and I am adjusting the URL accordingly) and I am seeing some REALLY strange stuff. For example I can add just the straight up therapists directory but it blocks for everyone, even if I add in both groups for access.
Also it isn't accepting any of the variables I used to use in the previous version, or ones I have looked up using standard regex commands (which maybe it isn't supposed t0, but one ticket referenced that).
Given there could be some issues doing it in staging, but I tried at first in production and was having so many issues I didn't want to keep doing it in production, so can anyone give me the rules to make this work? Really this should be pretty easy, as long as I can get the username variable excepted.
So just block access here to free users - http://denvertherapistsnetwork.com/therapists/%username%/ - ideally everything below it, but worst case I can enter the five main directories below this to block.
Then I can easily block the rest with URLs.
And last, what would be ideal is to use the built in BuddyPress rules, and then have a rule read before it that allows the access I need. I wasn't sure if these rules were read in order and/or how it gives precedence if two rules contradict (I assume deny wins, which is why this might not work). But the BuddyPress rules, although are nice, I wish were a bit more granular.
Anyway, help would be appreciated. I searched the forums and only saw one ticket that was somewhat similar, but still didn't provide quite enough - in fact I found it pretty confusing looking at the syntax when I review other syntax online that I thought might apply.
Ok, sorry for the long question! Thanks, David