Changes between Version 1 and Version 2 of TracRecaptchaPlugin


Ignore:
Timestamp:
Jan 14, 2009, 8:54:49 PM (6 years ago)
Author:
SiNiESTrO
Comment:

I wrote installation instructions here because developer instructions doesn't works correctly and his wiki is closed to collaboration.

Legend:

Unmodified
Added
Removed
Modified
  • TracRecaptchaPlugin

    v1 v2  
    11TracRecaptchaPlugin is a [http://trac.org Trac] plugin that adds a CAPTCHA (using [http://recaptcha.net reCAPTCHA]) to ticket forms. This plugin only works in Trac 0.10, as far as I know.
     2
     3Working installation steps (at least for python2.4) [setuptools needed]:
     4 * easy_install svn://slowchop.com/misc/TracRecaptchaPlugin/trunk
     5 * easy_install recaptcha_client
     6
     7Configuration:
     8 * Once you have it installed you'll need to modify your ticket templates and add your keys to your trac.ini file. In your ticket.cs and newticket.cs files, insert the following code somewhere before your submit buttons:
     9 {{{
     10 <?cs var:recaptcha_javascript ?>
     11 }}}
     12
     13 * If you only want recaptcha for anonymous users, add:
     14 {{{
     15 <?cs if:trac.authname == "anonymous" ?>
     16 <?cs var:recaptcha_javascript ?>
     17 <?cs /if ?>
     18 }}}
     19 * Edit your conf/trac.ini file and add these lines, including your public and private reCAPTCHA keys:
     20 {{{
     21 [components]
     22 recaptcha_plugin.* = enabled
     23
     24 [recaptcha]
     25 public_key =
     26 private_key =
     27 }}}
    228
    329The plugin is hosted at: