• Resolved neilovan

    (@neilovan)


    Hello, I think your plugin is excellent. I love it, but I am hoping to add some functionality. I have a soccer stats website, and I get a lot of users from countries where English is not the 1st language. It makes logging in and giving people the info that they need quite tough. For example I have 8600 registered users, but 4135 with unconfirmed email addresses.

    I would like to improve the login message…

    What I want to do is catch the error type. For me there are 3 login errors

    1) User name or email invalid
    2) Password invalid
    3) Email NOT verified yet . At the moment only one message is displayed.

    Ultimately I would like to give the user help regarding problem 1) 2) or 3) in the language they can understand. But first I need to identify which problem they have.

    I downloaded and added the edit labels add-on, so can change the label text. I also added the [wppbc_resend_activation]. However, I only want to display this to the user if that is their problem.

    Keep up the excellent work,

    Thanks again,

    Neil.

    • This topic was modified 9 years ago by neilovan.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Teodor Cosofret

    (@teodor-cosofret)

    Hi Neil,

    Thank you for reaching out to us and for your kind words.

    From your explanation I understand that your website is translated only in 1 language.

    When trying to login using the PB Login form – [wppb-login]:

    If the username/email and password are incorrect the user should see the following notification: ERROR: Invalid username or email. Lost your password?

    If the username/email is correct but the password is incorrect the user should see the following notification: ERROR: The password you entered is incorrect. Lost your password?

    If the user didn’t confirm its email address it should see the following notification: ERROR: Your account has not been activated. Check your email for the activation link. If you have not received an email yet, click here to resend it.

    Would you like to modify these notifications in order to include more info? You could use the Labels Edit add-on (docs) for that.

    Let me know if this is what you are looking for.

    Best regards,

    Thread Starter neilovan

    (@neilovan)

    Hi Teodor,

    Thanks for your reply. OK excellent, your plugin already takes care of everything, in terms of catching the error and displaying appropriate message.

    I have added the labels edit add-on already and will investigate further.

    Thanks,

    Neil.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘catch login error’ is closed to new replies.