Page 1 of 1

Restrict access to each level?

PostPosted: January 26th, 2012, 1:58 pm
by 57strat
Just wondering,

It says in the options "level 1 or higher"... and so on...

Can it be set so a level 1 member gets access to protected page "1", then a level 2 member only gets access to protected page "2" and so on? so a level "4" member can ONLY get access to the protected page meant for a level "4" member? I want very specific content for each member level, but don't want any member from any other level to access content for that specific level...

example: level 1 member accesses protected page 1, level 2 member accesses protected page 2, level 3 member accesses protected page 3 & level 4 member accesses protected page 4 but all of these members can ONLY ACCESS THEIR LEVEL content? So a level "4" member cannot access protected page "1" as an example... possible?

Re: Restrict access to each level?

PostPosted: January 26th, 2012, 3:01 pm
by MOH Guy
You may be able to accomplish that using specifically named directories in your s2Member download folder. To learn more, go to the [API / Scripting] section and click the [Custom Capability & Member Level Files] accordion to read the documentation. There is also a video that explains (File Download Options [2])

I hope it helps!

Re: Restrict access to each level?

PostPosted: January 26th, 2012, 4:27 pm
by Eduan
@MOH Guy:
That will work, but only if he's offering downloads or files as a protected content.

@57strat:
What you can do are the following:
1. Alternative Views Protection. They allow you to set up some options about what content you allow non-member to see and misc options.

You can find them under WP Admin -> s2Member -> Restriction Options -> Alternative View Protection ( please read ).

Check this video for more info:
http://www.s2member.com/content-restric ... ble-video/

2. You could also try s2Member conditionals, you can find the shortcode versions under WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals.

You can find the PHP versions under WP Admin -> s2Member -> API / Scripting -> Advanced/PHP Conditionals. For these you will need the Exec-PHP plugin or any other WordPress plugin that allows you to insert PHP into posts/pages.
Hope this helps. :)