[buddypress-trac] [BuddyPress Trac] #8139: Network Invitations and Membership Requests

buddypress-trac noreply at wordpress.org
Tue Apr 27 16:31:49 UTC 2021

#8139: Network Invitations and Membership Requests
 Reporter:  dcavins       |       Owner:  (none)
     Type:  enhancement   |      Status:  assigned
 Priority:  normal        |   Milestone:  8.0.0
Component:  Registration  |     Version:  5.0.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |

Comment (by dcavins):

 Hi @imath,

 The empty subject issue is strange. I had a problem like that early on
 when the required tokens weren't being supplied to the email function. But
 it's working for me in both legacy and nouveau, so I'm concerned about
 your issue.

 The super admin not having access to a user's invitations screen was
 related to the switch of the default screen from "list" to "send" and the
 admin not having access to the "send" screen (I'm using
 `bp_is_my_profile()` to limit access to that screen). I've resolved the
 issue by switching the nav parameters to
 `'default_subnav_slug'     => ( $user_can_send && bp_is_my_profile() ) ?
 'send-invites' : 'list-invites',`
 I think we should leave admin access there, because some people just
 prefer to do work on the front end.

 Thanks again for the review!

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8139#comment:46>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list