You can avoid the need for activation email by using this code in bp-custom.php
function bp_disable_validation( $user_id ) {
global $wpdb;
$wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d", $user_id ) );
}
add_action( 'bp_core_signup_user', 'disable_validation' );
add_filter( 'bp_registration_needs_activation', '__return_false', 100 );
But the next screen will still inject this $title:
“Check Your Email To Activate Your Account!”
Even with a template over-ride!
I think it’s reasonable that if this filter is applied:
add_filter( ‘bp_registration_needs_activation’, ‘__return_false’ );
That you shouldn’t need a database operation.
And the $title should not be injected.
Currently, the only way I see to change that $title is to hack a core file.
Hacking core files is NOT recommended.
That said, see:
plugins\buddypress\bp-members\bp-members-screens.php and find Line 515.
[ I’d love to be wrong about all this and hope somebody has an easier approach. ]
If you’d like to help BP and anyone else trying to solve this problem,
please submit an enhancement ticket at https://buddypress.trac.wordpress.org/
Use the same user / pw you use here.
Now… a question for you… On your site http://causeanddesign.com you have a very nice help tour using overlay boxes. The first box says: “Welcome. Every nonprofit deserves good design and good technology.”
Did you write a custom script / plugin for this?
Or find an existing plugin?
Thank you for the prompt response. In my haste, I ended up using this plugin: ( http://www.timersys.com/plugins-wordpress/bp-disable-activation-reloaded ) although it wasn’t the ideal choice since I’m already using a lot of plugins.
I will definitely try this code out although the “Check Your Email to Activate Your Account” notification could still pose a problem. It just sounds like the kind of thing that wouldn’t bother me at first but then I would quickly become nitpicky about. Either way, I’m happy to just have a nice, easy way to override the activation email without the use of a plugin.
I do wonder if the users that had already registered prior to me using this override will be able to now log in just fine without still needing the activation email. I did a few test runs using the plugin I mentioned above and found that users who registered prior still needed the activation code to log in.
Finally, the help tour is a custom plugin built on top of twitter’s bootstrap 3 framework. I found the code for it here: http://bootstraptour.com/
It was very easy to install and only worked because the theme I’m currently using is built on the bootstrap framework.
Whoops! The link to the activation disabling plugin is actually here:
https://wordpress.org/plugins/bp-disable-activation-reloaded/