[buddypress-trac] [BuddyPress Trac] #8582: Add site membership requests.

buddypress-trac noreply at wordpress.org
Mon Dec 6 18:28:31 UTC 2021


#8582: Add site membership requests.
---------------------------+---------------------
 Reporter:  dcavins        |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  10.0.0
Component:  Members        |     Version:  9.1.1
 Severity:  normal         |  Resolution:
 Keywords:  needs-refresh  |
---------------------------+---------------------

Comment (by dcavins):

 Replying to [comment:20 imath]:

 Thanks for your message, imath. It seems that the thing that's annoying
 you is an underlying issue in BP that all boils down to one fixable
 problem: From the WP multisite "Manage Signups" screen, when you choose
 the "email" action, the default WP MS email is sent rather than the BP
 version. I'll work to change that behavior.

 Here are some general notes (that I made for myself) that I think will
 help clear up your other questions:

 Multisite registration
 option : bp_get_signup_allowed() : bp_core_get_root_option( 'registration'
 )
 1 - Registration is disabled : false : 'none'
   * No access to registration form
   * + Membership requests allows access to registration form (becomes case
 #2 with approval).
 2 - User accounts may be registered : true : 'user'
   * Access to registration form
   * + Membership requests are not enabled and don't change any behaviors.
 3 - Logged in users may register new sites : false : 'blog'
   * No access to registration form
   * Sites are listed at /sites/ if "site tracking" is enabled. New site
 creation happens at sites/create and is available to all registered users.
   * + Membership requests allows access to registration form, which
 includes the "I want a blog" section (becomes case #4 with approval step).
   * + Site is not created when request is submitted. (Good behavior.)
   * + Flow: Request submitted. Admin is notified. Admin approves. User
 gets WPMU email with activation language. (This is the same email that is
 sent when you select "Email" if option 4 is set, and what needs to be
 changed)
 4 - Both sites and user accounts can be registered : true : 'all'
   * Access to registration form
   * Registration form includes "I want a blog" section.
   * + Membership requests are not enabled and don't change any behaviors.

 The other thing you're seeing ("Resend approval" when approval hasn't been
 sent yet) is a result of missing meta at signup. I fixed the "registration
 is disabled" case via the WPMU meta filter I added in the recent patch.
 That issue was that the WPMU default functions don't add the `date_sent`
 and `count_sent` meta we need to know that nothing has been sent. However,
 apparently the "user + blog" signup path uses a different filter, ha ha,
 because of course it does.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8582#comment:22>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list