Hello @ulises2010,
UM does not have any setting or option to customize this message at this time.
Hi @ulises2010
Could you please provide a screenshot of the text that you’re referring to? You can upload the screenshot via imgur.com and then share the image URL here so we can review it.
Regards,
Hi @ulises2010
..Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂
Regards,
I’m so sorry, I don’t see the message
https://ibb.co/7WSGRtW
This is the screenshot with the message I want to modify
-
This reply was modified 4 years, 9 months ago by
ulises2010.
Hi @ulises2010
Do you have an English version of the message?
Regards,
I’m sorry, but I only have an spanish version, but is the message when you try to login and you still don’t verify it. The message say something like:
“Your account is waiting for your mail verification”
Hi @ulises2010
Are you using a translation plugin?
Have you tried changing the text in Spanish with your translation plugin?
You can override the English text with the code snippet below but you will still have to translate it to Spanish:
function um_092321_hook_logincheck( $user, $username, $password ) {
if ( isset( $user->ID ) ) {
um_fetch_user( $user->ID );
$status = um_user( 'account_status' );
switch( $status ) {
case 'inactive':
return new WP_Error( $status, __( 'Your account has been disabled.', 'ultimate-member' ) );
break;
case 'awaiting_admin_review':
return new WP_Error( $status, __( 'Your account has not been approved yet.', 'ultimate-member' ) );
break;
case 'awaiting_email_confirmation':
return new WP_Error( $status, __( 'Your account is awaiting e-mail verification.', 'ultimate-member' ) );
break;
case 'rejected':
return new WP_Error( $status, __( 'Your membership request has been rejected.', 'ultimate-member' ) );
break;
}
}
return $user;
}
remove_filter( 'authenticate', 'um_wp_form_errors_hook_logincheck', 50, 3 );
add_filter( 'authenticate', 'um_092321_hook_logincheck', 50, 3 );
You need to modify the text in the above code. You can add the Code to your theme/child-theme’s functions.php file or use the Code Snippet plugin to run the code.
Regards,
-
This reply was modified 4 years, 8 months ago by
Champ Camba.
Hi @ulises2010
..Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help… 🙂
Regards,
Hey there!
This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.
Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂
Regards,