Hey fellows!
I've tryed for hours and i can't go on, so, please, help me!
I need to retrieve a user's profile data, but i can't figure out how to do that.
I've tryed to make a function that do this for me based in the loop of the template file 'profile-loop.php', but i can't get a specific user data by giving the function the user id, can I?
I've used the following loop
while (bp_profile_fields()) {
bp_profile_field();
if (bp_field_has_data() ) {
bp_the_profile_field_name();
echo " => ";
bp_the_profile_field_value();
echo "
";
}
}