This topic contains 3 replies, has 2 voices. Last updated by Eduan 4 years, 5 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Jul 25th, 2012 at 5:00 am #20177 | |
I’m stumbled on various forum posts and some articles here a S2Member concerning accessing S2Member variables within posts, pages, and widgets. And of course i have some questions: (1) Some articles recommend the Exec-PHP plugin. I installed the plugin (I’m still in design and test mode) and it seems to be working. But I notice it’s not “officially” tested beyond WP 2.8. Do you still recommend this plugin, or do you have other alternatives you prefer? Now that I know I can embed PHP code in a post/page, I don’t think I could live without it. (2) In a couple of forum posts I noticed code like [S2If …. ] …. [S2EndIf]. And of course there are functions being used such as current_user_can() and current_user_is(). This is very cool indeed. Where can I get a list of the statements and functions that work inside HTML this way? (3) In some cases i merely want to do something like display the member’s first name as in “Welcome back Bruce!”. I can do this with the Exec-PHP plugin. Is there a way to do this without needing the plugin? Maybe the S2 statements noted in #2? (4) I learned we can have different pages display at login based on the number of logins and the membership level. Can we do a similar thing based on days? For example, at 30 days a member_level1 will be directed to an upgrade page, or at 90 days a member_level3 will be directed to a survey. I would want to base the “days” as “days within the given membership level” rather than since the initial signup. As I mentioned, I’m still in design and testing mode, so I’m willing to try just about anything. Every day I’m finding new things that I can do with S2Member. Thanks in advance. Bruce, |