create new tag
, view all tags

Question about Hooking into the Twiki Registration Procedure

I am attempting to develop a plugin that adds Captcha The Captcha Project functionality to the TWiki registration procedure.

To do this I am making use of a VERY simple perl module Authen::Captcha CPAN Module Page.

Essentially, my thinking, and my current version of the plugin works in the following way.

When the registration page is loaded a new Captcha image is created and placed on the page in the registration form (with a description etc).

When the user submits the registration the Captcha code they enter is checked against the MD5 sum of the file, and then validated or rejected.

However I have been unable to do this in the current release of TWiki without quite a nasty hack in the bin/register script (naughty, I know).

I was told that the plugin API in the Dakar release would have better support to hooking into the registration procedure, but the version I currently have still doesn't seem to be capable, although admittedly I could be being stupid and not spotting it.

If this is possible to do without any nasty hacks it would be great and I'd be able to bundle up my work and contribute it.

Any suggestions would be greatly appreciated.



-- ChrisHampson - 08 Dec 2005

I'm afraid that in Dakar you still need hacks. There have been many ideas to improve the registration, but they came too late in the Dakar integration process - registration not a part one would play with. RegistrationBeyondDakar and RegistrationAsPluginRequirements are two recent articles covering the topic, and I'd consider Captcha a very interesting candidate for registration.

-- HaraldJoerg - 08 Dec 2005

TopicClassification TWikiDevQuestion
TopicSummary Hooking in to the registration process to add Captcha functionality.


Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-12-08 - HaraldJoerg
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.