Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 8 years ago

Last modified 8 years ago

#4022 closed enhancement (fixed)

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

Reported by: rcain's profile rcain Owned by:
Milestone: 1.8 Priority: normal
Severity: minor Version: 1.5.4
Component: Groups Keywords:
Cc:

Description

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
13 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
10 years ago

  • Keywords close added

This got fixed in r7141

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


10 years ago

#4 @tw2113
8 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
8 years ago

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