Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
reCAPTCHA!vB - Stop spam. Read books. Details »»
reCAPTCHA!vB - Stop spam. Read books.
Mod Version: 1.1.0, by magnus (Coder/Designer) magnus is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

vB Version: 3.6.7 Rating: (24 votes - 4.88 average) Installs: 205
Released: 09 Jul 2007 Last Update: 27 Feb 2008 Downloads: 2181
Not Supported Uses Plugins Auto-Template Code Changes Additional Files External Content  

THIS MODIFICATION SHOULD NOT BE USED WITH VBULLETIN 3.7+ AS IT IS A DEFAULT FEATURE.

Keywords: reCAPTCHA, CAPTCHA, spam, register

Description:
This modification will replaced the default vBulletin registration CAPTCHA with the newer, more advanced reCAPTCHA.

What is CAPTCHA/reCAPTCHA?:
A CAPTCHA is a program that can tell whether its user is a human or a computer. You've probably seen them — colorful images with distorted text at the bottom of Web registration forms. CAPTCHAs are used by many websites to prevent abuse from "bots," or automated programs usually written to generate spam. No computer program can read distorted text as well as humans can, so bots cannot navigate sites protected by CAPTCHAs.

About 60 million CAPTCHAs are solved by humans around the world every day. In each case, roughly ten seconds of human time are being spent. Individually, that's not a lot of time, but in aggregate these little puzzles consume more than 150,000 hours of work each day. What if we could make positive use of this human effort? reCAPTCHA does exactly that by channeling the effort spent solving CAPTCHAs online into "reading" books.

To archive human knowledge and to make information more accessible to the world, multiple projects are currently digitizing physical books that were written before the computer age. The book pages are being photographically scanned, and then, to make them searchable, transformed into text using "Optical Character Recognition" (OCR). The transformation into text is useful because scanning a book produces images, which are difficult to store on small devices, expensive to download, and cannot be searched. The problem is that OCR is not perfect.



reCAPTCHA improves the process of digitizing books by sending words that cannot be read by computers to the Web in the form of CAPTCHAs for humans to decipher. More specifically, each word that cannot be read correctly by OCR is placed on an image and used as a CAPTCHA. This is possible because most OCR programs alert you when a word cannot be read correctly.

But if a computer can't read such a CAPTCHA, how does the system know the correct answer to the puzzle? Here's how: Each new word that cannot be read correctly by OCR is given to a user in conjunction with another word for which the answer is already known. The user is then asked to read both words. If they solve the one for which the answer is known, the system assumes their answer is correct for the new one. The system then gives the new image to a number of other people to determine, with higher confidence, whether the original answer was correct.

Currently, we are helping to digitize books from the Internet Archive.



Installation:
  1. Download and unzip the recaptcha101.zip archive.
  2. Upload the functions_recaptcha.php to your /includes/ directory.
  3. Import the product-recaptcha.xml via the Product Manager.
  4. Obtain a FREE public and private reCAPTCHA key here.
  5. Make any desired configuration changes via AdminCP > vBulletin Options > reCAPTCHA Options
  6. Make a backup of your register.php file, located in your forum root.
  7. Perform ONE (1) of the following methods:
    • Method A:
      • Download the register-patch.zip archive, extract, then upload the register.patch file to your forum root, then apply the patch:

        *Note: Please note that this method requires a basic understanding of UNIX shell commands and requires shell access to your host. If you do not have either of these or you are unsure how to use GNU patch, I highly suggest performing Method B instead)


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

        This will perform the file edits automatically. Once finished, you may delete the register.patch file.
    • Method B:
      Perform the following simple file edits:
      • IN register.php:
        1. FIND:

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

          REPLACE WITH:

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

        2. FIND AND REMOVE:

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

        3. FIND:

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

          REPLACE WITH:

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


NOTE: YOU MAY ALSO REPLACE THE CAPTCHA DISPLAYED TO GUESTS WHEN USING THE "CONTACT US" FORM BY FOLLOWING THE INSTRUCTIONS HERE.



Tips, tricks and modifications:


Comments:
As with all my hacks, this modification is provided free of charge. However, if you find this product useful and have money burning a hole in your pocket, feel free to make a small donation, I won't mind.. really.

Version History:
  • 1.0.0 - Initial release, here's to hoping...
  • 1.0.1 - Woops! Forgot to include a aesthetic template edit in the original release. All is well, simply redownload and overwrite the XML. That's it!
  • 1.1.0 - Added alternate language support. Now various reCAPTCHA tags and text will be displayed in your selected language. Also added a fieldset to the automatic template edits around the display block for a more uniform look (thanks DOCTOR DAN!).

Currently Known Bugs:
  • None

* Please note that this modification was developed on a forum with a userbase of 1 (myself). I've tested it for basic functionality but I cannot guarantee functionality or behavior on your forum. So, please -- make backups before installing this product!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	captchaHomePage.gif
Views:	1196
Size:	8.3 KB
ID:	66750Click image for larger version

Name:	recaptchaadmin.jpg
Views:	959
Size:	81.8 KB
ID:	66792Click image for larger version

Name:	recaptchavb.jpg
Views:	825
Size:	52.1 KB
ID:	76450

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
reCAPTCHA!vB - MailHide : Tired of spam? Fight back. magnus vBulletin 3.6 Add-ons 7 20 Jul 2008 00:44

Comments
  #2  
Old 09 Jul 2007, 22:20
nexialys
Guest
 
amazingly brilliant, as usual Magnus !!!

/me send some love !
(my wife will kill me if she knows!)

edit: ah, now it is good, the file !!!

remember to tell to register to get a API key: http://recaptcha.net

FREE

Last edited by nexialys : 09 Jul 2007 at 22:33.
Reply With Quote
  #3  
Old 09 Jul 2007, 22:47
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Woops! Forgot to include an aesthetic template edit. Not having it won't cause any functionality issues, you simply won't be able to change themes.

In order to upgrade, simply re-download and import the latest XML, overwriting your existing one. That's it!
Reply With Quote
  #4  
Old 09 Jul 2007, 22:54
CNBAforo CNBAforo is offline
 
Join Date: Nov 2006
This is great!!!
Reply With Quote
  #5  
Old 09 Jul 2007, 22:55
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Glad you like.

I read about this in the latest Wired magazine, and I just had to put it into vBulletin.
Reply With Quote
  #6  
Old 10 Jul 2007, 00:12
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
very creative putting something like this to good use
Reply With Quote
  #7  
Old 10 Jul 2007, 00:34
DJ XtAzY DJ XtAzY is offline
 
Join Date: Feb 2005
Suggest this as a default mod built-in to vb v4.0 =]
Reply With Quote
  #8  
Old 10 Jul 2007, 03:47
RvG2's Avatar
RvG2 RvG2 is offline
 
Join Date: Jan 2007
vb4? LOL

nice hack!
Reply With Quote
  #9  
Old 10 Jul 2007, 09:59
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
Excellent! Thanks a bunch!
__________________
Reply With Quote
  #10  
Old 10 Jul 2007, 14:31
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
I've gone ahead and uploaded a register.patch file, which will allow you to utilize the unix patch system to make the necessary file edits automatically. Simply follow the instructions in the original post if you haven't already made manual file edits.

Be sure to backup your original register.php!

If you ever wish to return to the original CAPTCHA, all you need to do is simply overwrite register.php with the backup you made then uninstall the product. That's it!
Reply With Quote
  #11  
Old 10 Jul 2007, 17:57
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Originally Posted by magnus View Post
I've gone ahead and uploaded a register.patch file, which will allow you to utilize the unix patch system to make the necessary file edits automatically. Simply follow the instructions in the original post if you haven't already made manual file edits.

Be sure to backup your original register.php!

If you ever wish to return to the original CAPTCHA, all you need to do is simply overwrite register.php with the backup you made then uninstall the product. That's it!
Could you please explain how the register.patch file works? I read the instructions you posted but I'm not quite sure what it does. Oh and does this work with 3.6.5?
Reply With Quote
  #12  
Old 10 Jul 2007, 18:07
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by Smoothie View Post
Could you please explain how the register.patch file works? I read the instructions you posted but I'm not quite sure what it does. Oh and does this work with 3.6.5?
The file register.patch is a GNU patch file. It has the location offsets and changes necessary for the modification to work. Rather than having to edit the file manually, this patch file will do it automatically. If you download the patch file and open it in notepad, you'll get a better understanding of what it's doing. It's basically an automated 'search and replace'.

If the 3.6.5 register.php has a different offset, then the patch file will fail, so you'll need to make the file edits manually in that case.

Either way, none of the changes are irreversable. If something goes awry, you simply overwrite register.php with your backup and you're off and running again. As long as you have a backup of register.php, there's no risk.
Reply With Quote
  #13  
Old 10 Jul 2007, 22:13
Smoothie Smoothie is offline
 
Join Date: Oct 2001
One more question. How would this mod be different/better than say a few of the others posted here such as the no spam which has a set of alternating questions a user must answer correctly to register on your site?
Reply With Quote
  #14  
Old 11 Jul 2007, 11:50
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by Smoothie View Post
One more question. How would this mod be different/better than say a few of the others posted here such as the no spam which has a set of alternating questions a user must answer correctly to register on your site?
Considering I'm not familiar with the specifics of the modification you're speaking about I can only speculate as to it's functionality.

The benefit to reCAPTCHA is it's something any human can answer. Questions, regardless of how easy they are, may be interpreted wrong due to language barriers or possibly even mental capacity. The goal of a CAPTCHA isn't to test the users knowledge, it's to simply confirm they are human.

One of the added benefits of reCAPTCHA is the fact it takes something as trivial as registering on a forum and uses those "human processes" to do something productive. Helping to translate words that even the best OCR software in the world cannot translate is helping to advance the digitizing of books printed before the digital age.

Not to mention, reCAPTCHA uses 2 words to authenticate humans. One of the words is one that has been proven to be previously untranslated by bots. That's a pretty good security measure, if you ask me.
Reply With Quote
  #15  
Old 11 Jul 2007, 15:34
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
@magnus

Very nice hack. One question, I am confused to where I put the
code: # patch -b register.php < register.patch

Does this go in the patch file, register.php or else where?
__________________
Alibass
www.downonthedeck.org
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 10:41.

Layout Options | Width: Wide Color: