Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Automatically deny registration for users with multi-dotted email address Details »
Automatically deny registration for users with multi-dotted email address
Mod Version: 1.00, by cloferba (Coder) cloferba is offline
Developer Last Online: Aug 2020 I like it Show Printable Version Email this Page

vB Version: 4.2.0 Rating: (4 votes - 4.50 average) Installs: 19
Released: 27 May 2012 Last Update: Never Downloads: 0
Not Supported Uses Plugins Re-usable Code Translations  

On my forum many bots have multi-dotted email address so I wanted to avoid them to create a new account on my forum.

The way to do this is create a new plugin to recognize these multi-dotted email address provided at time of registration and delete them automatically.

Steps:
  • Create a new plugin using hook userdata_start
  • Use this code:

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

It only checks the part before the '@', so set $max_dots to the number of dots you will allow (I think one dot in an email name probably isn't unusual, but that's up to you). Also, this uses the default 'bademail' phrase, but if you'd rather have a special error messages for "too many dots" you can create a phrase and use the varname in place of 'bademail'.

Special thanks to kh99 who provided this solution.

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.
  #31  
Old 30 May 2012, 12:39
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by The Rocketeer View Post
Are you sure Boofo? I use email verification (require clicking the activation link in the email sent after registration). However we get quite some bogus email members who are able to register. So you could use a bogus email to register.

wish there was better ways to prevent spammers..

was sent here from here http://www.vbulletin.org/forum/showthread.php?t=283667
How can a bogus email register if you are using email verification? The email addy HAS to be good to get the verification email in the first place.
Reply With Quote
  #32  
Old 30 May 2012, 13:55
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by Boofo View Post
How can a bogus email register if you are using email verification? The email addy HAS to be good to get the verification email in the first place.
If the member was able to register with a bogus email but has not yet replied to the activation email, he might be able to post if the permissions for that group are not set correctly.

See http://www.vbulletin.org/forum/showp...22&postcount=3
Reply With Quote
  #33  
Old 30 May 2012, 14:31
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
It doesn't make much sense to use email verification AND allow them to post before they verify. Might as well not even bother with email verification at that point.
Reply With Quote
  #34  
Old 30 May 2012, 14:47
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Exactly. But when I first started using vBulletin, I found the sheer number of options a bit overwhelming and some of my settings in the early days didn't make a lot of sense either.

Additionally, if a forum has more than one Admin, sometimes things can get messed up that way - best to restrict the permissions of co-admins to avoid this.
Reply With Quote
  #35  
Old 30 May 2012, 15:01
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
IIRC, guests aren't allowed to posts in the default vb install settings. I have never understood why some of these sites allow guests to post. That causes more problems than anything when it comes to spammers.
Reply With Quote
  #36  
Old 30 May 2012, 17:25
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
I agree. But Guests are usergroup #1 by default. Users Awaiting Email Confirmation are usergroup #3. I don't recall what the defaults for usergroup 3 are.
Reply With Quote
  #37  
Old 06 May 2014, 20:20
Dylan Leblanc Dylan Leblanc is offline
 
Join Date: Apr 2002
Thanks for this. I used this plugin, but did

$dm->error("humanverify_image_wronganswer");
so that the spammers (hopefully!) don't catch on that I've blocked their email address and then change their tactics.
Reply With Quote
  #38  
Old 25 May 2014, 23:08
Naijasite's Avatar
Naijasite Naijasite is offline
 
Join Date: Mar 2012
I have a lot of spam Bot registration with similar username typs with Caps lock after the first word in the username.

Example of spam username:
IKowalski
KMcClella
KDesmond

Please how can i deny registration with username with caps lock on forum registration.

First word can have Caps lock other word should be lower case.

Your assistance will be appreciated.
__________________
Reply With Quote
  #39  
Old 24 Sep 2014, 16:10
BlooD's Avatar
BlooD BlooD is offline
 
Join Date: Aug 2008
Real name: BlooD
hello,

How to please Require a unique email address during registration.

Thank you very much and good day!
Reply With Quote
  #40  
Old 29 Aug 2015, 19:15
semprot semprot is offline
 
Join Date: Mar 2010
Real name: Jeremy
Awesome. Still works on latest vb 4
__________________
Best regards,

Jeremy
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 07:31.

Layout Options | Width: Wide Color: