Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Validate email by MX lookup Details »
Validate email by MX lookup
Mod Version: 1.00, by fastforward (Member) fastforward is offline
Developer Last Online: Nov 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (3 votes - 4.67 average) Installs: 61
Released: 08 Apr 2002 Last Update: Never Downloads: 8
Not Supported  

This simple little hack will verify email addresses during registration and updates of profiles by doing an MX lookup against the domain to ensure somebody is accepting email for it.

It won't tell you if the actual user is valid on the domain, but it will prevent fake domains backing up in your mail spool and slowing everything down.

It requires one new error template and two simple code additions to register.php and member.php. Instructions attached.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 11 Apr 2002, 16:23
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Well, hotmail.com, yahoo.com etc. all work for my forums with this hack. That is when I don't ban them.
Reply With Quote
  #17  
Old 11 Apr 2002, 16:26
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
I will try it one more time, when user registration isnt full, it jus bothers me that a simple hack thats supposed to check a domain to make sure its a domain tell me that the 3 domains I tryed for the most popular email accounts on my forum are invalid
Reply With Quote
  #18  
Old 11 Apr 2002, 20:46
Ian's Avatar
Ian Ian is offline
 
Join Date: Mar 2002
Originally posted by hypedave
I will try it one more time, when user registration isnt full, it jus bothers me that a simple hack thats supposed to check a domain to make sure its a domain tell me that the 3 domains I tryed for the most popular email accounts on my forum are invalid
You must have the hack installed wrong... It works fine for me.
Reply With Quote
  #19  
Old 10 Jun 2002, 14:16
Takara's Avatar
Takara Takara is offline
 
Join Date: Apr 2002
Originally posted by hypedave
for some reason it didnt work on these domains for me

@yahoo.com
@hotmail.com
@excite.com
Do do do do, I hate to bring back hacks from the hack graveyard, but since Im installing this one I thought I should mention that the mx lookup doesnt work on win32 binary releases.

So, ppl with WINNT and 2K servers are out of luck.
Reply With Quote
  #20  
Old 26 Jun 2002, 14:19
Jawelin Jawelin is offline
 
Join Date: Nov 2001
getmxrr() not recognized !

This nice hack worked fine to me since I installed it months ago.
Now, suddendly, it stopped working on the same server and any UserCP update returns the error:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

On the server is installed PHP v4.2.1 and I have VB v2.2.6

Is there any php.ini config item missing or mistyped to enable the getmxrr() function ?

Thank you very much.
Reply With Quote
  #21  
Old 26 Jun 2002, 15:26
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Real name: Bob
I just installed this on 2.2.6 and php 4.2.1 and it works fine....the getmxrr function is still supported in this php release but not on Windows servers....
Reply With Quote
  #22  
Old 26 Jun 2002, 15:26
ColinP ColinP is offline
 
Join Date: Jun 2002
Unfortunately, I have a perfectly valid email address (colin@thedvdforums.dynip.com) that DOESN'T have a MX record but still works. Nice hack though and have installed it - if I get to many complaints I'll have to remove it though.
Reply With Quote
  #23  
Old 26 Jun 2002, 16:00
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
I have a small question. In my member.php file, it has " " instead of ' '. Does that matter? This:

$templatesused = 'redirect_updatethanks,error_fieldmissing,error_emailmismatch,error_emailtaken,e rror_fieldmissing,error_requiredfieldmissing,error_birthdayfield';
is this:

$templatesused = "redirect_updatethanks,error_fieldmissing,error_emailmismatch,error_emailtaken,e rror_fieldmissing,error_requiredfieldmissing,error_birthdayfield";
Should I change it to what's in the hack?
Reply With Quote
  #24  
Old 26 Jun 2002, 20:06
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Originally posted by Dark_Wizard
I just installed this on 2.2.6 and php 4.2.1 and it works fine....the getmxrr function is still supported in this php release but not on Windows servers....
I read that on php.net.
I'm on a Linux shared server and, since installed PHP 4.2.1, that function is not defined yet.
I receive the above mentioned message.

Thanks
Reply With Quote
  #25  
Old 21 Aug 2002, 19:03
sparky2 sparky2 is offline
 
Join Date: Jul 2002
Originally posted by hypedave
I will try it one more time, when user registration isnt full, it jus bothers me that a simple hack thats supposed to check a domain to make sure its a domain tell me that the 3 domains I tryed for the most popular email accounts on my forum are invalid
The hack called for insertion of the new code FOLLOWING the existing BAD_EMAIL function.

What you are describing sounds like you have listed
yahoo.com
among the "bulk email domains" to be banned,
under "Banning Options"
and have that setting (to check bad_email) enabled.

In other words, "bad email address" sounds like the earlier function matched/blocked the yahoo address(es) you tried.
Reply With Quote
  #26  
Old 24 Aug 2002, 08:06
Dolby's Avatar
Dolby Dolby is offline
 
Join Date: Oct 2001
Installed this and its working great so far on one of my really busy sites.

tested with @hotmail.com and a couple other email addys.

vb 2.2.6
vbp 3pr8.1
Reply With Quote
  #27  
Old 31 Aug 2002, 12:31
Nicholas Brown's Avatar
Nicholas Brown Nicholas Brown is offline
 
Join Date: Oct 2001
This is why I cant see this hack getting into vB3 getmxrr(); isnt supported by Windows PHP Builds, and as vBulletin is for Windows and *nix servers.....

Nice hack
Reply With Quote
  #28  
Old 27 Jun 2007, 17:54
josiespencer josiespencer is offline
 
Join Date: Dec 2005
I have a problem and I really don't know if it related to this mod or not but I thought this the best place to start. I have been using this mod for approx. 4 months and this is an occasional issue.

If a user joins and then gets banned for some reason or another, and he/she tries to add a new account since we don't revive banned accounts, he/she gets a message that the IP address is now banned. Does this mod do any logic like that?
Reply With Quote
  #29  
Old 22 Oct 2007, 12:29
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Question

Anyone operating this successfully with v3.67 or above?

Thanks

Regards,
Badger
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:49.

Layout Options | Width: Wide Color: