-
danbpfr replied to the topic Display a value of a particular custom profile field in the forum How-to & Troubleshooting 11 years, 8 months ago
you coded it wrong, and we don’t know where you coded it. The mentionned elements i give you should be into a function, and depending where it must appear, you have to add or alter an existing filter.
I can’t help you more because you don’t give any details for what you exactly want to do so , on witch theme (name?) and BP version…[Read more]
-
danbpfr replied to the topic Display a value of a particular custom profile field in the forum How-to & Troubleshooting 11 years, 8 months ago
works better by using both xprofile_get_field_data and a user_id !
$user_id = bp_get_member_user_id();
// if “Class” is the field name
$mystuf = xprofile_get_field_data( ‘Class’, $user_id );Application example here:
@arkokoley
Not recently active