Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group members list

  • Avatar of hkcharlie
    hkcharlie
    Participant

    @hkcharlie

    Two parts to this question.

    1) I have created an optional “telephone number” field in the profile details of my users and I would like this to display in the members list of a group, but not on the members list of the site. How would I do this?
    2) Can I put my group members list (and my full members list for that matter) in alphabetical order?

    Any help greatly appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of hkcharlie
    hkcharlie
    Participant

    @hkcharlie

    Oh! and can I do this via my child theme?

    Avatar of hkcharlie
    hkcharlie
    Participant

    @hkcharlie

    I found this http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-fields-in-members-list-on-groups-page/
    but I don’t know where I need to put the code (obviously I need to edit it for the name of my field)

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    For profile fields you could either of the following:

    `bp_get_profile_field_data(‘field=location&user_id=’ . bp_get_group_member_id()) `
    Echo it or pass it to a variable
    or:
    `echo xprofile_get_field_data( ‘location’ , bp_get_group_member_id() ) `

    The file that runs the group members is `/groups/single/members.php`

    Edit a copy of that file and place the output where best suits your layout.

    Avatar of hkcharlie
    hkcharlie
    Participant

    @hkcharlie

    Something that has just occured to me, with what I am trying to do.
    Is it possible that we can make this happen for member list in Private groups only ?

    or even friends within a private group

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

You must be logged in to reply to this topic.