Community Support Forums— WordPress® ( Users Helping Users ) —2010-07-15T23:59:47-05:00http://www.primothemes.com/forums/feed.php?f=4&t=3792010-07-15T23:59:47-05:00http://www.primothemes.com/forums/viewtopic.php?t=379&p=1597#p1597 Yea, I agree that Exec-PHP has some side issues. We have a new alternative to Exec-PHP coming soon that will be an attempt to improve upon this plugin. You can look for this to be released at PriMoThemes.com. We're hoping that it will improve the usability of s2Member's API Scripting as well.
~Thanks again.
Statistics: Posted by Jason Caldwell — July 15th, 2010, 11:59 pm
]]>2010-07-15T01:40:53-05:00http://www.primothemes.com/forums/viewtopic.php?t=379&p=1569#p1569 Exec.php is what I used, but this does make a bit of a fuss about disabling the visual editor which can be worked around by using the Deactivate Visual Editor plugin on just the pages with code in the body.
Statistics: Posted by guileshill — July 15th, 2010, 1:40 am
]]>2010-07-14T16:09:55-05:00http://www.primothemes.com/forums/viewtopic.php?t=379&p=1538#p1538 Yes, you can use one of the s2Member API Constants for this. These are documented in your WP Dashboard, under: s2Member -> API Scripting -> Constants. You will first need the Exec-PHP plugin installed, then you can pop something like this into the HTML tab of your WordPress Editor on ANY Post/Page.
Code:
<?php echo S2MEMBER_CURRENT_USER_FIRST_NAME; ?>
Statistics: Posted by Jason Caldwell — July 14th, 2010, 4:09 pm
]]>2010-07-14T06:04:45-05:00http://www.primothemes.com/forums/viewtopic.php?t=379&p=1520#p1520Statistics: Posted by guileshill — July 14th, 2010, 6:04 am
]]>