Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Validate email by MX lookup Details »»
Validate email by MX lookup
Version: 1.00, by fastforward fastforward is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-07-2002 Last Update: Never Installs: 61
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 06-26-2002, 01:26 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #23  
Old 06-26-2002, 01:26 PM
ColinP ColinP is offline
 
Join Date: Jun 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #24  
Old 06-26-2002, 02:00 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a small question. In my member.php file, it has " " instead of ' '. Does that matter? This:

Quote:
$templatesused = 'redirect_updatethanks,error_fieldmissing,error_em ailmismatch,error_emailtaken,error_fieldmissing,er ror_requiredfieldmissing,error_birthdayfield';
is this:

Quote:
$templatesused = "redirect_updatethanks,error_fieldmissing,error_em ailmismatch,error_emailtaken,error_fieldmissing,er ror_requiredfieldmissing,error_birthdayfield";
Should I change it to what's in the hack?
Reply With Quote
  #25  
Old 06-26-2002, 06:06 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #26  
Old 08-21-2002, 05:03 PM
sparky2 sparky2 is offline
 
Join Date: Jul 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #27  
Old 08-24-2002, 06:06 AM
Dolby's Avatar
Dolby Dolby is offline
 
Join Date: Oct 2001
Location: Wisconsin
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #28  
Old 08-31-2002, 10:31 AM
Nicholas Brown's Avatar
Nicholas Brown Nicholas Brown is offline
 
Join Date: Oct 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #29  
Old 06-27-2007, 03:54 PM
josiespencer josiespencer is offline
 
Join Date: Dec 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #30  
Old 10-22-2007, 10:29 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone operating this successfully with v3.67 or above?

Thanks

Regards,
Badger
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 09:13 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04688 seconds
  • Memory Usage 2,288KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete