Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-24T23:58:07-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16965 2012-01-24T23:58:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16965&p=61504#p61504 <![CDATA[Re: Display custom profile fields?]]>

Statistics: Posted by Raam Dev — January 24th, 2012, 11:58 pm


]]>
2012-01-23T19:05:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16965&p=61349#p61349 <![CDATA[Re: Display custom profile fields?]]> Statistics: Posted by boldplans — January 23rd, 2012, 7:05 pm


]]>
2012-01-23T17:56:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16965&p=61343#p61343 <![CDATA[Re: Display custom profile fields?]]> WP Admin -> s2Member -> API/Scripting -> s2Member PHP/API Constants -> S2MEMBER_CURRENT_USER_FIELDS. You can retrieve any of the custom fields through the examples shown there.

For example, to retrieve a custom field called googleplus, you might do this:

Code:
<?php $fields json_decode(S2MEMBER_CURRENT_USER_FIELDStrue); ?>
<?php 
echo $fields["googleplus"]; ?>
This would output the value of the Custom Field 'googleplus'.

Statistics: Posted by Raam Dev — January 23rd, 2012, 5:56 pm


]]>
2012-01-21T04:04:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16965&p=61163#p61163 <![CDATA[Display custom profile fields?]]>
With Wordpress standard fields, this is much simpler. In fact, you can create additional profile fields by making an edit in the core Wordpress code (or use a plugin) and then when all the Authors of a site are output, the loop will be able to output all of their basic profile information (such as the basic AIM and Yahoo fields that are stock Wordpress.)

I only was able to find a convoluted hack which, if true, would make profile fields of limited value. While I like users to have a profile page, there is no way to have that same information appear in an author bio that appears on post pages. Hopefully all of this is not that difficult.

In addition - does S2 store IP Address information for each registered user such as the IP address they regiestered from? I see some indication in S2M that it does, perhaps storing it in each blog instead of once in the primary user table. It appears that Wordpress does not do this and it should for numerous reasons.

Statistics: Posted by boldplans — January 21st, 2012, 4:04 am


]]>