ReCaptcha Implementation finished
Posted by coldtobi | 1 Nov, 2007, 15:31

As you can see when scrolling down for the Add-Comment section, I just finished the ReCaptcha implemenation for lifetype.
This will improve the overall blog expericence, as I was told that the stock filters for spam often blocked also non-spam. (Thanks Tobi for the hint)
Download
First of all, here's the download-link for the plugin: 1.2_recaptcha.zip
(and maybe soon at lifetype.net: http://bugs.lifetype.net/view.php?id=1417 )
Instructions
Read the readme.txt
Plugin: ReCaptcha
Author: Tobias Frost (blog.coldtobi.de)
Release Date: 2007/11/02
Version: 20071102
LICENSE
========
Recaptcha Library (folder recaptcha/library)
The recaptcha library redistributed in this packages is not by me, and has its
own LICENSE file. Please read it carefully. The library also be downloaded at
http://recaptcha.net/plugins/php/
ReCaptcha Plugin
The plugin is licensed under the GPL v2. See the file copyright for details.
ABSTRACT
=========
This plugin implements the ReCaptcha Captcha authentification.
Recaptcha is like regular captchas, but in contrast to regular captchas
these are from scanned books and they already failed being recognized by
a OCR, so according to the authors of recaptcha this method is far more
effecive than "regular" captcha.
For details on ReCaptcha, please visit http://recaptcha.net. There you can
also
WARNING
=======
I am not a php programmer. I have strong programming knowledge, but I do not
really know php. There could be security issues in the code, so please make
sure to check the code for safety and give me feedback on any findings.
RECAPTCHA API KEY
=================
You can obtain your recaptcha API Keys from recaptcha.org. Please not, thtat it is only
good for one domain incluiding all subdomains.
If you host serveral blogs on different domains, you might want to let the blog owners
enter their codes individually, and do not enter anything in the Administrtion Settings.
WARNING: If the code is entered in the Admin section, all blog users can see it! I still have to
figure out how to avoid it. Please mail me hints/patches.
MOTIVIATION, FEEDBACK
=====================
Some time ago, I stumbled upon recaptcha.
(Story http://blog.coldtobi.de/1_coldtobis_blog/archive/89_recaptcha_--_stop_spam_read_books.html)
However, as lifetype currently does not have a well performing captcha plugin,
leading to a lots of automated spam, I decided to implement this.
Please send me your feedback using my blog or mail me at tobi@coldtobi.de.
You will probably notice, that I placed a link to my blog at the bottom of the
captcha. If you like the plugin, I ask you let it intact.
SETUP & CONFIGURATION
=====================
In order to employ the plugin, do the following
1. Obtain your API Key at recaptcha.net
2. Unzip the zip-file
3. Configure the plugin with the keys. (See section "Rechapta API Key" for details")
4. Add the code to the commentform.template:
{ ** Plugin_Recaptcha Code start. ** }
{ ** VERSION plugin_recaptcha 1.00 ** }
{if $recaptcha && $recaptcha->isEnabled()}
<div>
<label for="recaptcha">{$locale->tr("recaptcha_type_code")}</label>
<div style="float:left" id=recaptcha>
{$recaptcha->show()}
</div>
<div style="clear:left"></div>
</div>
{/if}
{ ** Plugin_Recaptcha Code end ** }
Anzeige
<—&mdash Showing ERROR? Click here!
Blog and Website, Lifetype | Comments (4) | Trackbacks (0)
Related Articles:
- ReCaptcha Plugin
- La Fonera: A better way to enable RedBoot via Telnet / Ethernet (safely) [HowTo]
- Install OpenWRT on the La Fonera
- Installing Debian on the Thecus N2100 -- PART 1 -- Preparation for install
- Installing Debian on the Thecus N2100 -- PART 3 -- Installing Debian
gromit : hallo
01/11/2007, at 16:05 [ Reply ]
nice plugin
reto : thanks
02/11/2007, at 22:00 [ Reply ]
hi tobi
thanks for writing and sharing this plugin, have you already uploaded it to bugs.lifetype.net? If not, would you mind, if we include it in the official plugins repository and include in on our wiki pages?
[coldtobi:] feel free ;-). BTW: http://bugs.lifetype.net/view.php?id=1417
clyde : Great Plugin
26/03/2008, at 12:28 [ Reply ]
Hi Tobi,
das Plugin funktioniert bei mir bis auf eine Kleinigkeit prima. Wenn du mal Zeit hast evt kannst du ja mal wenn du Lust hast dir das mal ansehen. Für dich ist das evtl nur ein kurzer Blick.
Dennoch saubere Sache Spam gibt es seither kaum noch! clyde_at_darkpack.net
coldtobi : Re: Great Plugin
01/04/2008, at 19:10 [ Reply ]
Yepp, I found it now...
The Solution, if the bottom border of the widget is broken:
Add the CSS property "border-bottom:0px" to the recaptcha div.
Workaround is in the latest version of the plugin, check the template in the readme.txt