|Version 11 (modified by anonymous, 5 years ago) (diff)|
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.
If you have any issues, create a new ticket.
This plugin does not work with Safari because it uses Skimpy Gimpy's pre-formatted text CAPTCHA which does not render properly.
Download the zipped source from here.
To use you SimpleCaptchaPlugin you should:
- Have patched AccountManagerPlugin to provide the IRegistrationConfirmation extension point using the RegistrationConfirmationPatch.
- 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:
Originally developed at The Open Planning Project