Buy Now
Sign in

Email Validation Plugin Tutorial

rstevens , May 13 2009
R
rstevens
I have searched for basic information about how to use the email verification plugin to confirm that a real person submitted a form or to set up a double-opt in newsletter registration form where someone can click on a link in the email they receive to validate the form they submitted. Can someone direct me to that? Thanks. Chronoforms is a great product, and I wish to use it for many purposes.
GreyHead
Hi rstevens,

There are two anti-spam Captch options. ChronoForms has one built in that you can turn on in the Anti-Spam tab. If for some reason this doesn't work for you then there's a plugin to enable a ReCaptcha verifier.

There isn't any double opt-in tool at the moment but this wouldn't be hard to set up from scratch. It might be possible to build a plugin too, I have to do one next week and will think about it.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
R
rstevens
Thanks. Is there a basic explanation of how to use the email validation plugin?
GreyHead
Hi rstevens,

Apologies - I hadn't even noticed that there was an Email Verification plugin now.

From a quick look the first tab is like the ChronoForms Email Setup and Template combined except that the remail will have a link added by ChronoForms; and the last tab wants a database table and field name to record the verification.

The second tab lets you add code for extra actions at each main stage. I think that for testing purposes you can leave all of these blank.

Most of this is explained on the tooltips. Do come back and ask if you ahve any more questions and I'll do some more digging around.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
X
xplod
I have a problem, when i activate de plugin, it stops to send emails and dont send the Email Validation. Can u help me?

TKS
GreyHead
HI xplod,

I can only imagine that there is something wrong with the plugin or the configuration.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
J
jmarian1
Hi Bob,

I know this is an old post but wanted to know if there is a tutorial using the email verification plugin. Using the explanation on each line, I managed to insert all the information, however, inserting the {vlink} in the message which is the verification link, will go to original form when you click it. Is there a way using the verification link will go to confirmation page? Email verification plugin is a good one for newsletter sign-up. Please advice. Thanks.

Jenny
J
jmarian1
Just checking if there is answer to my latest post.
RE:
Using the explanation on each line, I managed to insert all the information, however, inserting the {vlink} in the message which is the verification link, will go to original form when you click it. Is there a way using the verification link will go to confirmation page? Email verification plugin is a good one for newsletter sign-up.

Please advice. Thanks
GreyHead
Hi jmarian1,

I'm not sure but you could add code to the original form to recognise that it is being called from a vlink and behave differently.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
P
peacemaker
Hi, I am also trying to find the correct link to the Email Verification Response action in V4.
Just adding my voice, I believe more persons will soon be asking this same question. This is the one thing that is preventing my from placing the form for public use. Emails, uploads, everything else works.
Please help!
GreyHead
Hi peacemaker,

What exactly is the problem you have? I don't think anyone else haas posted about Email Verification in CFv4.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
P
peacemaker
Thank you for your response,
I have created a form in V4 and I am now in the process of adding the email verification sender and response actions.
The sender action asks for a 'Verification code field name' and a 'Verification status field name', both of which I have created a field for in the database, and entered the field names.
It is with the 'Verification link path' field that i am lost.
The help suggests that the link to the actual form is the one to use, but that does not work. When I use {verification_link} in the email the link just displays a blank form. Also, when I check the database, there is no verification code or status stored after the form is submitted.
From working with forms, as well as working with forms from a previous version of chronoforms, I am expecting something like "http://websitename.com/index.php?option=com_chronocontact&chronoformname=form_name&task=beforeshow&uid=INDgyYWRiN2NhZDAzd6a8d11fda200e605abab88c60d4c546".

I hope this explains it better.
P
peacemaker
I guess this is a tough one?
GreyHead
Hi peacemaker,

Sorry, the post slipped through the net the first time around :-(

It is a tough one . . . and there is a bug in administrator/components/com_chronoforms/form_actions/email_verification_sender/email_verification_sender.php at line 26 replace the exisitng line
    $form->data['verification_link'] = $params->get('verification_link_path', 
      $CF_PATH.'index.php?option=com_chronoforms&chronoform='.$form->form_name&action=verify&hash='.$form->data[trim($params->get('verify_field'))];
with this
    $form->data['verification_link'] = $params->get('verification_link_path', 
      $CF_PATH.'index.php?option=com_chronoforms&chronoform='.$form->form_name);
    $form->data['verification_link'] .= '&action=verify&hash='.$form->data[trim($params->get('verify_field'))];
The code was set up so that the action paramters were only added if you left the Verification link path empty (if you do so it defaults to the current form).

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
GreyHead
Hi all,

Here is a basic setup for the "Email Verification Response" part of the Email verification process.
27-03-2011 16-17-54.png

In each of the OnSuccess and OnFail events I've added a "Show Thanks Message" Action followed by a Show Stopper Action to prevent any further processing.

The Thanks Message boxes just have simple messages "Thank you, your email has been confirmed." and "We're sorry, we couldn't recognise that email :-(". They could be more complex if you wish.

Bob
Attachments
27-03-2011 16-17-54.png
27-03-2011 16-17-54.png
(22.16 KiB)
5941 Downloads/Views
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
P
peacemaker
Thank you very much,
The verification link is much better, but when I click on it a blank page appears.
Also, the verification code and status fields that I entered are still empty in the database.
I will continue to take a look at it tomorrow.
P
peacemaker
Thank you for your help so far.
However, I am still having a problem. The validation email is sent and the verification link looks correct. When I paste the link into the address bar the page appears blank.

Maybe I have the Email Verification Response settings incorrect.
I have created two fields in the database to store the verification code and the status. When I check the database afterward all of the other fields are populated except these two.
[file=][/file]
P
peacemaker
Okay!! The problem with the population of the databases was that I had the DB Save action before I the email verification sender action.

I have confirmed in the database that the verification status is being changed. However, the show thanks message actions are not working. Still no message being displayed.

will keep working on it.
GreyHead
Hi peacemaker,

I can't think of any obvious reason why the Thank you message won't display :-(

By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
P
peacemaker
Thank you very much, the upgrade to RC1.7 worked.