Reply To: Remove User Activations
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?