No announcement yet.

Is there a way to block registration based on profile field entry?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a way to block registration based on profile field entry?

    Well on my vb3.8 forum there are spambots capable of bypass both image and recaptcha validation. Luckily they still cannot activate their account with these fake emails, so none of them actually is posting. Still its so annoying, have to ban them every now and then.

    I do notice something interesting though. Almost all of these bots register with the profile field 'site name' as '123456', which pretty much serves as proof of them being spammers(the 'sitename' is the last optional profile field on my forum). So I wonder, is there a way to block registration based on what the user enters in profile field? For instance, if a user fills '123456' in the profile field 'sitename', he/she will be blocked/banned for registering. Is this possible? If so, please lemme know so I dont have to see those disgusting bots. I hate to sound like a hypocrite, but even just seeing their usernames makes me sick.

    Below is an example of this pathetic bot, which has sitename profile field as '123456' just like most spammers my forum happens to have before.

    Click image for larger version

Name:	spambots.png
Views:	1
Size:	16.2 KB
ID:	3725153

  • #2
    Question and Answer verification is by far the best to use... more on that later.

    There is no built in way to ban someone upon using a certain profile field, to do that would require custom coding you can check for custom coding options.

    That said if you edit the profile field in your AdminCP you can add a "regex" that must be matched before the user will be allowed to register at all...

    This Regex will reject all entries that are ONLY numbers:


    As for general spam control and how to best use Q&A-

    We have determined the most effective "Human Verification" currently built into vBulletin is "Question and Answer" verification.

    To enable this go to your Admin CP -> Settings -> Human Verification Manager. (In VB 3.x it is Admin CP -> vBulletin Options -> Human Verification Manager)

    Click on this link.

    On the new page choose the option for "Question & Answer Verification."

    If this is the first time you are using it you will need to add one or more questions and answers. To add your first question click on the "Add New Question" near the bottom center of the page.

    On the next page enter a question. Do not make this a math question (what is 2+2?)- Math questions are absolutely worthless. If your forum is about a specific topic try to make the question something someone interested in your niche would likely know. If not still make a question that requires a human to answer- creativity helps here.

    An example question would be: If there are three people in a room how many total toes are likely in the room?

    Leave the box for "Regular Expression" blank. Use it only if you understand Regular Expressions.

    Hit "Save"

    On the next page there will now be a button "Add New Answer" - Press It.

    The next page is one simple box marked "Answer." Enter the answer to the question. Questions can have multiple correct answers.

    Answers are NOT case sensitive so if you put "thirty" in as an answer both "Thirty" and "THIRTY" will also work.

    Enter "thirty" as the answer (without quotes.)


    Now you will be back on the page where you can press the "Add New Answer" again, press it.

    This time add the answer: 30
    And hit "Save" again.

    If your forum is multi-lingual you may want to continue adding answers to cover the word "thirty" in different languages.

    When you believe you have set every possible correct answer you can click on the Admin CP Menu to go back to "Human Verification Manager" and repeat the process to add additional questions.

    The more questions you have the better you will be- five is a good minimum, 10 or more is better.

    In general avoid any questions where the answers may be common among may sites even if the question is different- That is to say no matter how hard the question is if the answer is "3" or "Blue" avoid the question. Spam bots may try common answers even if they can't understand the question just to see if they get lucky. Avoid answers that are low or common numbers, colors, and the like.

    We have found forums that implement good Q&A questions stop nearly all "bot" spam. (We have documented drops of a 90% reduction in registrations, all of which were spammers.) There will always be spam created by humans though who cannot be blocked by easy questions. If you feel you still have too much spam to handle please check out various "anti-spam" mods available on

    VB 5.x Anti-Spam Mods:

    VB 4.x Anti-Spam Mods:

    VB 3.8 Anti-Spam Mods:

    Please note like all vBulletin modifications we do not provide official support for 3rd party mods, you will need to ask for help in the threads of the mod in question if you need help installing, configuring, or using the mod.

    Overall the best defense against spam is to have an active and vigilant moderator staff able to find and delete spam quickly. Educate forum users on how to use the "Report Post" button to report spam. Do not let the forum run without a moderator or administrator making regular visits to keep an eye on things.


    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.