Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] Check for Banned Emails on Registration/Email Change Details »»
[AJAX] Check for Banned Emails on Registration/Email Change
Version: 1.00, by Christine Christine is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-10-2005 Last Update: 10-10-2005 Installs: 15
Uses Plugins Template Edits
Additional Files  
No support by the author.

This is a port from MrNase's 3.0 hack here: https://vborg.vbsupport.ru/showthrea...threadid=81631

I offered to send it, but Dominik said to release it, so here it is.

This can work in conjuntion with MrNase's AJAX: Username Check on Registration for 3.5 or as a standalone (screen shots of both options attached).


What this add-on does:

When someone either registers or changes their email, it checks against the 'banned email' field and if the email (or domain) is on there, it will tell them immediately and grey out the second email input field.

Benefit:

This is for anyone who has banned emails in their banned email list -- or for those who reject free emails or other domains. This add-on will alert the member (or potential member) immediately so that they don't go all the way through the process to be redirected to an error message.

What this add-on does NOT do:

This add-on does not check against the user table for existing email accounts, only those which appear in the banned list.
This is by design.


Installation:
  • 1 File to upload
  • 1 Product to install
  • 2 Templates to be modified*
  • 1 Addition to the default CSS file* (or parent CSS files)
*If you are already using the AJAX: Username Check, please note that one of the template edits and the CSS edit will not be necessary as both products use the same code. Please read the instructions for this!
The message that I have listed as the error is:
Quote:
Sorry, we do not accept free email addresses. Please enter an email from your ISP or other private domain. Apologies for any inconvenience!
To change that, modify the phrase: mailregistererror


TO THOSE UPGRADING FROM 3.0: I included 4 queries in the install readme file to remove the setting/phrases from the 3.0 version of this hack so that they will reinstall as part of the product. You will also need to revert your templates and reapply the changes for this to work properly.

IF THIS IS A FIRST TIME INSTALL: Ignore those queries.

Screenies are of the product as a standalone and with the companion AJAX: Username Check product installed.

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 10-10-2005, 11:42 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is nice, I'll be the first to install
Reply With Quote
  #3  
Old 10-11-2005, 06:09 AM
Nutz's Avatar
Nutz Nutz is offline
 
Join Date: Aug 2004
Location: United Kingdom
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right behind you

Thanks,
Mat
Reply With Quote
  #4  
Old 10-11-2005, 08:18 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BAh i always used to come 3rd in races at school, same here Anyway nice addon matey.
Reply With Quote
  #5  
Old 10-11-2005, 08:28 AM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, thanks for porting the hack!
Reply With Quote
  #6  
Old 10-11-2005, 08:28 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As always, 5th place again

Well done m8
Reply With Quote
  #7  
Old 06-20-2007, 06:12 PM
tschai's Avatar
tschai tschai is offline
 
Join Date: Nov 2006
Location: Netherlands
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A very usefull mod, which I've just discovered...and installed!

Great work!
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 08:17 PM.


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.08412 seconds
  • Memory Usage 2,258KB
  • Queries Executed 21 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete