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™

Protecting content

s2Member Plugin. A Membership plugin for WordPress®.

Protecting content

Postby intuitdesign » September 30th, 2011, 12:48 pm

Hi there,
I am wondering how to protect Gold and Silver pages from Platinum users access. Is there a way to do that?

Also, is there a way to have specific pages accessed by specific users?

Thank you in advance,
Jeff
User avatar
intuitdesign
Registered User
Registered User
 
Posts: 22
Joined: September 3, 2011

Re: Protecting content

Postby Cristián Lávaque » October 1st, 2011, 2:27 pm

What levels would those (gold, silver, platinum) be? 1, 2, 3?

Yes, you can give users a custom capability with their username and protect the page you want for him using the custom capability. viewtopic.php?f=36&t=586

Depeding on the message you want to customize for the users, like if it's a template with just some values changed, you can probably use a page with conditionals to change the content. http://www.s2member.com/api-scripting-overview-video/

I hope 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: Protecting content

Postby intuitdesign » October 4th, 2011, 3:47 pm

This is exactly what I was looking for. Thank you Cristián!
User avatar
intuitdesign
Registered User
Registered User
 
Posts: 22
Joined: September 3, 2011

Re: Protecting content

Postby Cristián Lávaque » October 5th, 2011, 2:00 am

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: No registered users and 2 guests

cron