Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_get_profile_field_data in group members loop


  • g1r2e3g
    Member

    @g1r2e3g

    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)

  • @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.


    g1r2e3g
    Member

    @g1r2e3g

    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)
  • The topic ‘bp_get_profile_field_data in group members loop’ is closed to new replies.
Skip to toolbar