Forum: Xprofile Fields

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Xprofile Fields premium extension please open a new premium support ticket.

[Resolved]Displaying xprofile fields in buddypress members list

Home Forums Xprofile Fields Displaying xprofile fields in buddypress members list

This topic contains 2 replies, has 2 voices, and was last updated by  Eyal Fitoussi 3 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #51788

    Carrie Bishop
    Participant

    Hi,

    I’ve added an extended profile using xprofile fields, and I’m displaying some of the fields on the members list page. But, if someone has left a field blank, their profile is displaying the data for the last member who did complete that field. (So, if I didn’t put my city but the person displayed before me did, that person’s city is showing in my profile.) You can see what I mean here: http://yarngroup.wpengine.com/members/

    I copied members-loop.php to a buddypress folder in my main theme folder, and here’s the code I added to display the name, city and state:

    Is there some additional code I need to add to make sure that field data from other members isn’t displaying in the wrong profile?

    Thanks!

    #51793

    Eyal Fitoussi
    Keymaster

    Hi Carrie,
    The script seems to be fine so I am not sure what it is happening.

    You can try specifying the member ID in the function.

    You can get the member ID using:

    Then get the field data using:

    I hope that helps.

    #51950

    Eyal Fitoussi
    Keymaster

    This topic marked “Resolved” due to inactivity. If you wish to reply to this topic please change its status to “Not resolved”  before replying.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.