Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_get_profile_field_data in group members loop

  • hi all.

    can anyone explain why the group loop is so different to members loop? I made the layout of my members loop as I wanted it then thought it would be easy to do the same to group loop, but functions such as bp_get_profile_field_data() dont seem to work in the group members loop.

    Is there and equivalent to bp_get_profile_field_data() in the group loop?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of @ChrisClayton
    @ChrisClayton
    Participant

    @chrisclayton

    What data where you hoping to get?

    off the top of my head, if i remember correctly
    `groups_get_groupmeta( $group->id, ‘description’ );` will return the group description.

    Hi Chris… In the list of group members it as default has Name & Last activity…. But instead I want to display name and a couple of profile fields… in the members loop you can use bp_get_profile_field_data() but it wont work in the group loop

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.