• Resolved diyafury

    (@diyafury)


    On the woocommerce login screen, when a current user that is not verified tries to log in, they get an email sent but the error message above the login form does not give the activation message, it only comes back with ‘ERROR: Invalid login details’.

    This is of course a problem as users will not know why their usual login details are suddenly unsuccessful. What am I missing?

    Help much appreciated.

    All seems to work fine for newly registered users in terms of the notice being displayed.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Zohaib

    (@zohaibayub85)

    Hi,

    Under the advanced settings Custom “logout” function please try and enable Replace standard wp_logout() function by a custom one.

    Thread Starter diyafury

    (@diyafury)

    Hi there I’ve tried enabling this but it did not work.

    We use the Woocommerce myaccount page (which will show the login/register screen) when not logged in.

    I have noticed that when an unverfied user is logged in, I manually unverify the user and then log the user out, I get the ‘activate’ message be cause a query string param is added to the url ?alg_wc_ev_activate_account_message=16361

    If I add this query string param to the myaccount page (login) then I get the message too, however it seems that this is not automatically added.

    Any ideas?

    Zohaib

    (@zohaibayub85)

    Hi,

    Can you please let me know what theme you are using. Can you also try and change the theme to the default WordPress theme and let me know if the issue persists.

    Thread Starter diyafury

    (@diyafury)

    Hi there

    We’re using a child theme of DIVI. I’m not sure it is theme related, perhaps I am misunderstanding the process.

    This is what I am expecting:

    1. Existing unverified user goes to login screen…. (No message displayed)
    2. User tries to login… receives an error message saying that they need to click on a link to verify their email address and check their email.
    3. User receives verification email
    4. Clicks on link in verification email
    5. Logs in

    What I am getting:

    1. Existing unverified user goes to login screen…. (No message displayed)
    2. User tries to login… receives an error message saying their credentials are invalid — nothing about verification.
    3. User receives verification email (only the first time they try to log in)
    4. Clicks on link in verification email
    5. Logs in

    Plugin Author WPFactory

    (@wpcodefactory)

    Hello @diyafury ,

    Probably you are referring to the error message:
    Your account has to be activated before you can login. You can resend the email with verification link by clicking here.

    And not the activate message:
    Thank you for your registration. Your account has to be activated before you can login. Please check your email.

    Please try one more option before anything:
    – Advanced > Authenticate filter

    If it doesn’t work, please try one more option that I just created for you:
    – General > Redirect on failure

    Even if the Custom redirect URL option is empty, there will be no problem. A ?alg_wc_ev_email_verified_error argument will be added to the URL that could help you displaying the message.

    The option is available on version 2.1.0 I just released.
    Please give it a try and let me know if it helps ??

    • This reply was modified 3 years, 5 months ago by WPFactory.
    Thread Starter diyafury

    (@diyafury)

    Hi there

    – Advanced > Authenticate filter worked perfectly. The error message displays correctly with the ‘resend email’ link. I click on the link, get an email… click the verification link in the email and is logged in – no drama!

    Thank you so much for sorting this out for me… I can now push live!

    Great plugin, great support!

    • This reply was modified 3 years, 5 months ago by diyafury.
    Plugin Author WPFactory

    (@wpcodefactory)

    Anytime, thanks!

    In that case, please consider leaving a review if you are enjoying the plugin/support. It would be much appreciated ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘I do not get the activation message for current users that are not verified’ is closed to new replies.