• Resolved crispyduck00

    (@crispyduck00)


    Hi,

    Can not get the email verification working.

    When a user registers, it receives the confirmation link, but when opening the link following Error is displayed:
    Error: The account cannot be activated. Please contact site administrator

    Looking in the Backend I can see the user under unverified users also with the verification type email.

    Any idea what could be the cause for this and how and where I can debug it.

    If I deactivate the verification the user is directly after registration active.

    br

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter crispyduck00

    (@crispyduck00)

    And when I try to verify the user manually I also get the error verification code expired.
    I am still on the free version till I know this is what I want, so there is no option to let the codes expire also in the DB the code has 0000-00-00. Also when I try to change the expiration date it does not work.

    I am on WP 5.89 and the system is in german.

    Plugin Contributor genetech

    (@genetech)

    Hi,

    If a user is unverified, their account isn’t activated, hence they can’t log in.
    In Email Verification, an email is sent to the user’s email address that was used to register, to verify their email address.

    Can you elaborate on how you verified the user manually?

    You can verify the user from the unverified users’ list.
    See Screenshot: https://i.imgur.com/IXNhMSI.png

    The expiry date for the Invitation Codes is not available in the community version.

    Thank you

    • This reply was modified 3 years, 1 month ago by genetech.
    Thread Starter crispyduck00

    (@crispyduck00)

    As I wrote in the first post, the user receives the mail with the confirmation link, but when opening the link the user just gets:
    Error: The account cannot be activated. Please contact site administrator

    Yes, I am trying to verify the user manually from the unverified users’ list, as in the screenshot.

    I know that the expiration code is not available, that is also the question why I get the message that the code is expired???

    Both, manual verification by admin and verification by email are not working. Seems the system always things the code is expired, even there is no expiration code.

    Only option I can use actually is disabling verification, then the user can register with the code and the account is activated.

    regards,
    cb

    Thread Starter crispyduck00

    (@crispyduck00)

    Here Screenshots of the error and also the error when trying to manually verify the same user: https://imgur.com/a/pbHALYU

    Site is in German, but the meaning of the error messages is as written above.

    regards
    cb

    Plugin Contributor genetech

    (@genetech)

    Hi,

    Please check if the usage of the invitation code used by the user has been completed.
    See Screenshot: https://imgur.com/a/o9VVol7

    If the usage count for the invitation code is finished, it won’t allow users to register, rather it gives an error “The account cannot be activated. Please contact site administrator”.
    Also, the admin can’t verify the user as well. You would have to increase the usage in order to verify the user.

    Thank you

    Thread Starter crispyduck00

    (@crispyduck00)

    Hi, no the code is still active, I tried with several ones, unlimited ones and also ones that can be used 5 times,…

    Is there some log or debug message where I can check what the problem could be?

    Br

    Thread Starter crispyduck00

    (@crispyduck00)

    Hi! I saw you tested it many times so I expect you have been able to reproduce it.

    Already any Idea what could be the cause for this misbehavior?

    Thank you

    Plugin Contributor genetech

    (@genetech)

    Hi,

    We replied to your contact form query yesterday:

    `We tested your site with invitation codes having usage and it’s working fine.
    Unless the Invitation Code usage is not completed, a user can be verified.
    Please check: <a href=”https://www.loom.com/share/fd27e105e866461c94c9c95c46772483&#8243; rel=”noopener” target=”_blank”>https://www.loom.com/share/fd27e105e866461c94c9c95c46772483</a&gt;

    Although, when the usage is set to 0 i.e: an infinite number of times, the user fails to get verified. We have fixed that issue.
    Please check and let us know.`

    We will also add the fix in our next release.

    Thank you

    Thread Starter crispyduck00

    (@crispyduck00)

    Hi! Sorry your email was in the spam folder and I did not see it.

    Thanks for the great support.

    I now know why it is/was working when you tried it and not when I tried it several times.

    I want to have codes that are only one time valid, so I set usage to 1 (0/1) so I expect a user can register one time with this code, but this is not possible with email verification.
    It seems the code is then two times used, 1x register, 2x for verification.

    So if I set all my codes to 2, it will work. Don’t know if this is a normal.

    I would expect that the usage number that can be set for each code represents the time a user can use it for registration regardless if email verification is used or not.
    With email verification or also admin approval each code is used two times, 1x register and 1x verification. Is this a expected behavior?

    If you want you can check it, your account (WP and FTP) is still active.`

    Best regards

    Plugin Contributor genetech

    (@genetech)

    Hi,

    The invitation codes are not considered used when they are assigned to unverified users. Unless a user is verified with the code they have used, the count of the code remains unchanged. (Please refer to the video in the last reply)

    So, if two users register with the same invitation code (having usage set to 1), they are allowed to register. Their account remains inactive, as they are pending being verified (either admin or email verification).

    When anyone of them is verified, the count of the invitation code becomes 1 (usage has been completed). So, when the other tries to verify, they can no longer be verified as the usage of the invitation code has been completed.

    We found out that when global verification settings were selected in the form, things were not working as expected.
    See Screenshots: https://i.imgur.com/EvhwjP7.png, https://i.imgur.com/GDJSDe4.png

    We have fixed that as well. Please check and let us know.

    Thank you for your corporation.

    • This reply was modified 3 years, 1 month ago by genetech.
    Thread Starter crispyduck00

    (@crispyduck00)

    Thank you!

    Great support. Works now exactly as expected.

    I will now configure the rest as the site should go online over the weekend.

    One important question, did you make the changes only locally at my install or generally for the plugin? What happens on re installation?

    And if I now buy the premium/advanced, will it stay as it is just enabling the additional features?

    regards

    Plugin Contributor genetech

    (@genetech)

    Hi,

    Glad to hear that.
    Can you please write the plugin review here.
    This keeps our team motivated.

    For now, we have fixed it locally. Download the plugin from your FTP for reinstallation.
    If you want to buy it now, we’ll add it to your premium plugin as well.

    We will add the fix in our basic and premium plugin in our next plugin release and update you.

    Thank you

    Thread Starter crispyduck00

    (@crispyduck00)

    Review done!

    Okay, then I will make a backup and wait for the next release.
    For this small site the basic plugin is fine, but would like to add it also to my other sites replacing another plugin, there I would need the advanced or pro plugin, but this is not so urgent.

    Thank you!

    Plugin Contributor genetech

    (@genetech)

    Hi,

    Appreciate it!

    Sure, we will update you.

    Thank you

    Hi!

    I have a similar problem!

    But in my case the usage of the invitation code is 1/1 when a user has registered with the code and when the user verifies the eMailadress the Message is “invalid activation code”.

    Or is this a problem caused by your fix?

    Kind regards
    Melanie

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Email verification not working’ is closed to new replies.