Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
NoSpam! - an alternative to CAPTCHA images Details »»
NoSpam! - an alternative to CAPTCHA images
Version: 3.0, by antialiasis antialiasis is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.x Rating:
Released: 08-23-2006 Last Update: 06-22-2008 Installs: 1568
Uses Plugins Auto-Templates
 
No support by the author.

This hack is for vBulletin 3.6.x. For 3.5.x, please use the one provided in this thread. If you are using 3.7.x, you must use the one in this thread.

This simple hack is meant as a replacement for the default CAPTCHA system in vBulletin. There are two main reasons one might want to do this: firstly, new technology is constantly being developed to crack CAPTCHA images and make spam accounts anyway, and secondly, the more secure the CAPTCHA, the more difficult it is for genuine users to tell what the numbers in the image are. There is also the issue of visually impaired users, and the fact that not all servers are capable of generating CAPTCHA images.

So what does this hack do instead? It asks a question. Any question you want. That's the best part: YOU make up the questions, which means that every forum is unique, which means that it is impossible for spambots to be simply programmed to bypass it at all forums with the hack installed. You can make one or many questions - if you make many, the hack will pick one at random when a guest attempts to register, search, post or send mail through the Contact Us form. Their input is compared with your specified answer, and voil?, if they get it right they're pretty much guaranteed to be human. If they get it wrong, they're given an error message.

It doesn't have to be a complicated question. Heck, you can just make it "Please type 'blah' into this box." Or you can go with inserting a simple image with HTML and ask what is shown on the image. Or you can ask them to tell you two plus two. It's up to you. In fact, this can also be used as a means of forcing people to read the rules by asking for a certain password found there, or if your forum focuses on a specialized subject, ask a question concerning the subject that all your genuine users will be able to answer, but a random troll or "CAPTCHA-sweatshop-reader" will be scratching their head over.

It's simple to install, too: just one product to import, and that's it.


VERSION HISTORY:

3.0: Added functionality to allow users to specify which pages should use NoSpam!.
2.0: Extended the NoSpam! functionality to guest posts, guest searches and guest "Contact Us" in addition to registration.
1.1: Made template edit automatic (with thanks to Cole2026), added ability to have more than one answer to each question, and made answers case insensitive. To upgrade, I recommend undoing the template edit so you won't have to worry about it anymore (replace $nospamfield in the template register with $imagereg, or if you added $nospamfield above $imagereg, just remove $nospamfield altogether), and then reimport the product through the Admin CP (making sure that Allow Overwrite is set to On).
1.0: Initial release.


INSTALLATION:

Please download NoSpam!.zip, not product-nospam.xml, for the tested version. product.nospam.xml is NoSpam! 4.0 adapted blindly to 3.6, i.e. by editing the XML file for the 3.7 version without actually testing it on a 3.6 board. Theoretically it should work, but I cannot guarantee it at this time. If you download NoSpam!.zip and unzip it, it will contain another file called product.nospam.xml, which you should use.

1. Import product-nospam.xml through the Admin CP product manager.
2. Go to your vBulletin options in the Admin CP and select NoSpam! Settings. Once there, turn the system on and input your questions and answers according to the instructions there.

The system should now be functional and running.


UNINSTALLATION:

Just uninstall the product through the Admin CP.


SUPPORT:

Full support will be given here in this thread. All suggestions are welcome.

Thank you and please click "Mark as Installed" if you like it.


If NoSpam! is not working for you or you are looking for something a little different, you might want to check out Advanced Textual Confirmation.

Show Your Support

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

Comments
  #282  
Old 01-24-2007, 09:51 PM
lostgirl815 lostgirl815 is offline
 
Join Date: Apr 2006
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by antialiasis View Post
captainiron19, check your style manager and see if you don't definitely have a template called nospam.

Also, were you definitely editing the template in the right style when you added $nospamfield manually before?

lostgirl815, if you have more than one question it will show one at random, not all of them, if you thought that.
Oh! That is what I thought - well that explains it then, thanks! It's a brilliant Mod, I love it. (I clicked Install about a billion times before I realized that it was javascript, not a link I was supposed to follow.)

(And er, just in case... I didn't modify any templates manually with $nospamfield or anything, it worked with just the instructions you gave. Am I supposed to modify each style also in some way or something?) (Please say no.)
Reply With Quote
  #283  
Old 01-24-2007, 11:27 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, you aren't. The plugins are meant to automatically insert the question, but if it's not working I tell people to try it the manual way. If it works for you already, there's no need for that.
Reply With Quote
  #284  
Old 01-24-2007, 11:30 PM
lostgirl815 lostgirl815 is offline
 
Join Date: Apr 2006
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah great. Thanks for all your help, and thanks again for a way better anti-spambot tool!
Reply With Quote
  #285  
Old 01-25-2007, 09:45 AM
captainron19's Avatar
captainron19 captainron19 is offline
 
Join Date: Mar 2006
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by antialiasis View Post
captainiron19, check your style manager and see if you don't definitely have a template called nospam.

Also, were you definitely editing the template in the right style when you added $nospamfield manually before?

lostgirl815, if you have more than one question it will show one at random, not all of them, if you thought that.
I went into the style manager (I have 3 seperate styles in use) I clicked on edit templates for each one of them and there is a template under each one labeled "nospam" each one has the following code...
Code:
<fieldset class="fieldset">
	<legend>$vbphrase[nospam_question]</legend>
	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="400">
	<tr>
		<td colspan="2">$nospamquestion</td>
	</tr>
	<tr>
		<td>
                        <input type="hidden" name="nospamnumber" value="$nospamnumber" />
			<input type="text" class="bginput" name="nospam" size="25" />
		</td>
	</tr>
	</table>
</fieldset>
When I manually entered the $nospamfield I went in to each of my styles, clicked on edit templates, expanded "registration templates" and then I opened the register template. I dfound the text $imagereg and right above it I added $nospamfield then I clicked on save and reload.

A portion of that section that I edited manuall in each template looks like this:

Code:
					</td>
				</tr>
				</if>
				</table>
			</fieldset>

			$nospamfield

			$imagereg
			
		</div>
Reply With Quote
  #286  
Old 01-25-2007, 04:56 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm.

I can't really think of any explanation it wouldn't be working for you, then, captainiron19. =/ If any coder has an idea of what could be wrong, any tips would be much appreciated.
Reply With Quote
  #287  
Old 01-25-2007, 07:05 PM
captainron19's Avatar
captainron19 captainron19 is offline
 
Join Date: Mar 2006
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the help anyway - hopefully someone will have an idea. I also tried doing an uninstall and re-installed the product and that didnt help either. I installed an additional product just prior to this one (The Google / You Tube video embed feature) and it worked perfectly fine.

I am seeing a few items in my contol panel....wouth either or these cause a problem? >...

"There are currently 11 customized template(s) that need to be updated or reverted. Some sections of vBulletin may not function if you do not do this!" I saw this error at my main cp page and it started once I upgraded to v 3.6.4

Under my "Manage Products" section the top is reading... "Warning: Plugins are currently globally disabled via config.php."
Reply With Quote
  #288  
Old 01-25-2007, 09:41 PM
LBSources LBSources is offline
 
Join Date: Nov 2005
Location: New York
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent hack .. Good work!
Reply With Quote
  #289  
Old 01-26-2007, 09:59 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by captainron19 View Post
Under my "Manage Products" section the top is reading... "Warning: Plugins are currently globally disabled via config.php."
...well, okay, that's definitely the problem. Edit your config.php file (it's in the includes folder) and take out the line involving DISABLE_HOOKS; I can't remember exactly what it says, but therein lies the problem. You basically disabled hacks that involve plugins, which this one does.
Reply With Quote
  #290  
Old 01-26-2007, 11:43 PM
captainron19's Avatar
captainron19 captainron19 is offline
 
Join Date: Mar 2006
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks I will do that - I believe we diabled them after having a problem with upgrading to solve a problem that really wasnt effected by any plugins
Reply With Quote
  #291  
Old 01-27-2007, 02:01 PM
captainron19's Avatar
captainron19 captainron19 is offline
 
Join Date: Mar 2006
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it looks like that was the trick. After I got it all up and running I did note however that I had the No Spam question listed int here twice. I went into the style manager where I manually added $nospamfield - it was still only in there once. So, I deleted the one I added manually and seems to be working perfectly now.

On another note..... when i went into the config.php to delete the "Diable Hooks" section I did notice I had another line there labeled.... define('SKIP_REFERRER_CHECK', true); right below the disable hooks line. I removed that also.....is that ok? Like I said before, i think both of these lines were placed in there before when i had a trouble with the forum but it turned out to be a problem on my web server's side.

Thanks again for the help
Reply With Quote
Reply

Thread Tools

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 10:21 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.09201 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (3)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
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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