Skip Navigation

[Resolved] forgot-password/?checkemail=confirm not showing success message

This support ticket is created 7 years ago. 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.

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)

Author
Posts
#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