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
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

dbr - May 13, 2009 - 07:23
Status:active» needs work

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

jvieille - June 30, 2009 - 10:54

Also very useful for Rules
But in general it is important to get the commenter's correct address

#3

dsms - November 5, 2009 - 15:11

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 ;)

 
 

Drupal is a registered trademark of Dries Buytaert.