[buddypress-trac] [BuddyPress] #4022: groups_get_group_members() - should also allow parameters for exclude_admins_mods, exclude_banned, exclude

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Feb 19 03:36:21 UTC 2012


#4022: groups_get_group_members() - should also allow parameters for
exclude_admins_mods, exclude_banned, exclude
-------------------------+-----------------------------
 Reporter:  rcain        |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Groups       |    Version:  1.5.3
 Severity:  minor        |   Keywords:
-------------------------+-----------------------------
 function groups_get_group_members() - should also allow parameters for
 $exclude_admins_mods, $exclude_banned, $exclude - as per underlying
 BP_Groups_Member::get_all_for_group() method.

 since: a) normal groups template shows all users INCLUDING admin/mods and
 b) function groups_get_total_member_count() also returns number of members
 INCLUDING admin/owner (but excluding banned) - thus
 groups_get_group_members() should also have this possibility, whereas it
 EXCLUDES admin_mods at present and user has no chance to override
 (opposite) default.

 note: this refers to BP V 1.5.4 (not yet available on version drop down on
 this ticket system)

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4022>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list