Skip to:
Content
Pages
Categories
Search
Top
Bottom

Getting the Profile Field Data in Members Loop

  • Avatar of cybohmoob
    cybohmoob
    Participant

    @cybohmoob

    Latest Word Press and BuddyPress 1.7.

    I’ve been struggling to get the data from the custom field profiles.
    I have 3 Field Groups.
    Trying to get a Birthday data from the field Birthday which is in FIELD GROUP 3

    members-loop.php

    I am using this code.

    echo bp_member_profile_data(‘field=Birthday’);

    Also tried

    echo bp_get_member_profile_data(‘field=Birthday’);
    Also tried

    $birthday = xprofile_get_field_data(‘Birthday’,bp_member_name()); echo $birthday;

    No success. What am I doing wrong? Do I need to setup a function for this in bp-custom??
    Help.

    I just want to simply add these fields to display along with the defaults stuff on members lists.

You must be logged in to reply to this topic.