PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Buddypress URI Restriction for Profiles

s2Member Plugin. A Membership plugin for WordPress®.

Buddypress URI Restriction for Profiles

Postby lorikb » August 29th, 2011, 5:12 pm

Hello,

I know this should be easy but it is not working for me.

I have wordpress and buddypress installed with s2member pro. I have two membership levels. The highest membership level (2) is the only one I want able to view profiles. I do want level 1 members to be able to see/edit their own profile.

So I entered under:
Restriction Options > URI Restrictions > URIs That Require #2 or Higher
/members/

I thought this would be all I had to do but it is not working :\ I logged out of my site and can still view all profiles without being redirected to my membership options page. I followed the video tutorial for setting up my site with s2member so I do have all the settings in place for my membership options page.

I am currently working in a local environment so I unfortunately cannot share a link.

I am new to s2member so I apologize if I am missing something really obvious.
Lori
User avatar
lorikb
Registered User
Registered User
 
Posts: 4
Joined: August 29, 2011

Re: Buddypress URI Restriction for Profiles

Postby Cristián Lávaque » August 29th, 2011, 6:10 pm

Try adding this line to your /wp-config.php file.

Code: Select all
define("LOCALHOST", true);   


s2Member has a special routine, which we refer to as the Systematics Routine. It sees your IP address is the same as the server's IP, which is sometimes an issue on a WAMP/MAMP installation. It's fine so long as your domain is http://localhost/. However, if it's something other than that, you'll need to add that line so s2Member realizes it's running on a localhost installation.

Let me know if that helps.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Buddypress URI Restriction for Profiles

Postby lorikb » August 29th, 2011, 9:21 pm

Thanks! this fixed my issue!

Lori
User avatar
lorikb
Registered User
Registered User
 
Posts: 4
Joined: August 29, 2011

Re: Buddypress URI Restriction for Profiles

Postby Cristián Lávaque » August 30th, 2011, 4:20 pm

Great! :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

cron