[buddypress-trac] [BuddyPress] #3443: A proper way to disable activation e-mails for new sign up?

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Aug 6 18:12:47 UTC 2011


#3443: A proper way to disable activation e-mails for new sign up?
-------------------------+-----------------------------
 Reporter:  cupid4       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Core         |     Version:  1.5
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by cnorris23):

 Oh, well in that case, for a WP Multisite install, try this:

 {{{
 // Change the text on the signup page
 add_filter( 'bp_registration_needs_activation', '__return_false' );

 function my_disable_activation( $user, $user_email, $key, $meta = '' ) {
         // Activate the user
         bp_core_activate_signup( $key );

         // Return false so no email sent
         return false;
 }
 add_filter( 'wpmu_signup_user_notification', 'my_disable_activation', 10,
 4 );
 }}}

 This should work if placed in a plugin, you themes functions.php file, or
 your bp-custom.php file.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3443#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list