Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding profile fields to admin and mod icons


  • Matt Edminster
    Participant

    @chiinook

    Hello,

    I’ve been customizing the layout of my group pages. One of my adjustments is to remove admin and mod icons from the header and place them in the sidebar as a vertical list. (We are using groups for departments in our organization with admins = department heads and mods = managers.) I would like to include profile meta next to each icon so that the list would appear something more like entries in the Members archive. But I understand that the call in the header is bp_group_list_admin () or bp_group_list_mods() rather than the bp_group_members() loop.

    Can I add profile fields to the group_list_* functions?
    Or can I make multiple group members loops for each group role?

    What’s the code I need to accomplish this?

    You can see what I’m talking about at alongside.org/groups/estonia

Viewing 1 replies (of 1 total)

  • shanebp
    Moderator

    @shanebp

    Instead of using bp_group_list_admin(), use bp_group_admin_ids() and then write your own display loop. Review both functions in bp-groups/bp-groups-template.php

    Ditto for bp_group_list_mods()

Viewing 1 replies (of 1 total)
  • The topic ‘Adding profile fields to admin and mod icons’ is closed to new replies.
Skip to toolbar