The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
reCAPTCHA!vB Details »» | |||||||||||||||||||||||||
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. [hr]-[/hr] Installation:
NOTE: YOU MAY ALSO REPLACE THE CAPTCHA DISPLAYED TO GUESTS WHEN USING THE "CONTACT US" FORM BY FOLLOWING THE INSTRUCTIONS HERE. [hr]-[/hr] Tips, tricks and modifications:
[hr]-[/hr] 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:
Currently Known Bugs:
* 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! Show Your Support
|
Comments |
#52
|
||||
|
||||
Quote:
Regardless of the variable word, this system, at worst, is no less secure than the default CAPTCHA. So there's no concern in that department. The following is pure speculation, as the exact algorithim is intentionally not divulged: It's possible that the variable word may have a minimum character requirement as the system may be able to determine the word length while not being able to exactly decipher the actual letters. Again, this is pure speculation on my part. |
#53
|
|||
|
|||
Hi there.
I am having some trouble using this. I have made the changes as directed and placed the private and public keys where requested. I get the following error "To use reCAPTCHA you must get an API key from http://recaptcha.net/api/getkey" Am i missing something? Fantastic script btw I cant wait to use it! |
#54
|
|||
|
|||
I like this, but what if I want the Image Verification border to stay there
|
#55
|
|||
|
|||
I get an error while importing via the product manager...
Database error in vBulletin 3.5.4: Invalid SQL: ### INSERT QUERY GENERATED BY fetch_query_sql() ### INSERT INTO plugin (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`) VALUES ('1', '5', 'Automatically modify register template', 'parse_templates', 'if (isset($vbulletin->templatecache[\'register\']))\r\n{\r\n $find = \' $imagereg\';\r\n \r\n $append = \" <script type=\'text/javascript\'>\r\n var RecaptchaOptions = {\r\n theme : \'\" . $GLOBALS[\'vbulletin\']->options[\'recaptcha_theme\'] . \"\',\r\n tabindex : \" . $GLOBALS[\'vbulletin\']->options[\'recaptcha_tabindex\'] . \"\r\n };\r\n </script>\";\r\n\r\n $vbulletin->templatecache[\'register\'] = str_replace($find, $append . \"\\n\" . $find, $vbulletin->templatecache[\'register\']);\r\n\r\n unset($find, $append);\r\n}', 'recaptcha'); MySQL Error : Unknown column 'executionorder' in 'field list' Error Number : 1054 Date : Monday, February 11th 2008 @ 02:13:16 PM Script : http://utahnissans.com/forums/admincp/plugin.php Referrer : http://utahnissans.com/forums/adminc...?do=productadd |
#56
|
||||
|
||||
Quote:
If you're feeling frisky, you can edit the .xml and remove references to executionorder. This in no way guaranteed to work. It shouldn't break anything, however, you should always make backups just in case. If you don't want to edit the file yourself, I've attached a modified .xml. Simply replace the on in the original archive with this. |
#57
|
|||
|
|||
Thanks for the quick reply, I think I am going to upgrade to 3.6 first .
|
#58
|
|||
|
|||
For those who would like to use "Method A" (the register.patch file) to modify their register.php file but do not have shell access (e.g. hosting services that only provide cPanel access), you may find this "trick" useful:
1. Upload the register.patch file to your forum's root directory. 2. Create a plain text file called runpatch.pl with the following contents: Code:
#!/usr/bin/perl print "content-type:text/html\n\n"; system('patch -b register.php < register.patch'); save it, and upload it to your forum's root directory. 3. Change the permissions on the runpatch.pl file that you just uploaded to 0755 so that you can execute the script. 4. In a web browser, type: http://yourdomain/yourforum/runpatch.pl The perl script will run, which in turn runs the patch command. 5. Delete the runpatch.pl file from your forum's root directory. N.B.: This technique assumes that you can run perl scripts with system calls on the server where your forum resides, which is usually the case. - Dan |
#59
|
|||
|
|||
A quick mod if you want to restore the "image verification" frame around the reCAPTCHA panel, just like how vBulletin's standard CAPTCHA panel appears:
In the template register find: Code:
$imagereg and replace it with: Code:
<fieldset class="fieldset"> <legend> $vbphrase[image_verification] </legend> $imagereg </fieldset> You can also center the reCAPTCHA panel within the frame by adding a "<center>" tag: Code:
<fieldset class="fieldset"> <legend> $vbphrase[image_verification] </legend> <center> $imagereg </center> </fieldset> - Dan |
#60
|
||||
|
||||
Thanks, Dan! I've linked your tips in the first post.
|
#61
|
||||
|
||||
Quote:
Code:
$resp = recaptcha_check_answer ($vbulletin->options['recaptcha_privatekey'], |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|