[buddypress-trac] [BuddyPress Trac] #6356: Filtering the group invites list
buddypress-trac
noreply at wordpress.org
Sat Apr 11 15:54:21 UTC 2015
#6356: Filtering the group invites list
--------------------------------+--------------------
Reporter: henry.wright | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.3
Component: Component - Groups | Version: 2.2.1
Severity: normal | Resolution:
Keywords: |
--------------------------------+--------------------
Comment (by henry.wright):
The need to filter the invites list came about during development of a
plugin imath and I were working on for CF Community. We are restricting
group membership according to member type. See here:
Ref https://github.com/CFCommunity-net/buddypress-group-
restrictions/blob/master/includes/functions.php#L247
Imagine the scenario where a member who created the group has 100 friends,
but none of which are eligible to join the group because their member type
isn't allowed by that group. Hence my filter returns 0 eligible friends
that are available to invite.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6356#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list