<?php if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN){ ?><!-- checks to see if they're logged in at all, if they are, we show -->
Welcome, <?php echo S2MEMBER_CURRENT_USER_DISPLAY_NAME; ?>! <br>
You are currently a "<b><?php if (is_user_logged_in() && current_user_can("access_s2member_level1")){ ?><?php echo S2MEMBER_CURRENT_USER_ACCESS_LABEL; ?><?php } else { ?> Free Member<?php } ?> </b>", and have been for <b><?php echo S2MEMBER_CURRENT_USER_REGISTRATION_DAYS; ?></b> days.
<!-- this doublechecks to make sure they're logged in (not sure why I did that) and makes sure they're of a minimum level, then tells them their level label (which you specify in the options) and tells them how long, overall, that they've been a member -->
<br style="clear:all;">
<i>Modify Your User Information</i>-<br>
<iframe src="<?php echo S2MEMBER_CURRENT_USER_PROFILE_MODIFICATION_PAGE_URL; ?>" scrolling="auto" style="width:100%; height:525px; margin:auto; border:1px solid #666666;"></iframe>
<!-- this embeds the box where the user can modify their info -->
<!-- end this statement -->
<?php } ?> <!-- end the first if/else statement -->
Statistics: Posted by lalitkishore — February 16th, 2011, 10:19 am
Statistics: Posted by stowe39 — February 16th, 2011, 1:13 am
Statistics: Posted by pbul2004 — January 18th, 2011, 9:04 am