Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-06T14:24:53-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16164 2011-12-06T14:24:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16164&p=54690#p54690 <![CDATA[Re: Hiding Pages to User Level 4]]>
horse43 wrote:
But is it possible and how do we "Require Level #3 or Lower"??

The best way I can think of doing this is by offering CCap only to the level 1-3 buttons, and so only these levels will be able to access that page.

You can check this video on how to do that:
http://www.s2member.com/custom-capabilities-video/

Statistics: Posted by Eduan — December 6th, 2011, 2:24 pm


]]>
2011-12-06T14:03:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16164&p=54686#p54686 <![CDATA[Re: Hiding Pages to User Level 4]]>
So we can restrict pages to "Require Level #3 or Higher" in the S2Member box on the page edit screen.

But is it possible and how do we "Require Level #3 or Lower"??

So we have to put code into the funtions.php or page.php? i've done the due diligence of searching past posts and looking at the videos but have not come up with anything.

Any help would be appreciated!

Statistics: Posted by horse43 — December 6th, 2011, 2:03 pm


]]>
2011-12-05T01:45:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16164&p=54575#p54575 <![CDATA[Re: Hiding Pages to User Level 4]]>
Cristián Lávaque wrote:
Horse, I'm not sure I understand your question. Do you mean that anyone below Level 4 should be taken to a certain same page? or those levels you mentioned should see content custom to each in the same page?


Thanks for the help guys. I have yet to figure this out. So i have a set couple of "pitch" pages for guests and non members to try to get them to sign up for the paid subscription.

Once they are paid users, i want these pages to be invisible to them. so the pitch pages can only be viewed by level0 or guests.

So then when i go to edit the page and under the Require Custom Capabilities? I enter the shortcodes or the php script, but you can't enter () or !.

Hope this helps!

Statistics: Posted by horse43 — December 5th, 2011, 1:45 am


]]>
2011-12-04T04:36:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16164&p=54523#p54523 <![CDATA[Re: Hiding Pages to User Level 4]]> Statistics: Posted by Cristián Lávaque — December 4th, 2011, 4:36 am


]]>
2011-12-02T12:19:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16164&p=54416#p54416 <![CDATA[Re: Hiding Pages to User Level 4]]> WP Admin -> s2Member -> API Scripting -> Simple/Shortcode Conditionals,
or under WP Admin -> s2Member -> API Scripting -> Advanced/PHP Conditionals, you can check this video for more info:
http://www.s2member.com/advanced-conditionals-video/

You could also sell specific post/page access, check this video for how to use those:
http://www.s2member.com/specific-posts-pages-video/

Hope this helps. :)

Statistics: Posted by Eduan — December 2nd, 2011, 12:19 pm


]]>
2011-12-02T12:15:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16164&p=54414#p54414 <![CDATA[Hiding Pages to User Level 4]]>
Anyways, i'm looking to use API Scripting in the Require Custom Capabilities? section in the page editing.

Im wondering what code i need to use to make a certain page only viewable to those user with a level less than 4.

When i add an api code the parenthases go away and so im not sure what codes i need to use.

So if anyone could send the line of code i need to put in the box to have unregistered guest, level1, level2, and level3 users see a certain page i'd appreciate it!

Happy Holidays

Statistics: Posted by horse43 — December 2nd, 2011, 12:15 pm


]]>