Joomla user verification email

adamstin45 31 Oct, 2019
Hello,

I am currently creating a joomla log in form with chronoformsv6. The form is creating the user in joomla, just not activated yet. I have the email sending to the user however, when the user clicks on the link it sends them back to the sign-up form with the error message: "couldn't pass the noCaptcha verification" at the top of the form.

I am using a data builder to store the custom string {uuid:}
I am then saving the user to joomla with the Activation code provider as {data:activation_code}//the data builder
Email is being sent with "Activation link: {url.full:activate$code=(data:activation_code)}"
Then i have a seperate event with the user activation action with {data:code} as the activation code provider.

If you see where i am messing up please lmk!

Thanks!
Adam
healyhatman 02 Nov, 2019
Make sure the activation event is set to "standalone"
adamstin45 02 Nov, 2019
Thank you for your reply healyhatman.

That did get me one step closer. Now that the event is set to standalone, after the link is clicked on in the email, it is failing in the activation of the account. The debug information is displaying:
Array
(
    [chronoform] => sign-up-page
    [event] => activate
    [683d865b099a1c3b4c7dab97e603f0ed] => 4b727d5ebf1949d4dcecf9ff7cad0b03
    [vfdis] => 1572711862723
    [9e3967586b45408db35403ac4a031dd7] => 9548610c5c2c2c6c042b3fbd7c900de0
    [Itemid] => 708
    [option] => com_chronoforms6
    [view] => form
)
Array
(
    [joomla_user_activation29] => Array
        (
            [_error] => Missing activation data.
            [var] => 
        )

)
I'm assuming that the problem now is the code that is being sent via mail?
healyhatman 02 Nov, 2019
You've used code={data: activation_code} but are you generating it in the form, or in an action? Does data activation code actually exist?
adamstin45 04 Nov, 2019
I read in another forum that {uuid:} is where the activation code, for the user, was stored after the save user action. Is that incorrect? if so how would i go about generating the code?
adamstin45 04 Nov, 2019
Answer
I figured out the problem:
In the data builder i was using to store the string, i was saving it as a "data:" type variable instead of a "session:" type.
Also in the email i was sending, it was a syntax error. I used "Activation link: {url.full:activate$code={session:activation_code}}" instead of "Activation link: {url.full:activate$code=(session:activation_code)}.

Thank you for the help healyhatman!
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger