vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Prevent Number only registrations (https://vborg.vbsupport.ru/showthread.php?t=265141)

Simon Lloyd 06-12-2011 10:00 PM

Prevent Number only registrations
 
1 Attachment(s)
What this mod does
This mod is simply another tool in the fight agains bots and spammers, it has no overheads so can be used in conjunction with anything. The mod prevents users from registering with a username that solely consists of numbers, it will not affect any users who have already registered with a numeric username.

To Install
Simply import the product in your ACP, in vbulletion options turn the mod on.

Will work on any version of vB that has the hook "userdata_presave"

Please mark as INSTALLED if you use this mod.

Simon Lloyd 06-13-2011 01:53 PM

**reserved**

Lee G 11-20-2011 06:19 PM

Tidy little mod.
Had someone from China setting up multiple accounts with number only locations
Then returning a week or two later and hitting 70 odd times with spam

Simon Lloyd 11-20-2011 06:47 PM

Thats why i created it, same happened here ages ago :)

Lee G 11-21-2011 06:52 PM

Simon, does this also work when they enter numbers only into the location?
I seem to have a guy in China doing a lot of that
Then again, banning complete ip ranges from China aint all bad :D

Simon Lloyd 11-21-2011 08:58 PM

No it has nothing to do with locations, but, as a gift to you add the following to the User Profile feild for location's Regular Expression ^[A-Za-z]{2}[,A-Za-z ]*$ that will prevent numbers and require actual text :)

biftek 11-22-2011 10:11 AM

so far haven't any number registrations , but have had alphanumeric that are driving me nuts
but iwill remember this mod just in case . thanks

Simon Lloyd 11-22-2011 06:03 PM

biftek you can use regex (like i gave to Lee above) to make sure that they only enter letters and no numbers but pretty soon you will start annoying your members or potential memebers because they cant have the username they like, some like to have their birth year on their usernames like this: Simon2011 so if you restrict to just letters then you'll lose those potential sign ups :)

PinkMilk 11-30-2011 10:31 PM

Would like to see this implemented into the ajax username check, but nice mod nonetheless, thx

Kış 07-25-2012 09:10 AM

Quote:

Originally Posted by Simon Lloyd (Post 2270826)
biftek you can use regex (like i gave to Lee above) to make sure that they only enter letters and no numbers but pretty soon you will start annoying your members or potential memebers because they cant have the username they like, some like to have their birth year on their usernames like this: Simon2011 so if you restrict to just letters then you'll lose those potential sign ups :)

Hi, cant you set those rules such as:
If the numbers are are included in usernaname, but are not 4 digits, not at the end of the name, and are not starting with 1 or 2 then deny registration ?
Surely, in this case also there will be some false positives, but in general i think it would be quite useful.
Regards.


All times are GMT. The time now is 06:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01111 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete