add_filter( 'bp_core_signup_send_activation_key', 'ps_disable_activation_email' );
function ps_disable_activation_email() {
return false;
}
Please try this code.
@prashantvatsh AM new with wordpress, can you pls tell me how to go about it.. where to add the code..
https://wordpress.org/plugins/code-snippets/ Please add this plugin and then in snippets add a new snippet and paste the code.
Thanks
okay will try it out, will be right back to give you feed back
@prashantvatsh thanks, the email ACTIVATION Stopped but how can i change this message [You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.] to this one message [ Your membership account is awaiting approval by the site administrator ] so my members wont be confused
add_filter( 'gettext', 'ps_change_activation_message', 20, 3 );
function ps_change_activation_message( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.' :
$translated_text = __( 'Your membership account is awaiting approval by the site administrator.', 'buddypress' );
break;
}
return $translated_text;
}
Please add this snippet as well.
Thanks
@prashantvatsh thanks alot all the issues are fixed
@prashantvatsh sorry for disturbing, but is they a way for my members to receive mail that i have approved their registration..
Hi,
You can use this plugin https://wordpress.org/plugins/bp-registration-options/ which allows moderation and members will be restricted to their own profile till when they are not approved. And after approval, a mail will be sent to them.
Maybe this solution can help you with what you want to achieve.
Thanks