edit: Cancel responding to this ... I was using a script other than EXEC-php. I thought the "Raw HTML" script worked the same way. It didn't.
Thanks anyway.
I'm leaving the message intact, because I put it here and didn't want to delete what was up.
***************************************
Jason,
I copied your code from above and wrapped my "home" page in the public content. Then I logged out and went ot my home page. The content was not displayed. Did I miss something?
What I used ...
- Code: Select all
<?php if (current_user_is("s2member_level4")){ ?>
Some premium content for Level 4 Members.
<?php } else if (current_user_is("s2member_level3")){ ?>
Some premium content for Level 3 Members.
<?php } else if (current_user_is("s2member_level2")){ ?>
Some premium content for Level 2 Members.
<?php } else if (current_user_is("s2member_level1")){ ?>
Some premium content for Level 1 Members.
<?php } else if (current_user_is("s2member_level0")){ ?>
Some content for Free Subscribers.
<?php } else { ?>
Content from my home page went here.
<?php } ?>