wiki:RecaptchaRegisterPlugin

Version 3 (modified by alecu, 6 years ago) (diff)

warn about unfinishedness

Recaptcha Register Plugin

This plugin is still unfinished. Please wait a few more days

Description

This hack adds a reCAPTCHA while a new user is registering. You must have the AccountManagerPlugin installed and registration enabled.

Bugs/Feature Requests

Existing bugs and feature requests for RecaptchaRegisterPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out RecaptchaRegisterPlugin from here using Subversion, or browse the source with Trac.

Example

Install the Account Manager plugin

Please see AccountManagerPlugin page. Make sure you have enabled the RegistrationModule.

Setup reCAPTCHA

You need to make an account at http://recaptcha.net/ to receive your public and private keys.

Edit your conf/trac.ini file and add these lines, including your public and private reCAPTCHA keys:

[components]
recaptcharegister.* = enabled

[recaptcha]
public_key = 
private_key =

That should be it! Email me if you have problems.

About

This plugin is being developed for USLA tracs, a service of the Free Software Users of Argentina.

It is based on the work of TracRecaptchaPlugin, so it's GPL licensed as well.

Recent Changes

[9846] by rjollos on 2011-02-10 20:18:57
Adding 0.10 branch to repository. Fixes #5726.
[5064] by s0undt3ch on 2008-12-26 20:04:02
req.args.args -> req.args.get
[4944] by s0undt3ch on 2008-12-03 18:29:58
New version of the RecaptchaRegisterPlugin.
It no longer requires one to disable the AccountManagerPlugin registration module.
It no longer provides it's own template, it's not necessary.
It's now also fully configurable on the admin panel under the AccountManagerPlugin configuration options.
New options introduced:

  • lang so that an admin can configure the language for the reCAPTCHA form(this introduces the option for the auto language selection based on user preferences for trac 0.12).

Also, if a Trac admin has not yet configured the reCAPTCHA keys, a link to the correct reCAPTCHA page to generate a new "key pair" will be shown which will also include the current domain plus a name of this plug so that reCPATCHA can track usage statistics of the several plugins there are.

Author/Contributors

Author: alecu
Contributors: