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! https://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! š
Great š Many thanks @_dorsvenabili and @bukrie to share a way to do it but it doesn’t work for me, with WP 3.5.1, BP 1.7.2, TwentyTwelve š then do you know if now something is new about this, thank in advance
at wp-login.php page, there is the following “ERROR: Your account has not been activated. Check your email for the activation link.”