wiki:SimpleCaptchaPlugin

Version 13 (modified by k0s, 5 years ago) (diff)

--

Simple CAPTCHA for new user registration

Description

A simple CAPTCHA for new user registration using Trac's AccountManagerPlugin that uses Skimpy Gimpy. The plugin requires that AccountManagerPlugin has been patched to include an IRegistrationConfirmation extension point by the RegistrationConfirmationPatch.

An unmaintained version of this plugin that does not require modification to AccountManagerPlugin is available here.

Bugs/Feature Requests

Existing bugs and feature requests for SimpleCaptchaPlugin are here.

If you have any issues, create a new ticket.

Known Issues

This plugin does not work with Safari because it uses Skimpy Gimpy's pre-formatted text CAPTCHA which does not render properly.

Download

Download the zipped source from here.

Source

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

Example

To use you SimpleCaptchaPlugin you should:

  1. Have patched AccountManagerPlugin to provide the IRegistrationConfirmation extension point using the RegistrationConfirmationPatch.
  1. Add the following to your trac.ini file
[simplecaptcha]
dictionary_file = /path/to/dictionary.txt

where /path/to/dictionary.txt is the path to the text file used to generate the words for the CAPTCHAs. If you do not provide your own dictionary file, the plugin will download the dictionary file here on startup.

ATTENTION! The words must have at least 5 chars, otherwise they are not accepted!

Here's a screenshot of the SimpleCaptchaPlugin in action:

screenshot

Recent Changes

[3869] by nicholasbs on 2008-06-19 22:49:10
Initial import.
[3868] by nicholasbs on 2008-06-19 22:44:51
New hack SimpleCaptchaPlugin, created by nicholasbs

Author/Contributors

Originally developed at The Open Planning Project

Author: nicholasbs
Contributors: k0s

Attachments (1)

Download all attachments as: .zip