Verify email-adresses in guest comments
dsms - May 10, 2009 - 14:28
| Project: | Email Verification |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Jump to:
Description
Hi!
Since it is possible to force a guest to provide his contact information,
on comment-forms, it would be very useful if the e-mail adress is verified.
This makes especially sense in combination with the Comment Notify module.
Thanks in advance!

#1
That sounds like a useful feature. I don't have time to look at it now, but if somebody can provide a patch I can review and apply it.
I wonder if there is a hook in the comment code to allow a third-party module like email-verify to check the email. Otherwise it will need modification of the (core) comment module.
#2
Also very useful for Rules
But in general it is important to get the commenter's correct address
#3
Sorry, I had no time to prepare a patch, but here is an outline how I would to it:
1. adding an own validate-function to $form['validate'] via hook_form_alter() to the comment form
2. Implement the validate-function in the Email-Verification module
3. set_form_error if email address isn't valid
that should be all ;)