Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to grab xprofile data?


gaysurfers
Participant

@gaysurfers

Hi r-a-y

I have tried to post specific xprofile fields with no success.
It did work but since I installed the new version of buddypress (Version 1.2.2.1) it seems to have stopped working.
http://www.gaysurfers.net/members/

I have tried the following:

<div class="item-meta"><?php bp_profile_field_data( 'field=Country' ) ?> - <?php bp_profile_field_data( 'field=Surf Spot' ) ?></div>

and also

<div class="item-meta"><?php bp_member_profile_data( 'field=Country' ) ?> - <?php bp_member_profile_data( 'field=Surf Spot' ) ?></div>

I don’t know which one to use, but anyway none of them works. Is there some more code I need to add for it to work?
Thanks

Skip to toolbar