Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Nur-Art
tagDiv Member

It’s impossible to have an update fix with the possibility we had before?

Thank you
Cristina

Nur-Art
tagDiv Member

Hi, thank you.
I fix the translation, this is what I get now (it’s without template anyway):

Password reset message

How can I get the link as clickable link and not like a written code text?
Then I’ll wait for the update 🙂

Many thanks
best regards
Cristina

Nur-Art
tagDiv Member

Thank you very much, if I try to add this sample code to the functions.php the reset password doesn’t work anymore:

//* Password reset activation E-mail -> Body
add_filter( ‘retrieve_password_message’, ‘wpse_retrieve_password_message’, 10, 2 );
function wpse_retrieve_password_message( $message, $key ){
$user_data = ”;
// If no value is posted, return false
if( ! isset( $_POST[‘user_login’] ) ){
return ”;
}
// Fetch user information from user_login
if ( strpos( $_POST[‘user_login’], ‘@’ ) ) {

$user_data = get_user_by( ’email’, trim( $_POST[‘user_login’] ) );
} else {
$login = trim($_POST[‘user_login’]);
$user_data = get_user_by(‘login’, $login);
}
if( ! $user_data ){
return ”;
}
$user_login = $user_data->user_login;
$user_email = $user_data->user_email;
// Setting up message for retrieve password
$message = “Looks like you want to reset your password!\n\n”;
$message .= “Please click on this link:\n”;
$message .= ‘<a href=”‘;
$message .= network_site_url(“wp-login.php?action=rp&key=$key&login=” . rawurlencode($user_login), ‘login’);
$message .= ‘”>”‘;
$message .= network_site_url(“wp-login.php?action=rp&key=$key&login=” . rawurlencode($user_login), ‘login’);
$message .= ‘”\n\n”‘;
$message .= ‘Kind Regards,<br/>Dream Team’;
// Return completed message for retrieve password
return $message;
}

Any other advice?
Many thanks

Nur-Art
tagDiv Member

Yes, sorry if I asked two times but this website went down in last days so I wrote directly on evanto.
Thank you very much,
best regards 🙂

Viewing 4 posts - 1 through 4 (of 4 total)