The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Check E-mail Address Before Registration Details »» | |||||||||||||||||||||||||||
Check E-mail Address Before Registration
Developer Last Online: Mar 2017
This mod checks that the user supplied e-mail address is a real address before allowing registration to continue.
Even though we use Verify Email address in Registration, I still get tired of cleaning up bad e-mail addresses. This mod integrates with the user registration process and performs the following tasks:
Install the attached xml product file. The product is active at installation and most sites should run fine with the default settings. If you run the default configuration, e-mail addresses will be rejected when:
This mod is managed from the vBulletin Options -> User Registration Options page. The following options are added to the page:
Show Your Support
|
Comments |
#72
|
||||
|
||||
Thanks.
|
#73
|
|||
|
|||
This is a good mod, however, it can lead to Yahoo rejecting mail from your forums if many of your users register with Yahoo email addresses.
To avoid this, disable the use of this mod on Yahoo-based email addresses, via replacing : Code:
if (!validate_email($vbulletin->GPC['email'])) { $userdata->error('os_email_notvalid'); } Code:
if (!preg_match("/yahoo/i", $vbulletin->GPC['email'])) { if (!validate_email($vbulletin->GPC['email'])) { $userdata->error('os_email_notvalid'); } } The search string is deliberately kept as "yahoo", and not "yahoo.com", to avoid cases of other possible domains (like "yahoo.fr" and "yahoomail.someotherdomain") getting past the check. |
#74
|
||||
|
||||
Just FYI; since I installed this, I'm averaging about 2-3 'Contact Us' messages a week from guests who are wanting to register with email accounts at like sbcglobal.net or other major domains. They complain that they can't due to an error regarding 'contacting their email server'.
Although I totally love the idea & am sure it works most of the time, I can't loose those members & therefore must disable this mod. v |
#75
|
|||
|
|||
I just got word from a member with a cox email address that he gets this message:
"Please enter another e-mail address. We were unable to contact your e-mail server and verify that your e-mail address exists. If you continue to have registration problems, please contact us for assistance." Could it be because he is using opera or mozilla? |
#76
|
|||
|
|||
Wow, thank you so much for this. The thing that I dislike about vBulletin is that it often has a lot of bots that will come on your forums and spam the living hell out of them. Atleast with a tool like this, it will prevent many of them from doing so. Not only that, but, if they do actually verify their email, then come and spam your website, you will know that their email is real. If this happens, its not very hard to spam them back.
Bottom line is, I love you. Haha. |
#77
|
|||
|
|||
Quote:
Quote:
Whenever you are contacted by someone saying that they cannot access the website due to email restrictions, simple add that email server to the .xml script. Here, I will show you what I am trying to say. Okay, so first things first. You are going to want to open your os_validate_email_1.0.xml file. Once the file is open to editable mode, search for the following: Code:
if (!validate_email($vbulletin->GPC['email'])) { $userdata->error('os_email_notvalid'); } Code:
if (!preg_match("/yahoo/i", (" $vbulletin->GPC['email'])) { if (!validate_email($vbulletin->GPC['email'])) { $userdata->error('os_email_notvalid'); } } Now, I am going to explain how you are to go about adding more email servers to the list. This is very simple, and you won't take long to figure it out. As and example, I am going to add sbcglobal to the list. Okay, inorder to add another email server to the list, you are going to want to paste the following code right after "/yahoo/i",: Code:
"/sbcglobal/i", Code:
if (!preg_match("/yahoo/i", "/sbcglobal/i", (" $vbulletin->GPC['email'])) { if (!validate_email($vbulletin->GPC['email'])) { $userdata->error('os_email_notvalid'); } } I am sorry if this doesn't work properly, I'm really not that great of a web programmer as I personally prefer to work with Java, but I thought I would speak up and help those in need . Best Regards, Layne |
#78
|
||||
|
||||
its not working ...i enterd fake email as rolins575367899@yahoo.com and it allowed the registration on vb 4.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|