Just subscribing because I’m also interested in a solution to this.
i don’t have the thread on hand but andy posted up a solution with filters/hooks to disable the email and change the user status
Hello,
Just bumping old thread if someone still find the solution.
You can disable sending activation email to new registrant by adding code below into your theme/child theme functions.php
`/* disable sending activation emails */
/* place this in your child theme’s function.php */
add_filter( ‘bp_core_signup_send_activation_key’, create_function(”,’return false;’) );`
Or I also put the code above on Pastebin:
http://pastebin.com/h6hCidML
Thanks,
Budi Nusyirwan
Hi!
If somebody still need to disable activation email, the following function works fine for me:
`
// 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 );
remove_filter( ‘wpmu_signup_blog_notification’, ‘bp_core_activation_signup_blog_notification’, 1, 7 );
add_filter( ‘wpmu_signup_blog_notification’, ‘__return_false’ );
`
Thanks to @cnorris23 for it! http://buddypress.trac.wordpress.org/ticket/3443
Hope it helps to someone
The last function has a bug, it activate the user after registration, but it’s still sending the activation key email using WP multisite, so it can be very confusing for the users, because they’re already active.
Any ideas to stop sending the activation key email?
Thanks
Ok, you can disable sending activation email to new registrant in WP multisite + BP installation by adding code below into your theme/child theme functions.php
`
// 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 );
//Disable new blog notification email for multisite
remove_filter( ‘wpmu_signup_blog_notification’, ‘bp_core_activation_signup_blog_notification’, 1, 7 );
add_filter( ‘wpmu_signup_blog_notification’, ‘__return_false’ );
// disable sending activation emails for multisite
remove_filter( ‘wpmu_signup_user_notification’, ‘bp_core_activation_signup_user_notification’, 1, 4 );
add_filter( ‘wpmu_signup_user_notification’, ‘__return_false’, 1, 4 );
`
Cheers!