Page 1 of 1

s2Member API / Scripting Conditionals

PostPosted: May 20th, 2010, 1:23 pm
by skipperchong
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 } ?>

Re: s2Member API / Scripting Conditionals

PostPosted: June 24th, 2010, 1:01 am
by Jason Caldwell
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.