[buddypress-trac] [BuddyPress] #5032: Sending group invite to member that has requested group membership doesn't work
buddypress-trac
noreply at wordpress.org
Thu Oct 17 19:00:13 UTC 2013
#5032: Sending group invite to member that has requested group membership doesn't
work
-----------------------------------+------------------
Reporter: Mike_Cowobo | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 1.9
Component: Groups | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+------------------
Comment (by boonebgorges):
Mike_Cowobo - Sorry for the delay on this one, I've been waiting for a
time when I could devote adequate attention. It's pretty complex.
I'm going to go pretty much exactly with your workflow, but I'm going to
change the logic of it a bit, for efficiency's sake. Instead of adding
additional database methods/wrapper functions for fetching requests +
invites, I'm adding flags for `is_pending` (in other words, "has sent
request") and `is_invited` ("has been invited") to group query objects.
This'll greatly reduce the overhead required during group loops.
As for my (b) above, I've opted to include a short message in the markup
return by the AJAX request when checking the appropriate box on the Send
Invites page. I think that's good enough.
Thanks again for your work on this thorny but important issue.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5032#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list