OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Captcha Problems

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Captcha Problems

Postby tshore » Sun Nov 01, 2009 9:32 pm

This is the first year that I've tried using captcha with OCS. My conference organizer reports that people are having problems with captcha when attempting to create accounts. One person gave up after 6 failed attempts. What I find helpful with captcha is the inclusion of a "Try Another" link. Have others experienced similar problems with captcha? And, any chance of a patch to give the user a chance to display another captcha if the one that's displayed is too difficult?
tshore
 
Posts: 266
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario

Re: Captcha Problems

Postby tshore » Thu Nov 05, 2009 3:24 pm

Anybody have any suggestions for me? Otherwise, I will have to turn off the CAPTCHA and I would prefer not to do that.
tshore
 
Posts: 266
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario

Re: Captcha Problems

Postby jmacgreg » Mon Nov 09, 2009 4:21 pm

Hi Trudy,

We have a feature request for adding reCaptcha support, which would be much more flexible and useable: http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=4082. Not sure when we'll get to implementing it, though. Just the same, feel free to CC yourself to that report for future updates.

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Captcha Problems

Postby tshore » Tue Nov 24, 2009 8:26 am

In the meantime, I went into:

classes/security/Validation.inc.php

and edited the generatePassword function (this function is also used to generate CAPTCHAs). I removed a number of characters that can be ambiguous when comparing upper and lower case (ie. vV, uU, etc):
Code: Select all
//   $letters = 'abcdefghijkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ';
     $letters = 'abdefghijkmnqrtyABDEFGHJKLMNQRTY';

Of course this probably makes the randomly generated passwords less secure, but, otherwise the CAPTCHA was practically unusable.
tshore
 
Posts: 266
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest