Skip to:

Opened 9 years ago

Closed 4 years ago

Last modified 4 years ago

#4022 closed enhancement (fixed)

groups_get_group_members() - should also allow parameters for exclude_admins_mods, exclude_banned, exclude

Reported by: rcain Owned by:
Milestone: 1.8 Priority: normal
Severity: minor Version: 1.5.4
Component: Groups 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)

Change History (5)

#1 @johnjamesjacoby
9 years ago

  • Milestone changed from Awaiting Review to Future Release
  • Version changed from 1.5.3 to 1.5.4

Good idea but requires a bit of work. A bit late for 1.6, so moving to Future Release to think about for 1.7.

#2 @Mamaduka
6 years ago

  • Keywords close added

This got fixed in r7141

This ticket was mentioned in Slack in #buddypress by mamaduka. View the logs.

6 years ago

#4 @tw2113
4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

We can always re-open if George is not right regarding r7141. Closing for the meantime.

#5 @r-a-y
4 years ago

  • Keywords close removed
  • Milestone changed from Future Release to 1.8
Note: See TracTickets for help on using tickets.