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™

Category restriction and URI restriction not working

s2Member Plugin. A Membership plugin for WordPress®.

Category restriction and URI restriction not working

Postby furlongdesign » December 24th, 2011, 12:19 pm

I have pro s2 member and I can't make the restrictions working. By not working I mean that even if I log out I can access restricted areas such as categories I set to be restricted and URIs I set to be restricted eg /activity. It's on a local wp install. And I have it working on another website. I have 2 thoughts.

1. Restrictions do not work on local install
2. I can only use s2 pro on 1 website?

Can anyone help??
User avatar
furlongdesign
Registered User
Registered User
 
Posts: 12
Joined: November 27, 2011

Re: Category restriction and URI restriction not working

Postby Eduan » December 24th, 2011, 12:27 pm

In order for s2Member to work correctly on a localhost installation you must go to WP Admin -> s2Member -> General Options -> Localhost WAMP/MAMP Developers and do what it's told there.

If you only buy a single-site license then you can only s2Member on the site you specify it's for, if you buy a multisite license then you can use it with an unlimited amount of websites.

Hope this helps. :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Category restriction and URI restriction not working

Postby furlongdesign » December 28th, 2011, 3:51 pm

I did what was instructred under General Options -> Localhost WAMP/MAMP Developers but my restricted pages and categories still show up.
User avatar
furlongdesign
Registered User
Registered User
 
Posts: 12
Joined: November 27, 2011

Re: Category restriction and URI restriction not working

Postby Eduan » December 28th, 2011, 4:05 pm

In order to block that from showing up (restricted pages & categories).
You can try Alternative Views Protection.
You can find them under WP Admin -> s2Member -> Restriction Options -> Alternative View Protection ( please read ).

Hope this helps. :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Category restriction and URI restriction not working

Postby Cristián Lávaque » December 29th, 2011, 5:37 am

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: Category restriction and URI restriction not working

Postby furlongdesign » January 29th, 2012, 12:37 pm

Ok, now I've watched the video but it didn't help me resolve the issue. I have the site now on a test server so not local install. The category restrictions work but the URI recristions do not. I need these to protect BuddyPress pages such as http://thegsa.co.uk.s113400.gridserver.com/members. You see this page can be viewed even though the /members/ URI is protected. Yes, my membership options page is set up and it can be found here http://thegsa.co.uk.s113400.gridserver.com/membership

Please let me know how can I resolve this issue.
User avatar
furlongdesign
Registered User
Registered User
 
Posts: 12
Joined: November 27, 2011

Re: Category restriction and URI restriction not working

Postby Cristián Lávaque » January 30th, 2012, 11:36 pm

/members/ will not protect http://thegsa.co.uk.s113400.gridserver.com/members because it doesn't appear in that URL, but it does protect http://thegsa.co.uk.s113400.gridserver.com/members/. I suggest you change your URI restriction to /members.
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: Category restriction and URI restriction not working

Postby furlongdesign » February 4th, 2012, 5:14 am

Ok great, thanks for your reply it worked.
User avatar
furlongdesign
Registered User
Registered User
 
Posts: 12
Joined: November 27, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 0 guests