Community Support Forums — WordPress® ( Users Helping Users ) — 2010-09-09T10:20:02-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=538 2010-09-09T10:20:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=538&p=3097#p3097 <![CDATA[Re: Restrict BuddyPress Pages]]> Thanks for the great question.
Here are some ways you could handle this:

1. Install Exec-PHP, and then put something like this inside your Login Welcome Page for s2Member.
Code:
<?php if(current_user_is("s2member_level0")){ ?>
    Your level of access has not been approved yet.
<?php } else if(current_user_is("s2member_level1")){ ?>
    Welcome! Thanks for your purchase.
<?php } ?>
( for further details, in your Dashboard, go to: s2Member -> API Scripting -> Advanced Conditionals )

----------------------------------

2. No PHP required, use [s2If] Shortcode Conditionals in any Post/Page/Widget.
Code:
[s2If current_user_is(s2member_level0)]
    Your level of access has not been approved yet.
[/s2If]

[s2If current_user_is(s2member_level1)]
    Welcome! Thanks for your purchase.
[/s2If]
* requires s2Member v3.2.4+ ( for further details, see: s2 -> API Scripting -> Simple Conditionals ).

----------------------------------

3. Use Replacement Codes inside a Special Redirection URL.
Code:
http://www.example.com/login-welcome-level-%%current_user_level%%
( see: General Options -> Login Welcome Page -> Special Redirection URL )

Statistics: Posted by Jason Caldwell — September 9th, 2010, 10:20 am


]]>
2010-09-08T04:54:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=538&p=3053#p3053 <![CDATA[Re: Restrict BuddyPress Pages]]>
Is there a way to redirect to certain pages for certain uri's. If a member is registered on level 1 they cannot access their profile until we manually upgrade them to level 2. but rather go to the register page I would like them to go to a page that says "Your level of access has not been approved yet"

Sure it can be done with conditionals in function.php ?

Statistics: Posted by micb11 — September 8th, 2010, 4:54 am


]]>
2010-08-17T16:14:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=538&p=2401#p2401 <![CDATA[Re: Restrict BuddyPress Pages]]>
Inside your WP Dashboard, see:
s2Member -> General Options -> URI Level Access Restrictions.

Statistics: Posted by Jason Caldwell — August 17th, 2010, 4:14 pm


]]>
2010-08-10T23:43:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=538&p=2263#p2263 <![CDATA[Re: Restrict BuddyPress Pages]]> members/
groups/
forums/
activity/

Statistics: Posted by Guest — August 10th, 2010, 11:43 pm


]]>
2010-08-10T11:51:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=538&p=2242#p2242 <![CDATA[Restrict BuddyPress Pages]]>
Where do you find these?

Statistics: Posted by jgucci — August 10th, 2010, 11:51 am


]]>