klenwell information services : WikkaRecaptchaLoginRegistration

WikkaWiki ReCaptcha Login/Registration

Please Note: this plugin does not currently work with Wikka v1.3.3 or higher. See WikkaRegistrationRecaptcha instead.

Latest Version: 0.4.2 (2010.05)
Download: http://code.google.com/p/klenwell/downloads/detail?name=wikka_recaptcha_registration-v0.4.2.tgz

This package integrates the ReCaptcha PHP plugin with the WikkaWiki login/registration to help prevent spammers and bots. New users who register will have to solve a ReCaptcha CAPTCHA in order to complete their registration. It will also automatically created a new wiki page for the user.

This is an alpha release so, though it has been successfully tested locally, there may still be minor issues and elements that need polish.

Please report any bugs here: http://code.google.com/p/klenwell/issues/list


PHP 5.1+
ReCaptcha PHP Plugin (in 3rdparty/plugins directory)
ReCaptcha Keys (available here)
Klenwell User Settings Recaptcha
Klenwell Base Action Class
Klenwell Wikka Config (for ReCaptcha integration)

This package does not alter any of the core WikkaWiki code. The files are all included in the download package.


Unzip the archive and copy the contents of this package to your wikkawiki root
$ tar xf wikka_recaptcha_registration-v0.4.1.tgz
$ cp -Rf wikka_recaptcha_registration/* /PATH/TO/wikka/

Note: For WikkaWiki v1.3, you must move the action into its own directory (see this ticket, for more details: http://code.google.com/p/klenwell/issues/detail?id=6):
$ cd /PATH/TO/wikka/
$ mkdir -p plugins/actions/usersettingsrecaptcha
$ mv -v plugins/actions/usersettingsrecaptcha.php plugins/actions/usersettingsrecaptcha/

Then update your wikka.config.php file to include your ReCaptcha keys:
	# recaptcha: get keys at http://recaptcha.net/api/getkey?app=php
	'use_recaptcha'     => TRUE,
	'recaptcha_domain'  => 'TBA',
	'rc_public_key'     => 'TBA',
	'rc_private_key'    => 'TBA',

Additionally, you may wish to edit your stylesheet to update the interface.

Finally, add the action code to your UserSettings page (or any page of your choosing):



For a demo, see the login/registration form on this site and register as a new user.


If you have any problems, please open a ticket here:


I will respond as soon as I can.


ReCaptcha Home