I'm having a hard time figuring out how I can get some extra profiles fields that are in wp_usermeta into the members loop.
I'm trying to get the value of "profile_company"
I've seen a lot of posts saying that this should work. But it doesn't.
<?php echo bp_member_profile_data('field=profile_company'); ?>
I also don't have any problem getting this field on my single profile page using this
<?php $ud = get_userdata( bp_displayed_user_id() ); ?> <h2><?php echo $ud->profile_company; ?></h2>
I'm using Buddypress 1.7