Skip Navigation

[Résolu] forgot-password/?checkemail=confirm not showing success message

This support ticket is created Il y a 7 années. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par marcB-6 Il y a 7 années.

Assisté par: Christian Cox.

Auteur
Publications
#589826

I have a page for forgot password.When I enter correct email I see "forgot-password/?checkemail=confirm" in url but it is not showing success message.

I put below code in my functions.php for custom messages with reference to : https://toolset.com/forums/topic/wpv_filter_override_auth_errors-creating-issue-for-success-messages/

add_filter('wpv_filter_override_auth_errors', 'custom_wpv_override_auth_errors', 30, 3);

function custom_wpv_override_auth_errors($message, $class = '', $code = '') {
    switch ($code) {
        case 'inactive_account';
            $message = __('<strong>ERROR</strong>: ', 'wpv-views');
            $message .= __('Your account is Inactive.Please contact the ICISA supportdesk at support@icisa.org.', 'wpv-views');
            break;
    }
    if ($code == 'inactive_account') {
        $message = '<div class="' . $class . '">' . $message . '</div>';
    }
    return $message;
}

Thanks

#589914
success.png

Hi,
The success message is included in the page source, it's just hidden by CSS in your child theme. See the attached screenshot. You must adjust this CSS to allow the success message to be displayed.

#590077

yes, thanks