Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-20T11:00:03-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16945 2012-01-20T11:00:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16945&p=61105#p61105 <![CDATA[Re: Adding information to the members dashboard?]]> Thanks for the follow-up.

Well, it is currently not possible to further modify the output from [s2Member-Profile /]. However, it IS possible to build a list of information and/or other details about each account either above or below, or in concert with the Profile editing form if you like.

Here are some examples. You will find further documentation & additional details that are available for each User/Member in your Dashboard, under: s2Member -> API Scripting -> API Constants.

You might do something like this in your WordPress editor.
Code:
Your first name is: [s2Get constant="S2MEMBER_CURRENT_USER_FIRST_NAME" /]
Your last name is: [s2Get constant="S2MEMBER_CURRENT_USER_LAST_NAME" /]
Your username is: [s2Get constant="S2MEMBER_CURRENT_USER_LOGIN" /]
Your email address is: [s2Get constant="S2MEMBER_CURRENT_USER_EMAIL" /]
Your display name is: [s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /]

You paid through: [s2Get constant="S2MEMBER_CURRENT_USER_SUBSCR_GATEWAY" /]
You paid on (timestamp): [s2Get constant="S2MEMBER_CURRENT_USER_PAID_REGISTRATION_TIME" /]
You've been a paid member for: [s2Get constant="S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS" /] days.
Your account status is: [s2Get constant="S2MEMBER_CURRENT_USER_ACCESS_LABEL" /]
Your paid subscription ID is: [s2Get constant="S2MEMBER_CURRENT_USER_SUBSCR_ID" /]

Edit Your Profile below:

[s2Member-Profile /]


SNAG-0034.png


Of course, it is ALSO possible to extend your ability to obtain and parse details about each User/Member through PHP code. While the examples above use WordPress Shortcodes, your Dashboard includes documentation for PHP scripting as well, making all sorts of things possible for you.

In addition, if you use PayPal Pro, it is possible to pull extended information directly from your PayPal Pro API using the example provided in this post I'm referencing. You can pull the current status of their Recurring Payment Profile along with next billing date, and an array of other details.

See: viewtopic.php?f=4&t=2062#p7407

Statistics: Posted by Jason Caldwell — January 20th, 2012, 11:00 am


]]>
2012-01-20T03:53:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16945&p=61091#p61091 <![CDATA[Re: Adding information to the members dashboard?]]>

Statistics: Posted by tr3online — January 20th, 2012, 3:53 am


]]>
2012-01-19T22:44:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16945&p=61049#p61049 <![CDATA[Re: Adding information to the members dashboard?]]> What payment gateway have you integrated with please? Please let us know if you're running s2Member, s2Member Pro, and what version of WordPress/s2Member that you're operating with.

Statistics: Posted by Jason Caldwell — January 19th, 2012, 10:44 pm


]]>
2012-01-19T20:39:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16945&p=61034#p61034 <![CDATA[Adding information to the members dashboard?]]> I was just reading another post and have enabled the s2member specific profile redirect using [s2Member-Profile /].
I was wondering if there was a way to modify this form and display other things about s2member? Namely I would love to add the current users subscription date and/or the date that they are going to expire. These are features I really need.

Any information would be greatly appreciated!

Thanks!

Tre

Statistics: Posted by tr3online — January 19th, 2012, 8:39 pm


]]>