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™

s2Member API / Scripting Conditionals

s2Member Plugin. A Membership plugin for WordPress®.

s2Member API / Scripting Conditionals

Postby skipperchong » May 20th, 2010, 1:23 pm

Is there something with the s2member conditional framework that precludes the use of PHP code?

Code: Select all
<?php if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL >= 3){ ?>   
         <?php dynamic_sidebar('members'); ?>
      <?php } else { ?>
         <?php dynamic_sidebar('pages'); ?>
      <?php } ?>
User avatar
skipperchong
Registered User
Registered User
 
Posts: 4
Joined: May 13, 2010

Re: s2Member API / Scripting Conditionals

Postby Jason Caldwell » June 24th, 2010, 1:01 am

Not yet, but there will be soon. We'll be implementing support for "Basic Conditionals" soon.
Look for this in a future release of s2Member.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron