Trying to have a Membership Options Page that, when viewed by a member, shows upgrade buttons to higher level members. I'm having little luck here. I've tried to take a WP Page and use the "HTML" code button in the TinyMCE editor and inserted the following:
- Code:
<?php if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL >= 2){ ?>
Some content for Members who are logged in with an s2Member Level >= 2.
<?php } else { ?>
Some public content.
<?php } ?>
But the visual page returned destroys the above code. I do have Exec-PHP installed and it works just fine.
I want members greater or equal to level 2 to see certain things and members below that to see something else.
Any help would be appreciated.Statistics: Posted by PerryM — May 7th, 2010, 2:00 pm
]]>