Skip to:

Group admin listed as member

  • Profile photo of Ben


    Specifically, how to get this to happen.

    The group members listing seems to exclude any group admins from the list. Is there any way to override this?

    There doesn’t seem to be a bp_group_admin_avatar() function. Will I have to create my own function to do this, or am I missing something really obvious?

    I have had a look around, but not had any luck finding a solution or others with this question; I suspect this is due to the interchangeability of the terminology within the question itself.

    If anyone has any ideas, it would be greatly appreciated. Thanks!

    WP 3.4.2
    BP 1.6.1

Viewing 2 replies - 1 through 2 (of 2 total)
  • Profile photo of Hugo Ashmore
    Hugo Ashmore


    Shouldn’t be excluding admins the loop passes the arg ‘exclude_admins_mods=0’ ‘0’ being ‘false’ so it’s defaulting to showing group admin/mods you would need to specifically filter them out with ‘1’

    No there is no group admin avatar function, but if you wanted to show an avatar to denote a person is a group admin it shouldn’t be too hard to do by checking if user is bp_group_is_admin() and if true calling your own link to an uploaded image in the media library

    Profile photo of Ben


    Sorry, this is my bad. I should have clarified more in the OP.

    Within groups/single/home.php I am invoking `bp_group_member_avatar()` within a loop.

    The list of avatars includes all member avatars, but excludes any avatars of admin members. Admins are members of the group too, no?

    Thanks again. :)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Group admin listed as member’ is closed to new replies.
Skip to toolbar