Tested through 1.3.1
 


UR Captcha Module (beta)


This module is based upon YodaHome's implementation of FreeCap for 1.1.6.3, and modifications made by me for 1.1.7. This module is in beta test at the moment, and I encourage those who are interested to try it out. Currently, this module works only for versions > 1.1.6.4 as it depends upon the UR framework.

Screenshot


captcha example

Installation


Requires version 1.1.6.4 or higher!

Download either the .zip or .tgz package. Unzip/untar into your <wikka-dir>/libs/UR folder or subdirectory. (Note: Both packages include the freecap files, so there is no need to install additional files.)

You should now have, in your UR folder/subdir, a new folder/subdir called URCaptchaModule.

Open your <wikka-dir>/wikka.config.php file and add the following line:

'UR_validation_modules' => 'URCaptchaModule',


That should be it. When you bring up your UserSettings page (logout first), you should see the CAPTCHA image and a textbox. Currently, the number of retries before requiring a browser restart is set to 3...to change this value (perhaps for testing purposes), open the freecap/freecap.php file and search for max_attempts. Change this value to whatever you want (999 works well for testing).

If you see only a background image, but no letters, then you are probably running on a Mac or UNIX box. You will need to modify the following line in freecap/freecap.php and set to true: (line #42)

$big_endian = true;

ToDo




CategoryURModules
CategoryUserContributions
Comments
Comment by WillyPs
2008-05-18 18:41:04
working at http://www.shirlsworld.net/Wikka/HomePage if anyone wants a demo.
Comment by BrianKoontz
2008-05-18 18:56:49
Works great, thanks for setting this up...
Comment by JustAGuest
2008-09-25 08:46:15
Great job, one thing of note though...although it displays a captcha at the login/register screen, it doesn't actually require you to type anything in to login. If I was an evil spammer I'd just create accounts manually and then feed the login/passwords to my bot, especially if there's no email verification it's easy..
Comment by BrianKoontz
2008-09-25 19:59:45
JustAGuest, you are correct: The captcha modules as currently implemented are only to validate registration requests, not login requests. Unfortunately, past design decisions have relegated both registration and login to the same UserSettings page. This functionality is due to be separated in a future release.
Comment by WillyPs
2009-02-22 13:17:03
Just upgaded http://www.shirlsworld.net/Wikka/HomePage to 1.1.6.6, and reinstalled this mod. Working fine, no problems.
Comment by JoaoA
2009-05-04 08:20:17
Fellows, I've followed the instructions, but the image won't show up (Firefox/IE). I'm using a Wampserver 2.00, PHP 5.2.8 (GD2/freetype enabled) and Wikka 1.1.6.6. I tried to change the ReWrite rules in my .htaccess - didn't work. Could you help me?
Comment by BrianKoontz
2009-05-04 15:16:51
Set line #42 in freecap/freecap.php to false:

$big_endian = false;

Let me know if that works for you.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki