Email Validation Rule

Email Validation Rule 1.0.0

No permission to download

semprot

Active member
semprot submitted a new resource:

Email Validation Rule - Use custom email validation rule such as regular expression.

Do you need regular expression to validate user's email?
Now you can do it, using a file edit :)

  • Please backup the file before modifying

You must edit this file :
Code:
/library/XenForo/Helper/Email.php
Find these lines :
PHP:
    public static function isEmailValid($email)
    {
        $validator = new Zend_Validate_EmailAddress();
        $validator->getHostnameValidator()
            ->setValidateTld(false)
            ->setValidateIdn(false);
        return...
Read more about this resource...
 

lms

Well-known member
The download link is wrong. Alwais go to xenforo.com.

Salud2
 

Petros

Member
(this pattern is just a sample. Do not use it without knowing what it means)
What the noobs like me should add? Can you suggest what we should add please
 

semprot

Active member
(this pattern is just a sample. Do not use it without knowing what it means)
What the noobs like me should add? Can you suggest what we should add please
If you don't have spammers in your forum that use similar email pattern, then you don't need this add on.

So it really depends on how spammers in your forum :)
 
Top