PDA

View Full Version : Captcha FYI -


vkaryl
08-31-2005, 04:50 AM
As a generalized heads-up, the captcha setup in RC5.2 is not good. The font selection is unreadable against the background etc. - it's just not very usable.

Solution? Copy the /captcha/ folder from the version 4 /libs/ folder and paste into the /libs/ folder in RC5.2; also copy the captcha.php file from version 4 into the RC5.2 root folder.

This will provide a usable captcha until the programmers get it fixed, so hopefully your users will be a bit happier....

Feydakin
08-31-2005, 11:12 PM
I just gave this a try.. Downloaded 2.0RC4 (from November I think) and no joy in mudville..

Looks like it's time to do some digging..

David
09-01-2005, 12:07 AM
Take a look at this post:
http://www.phplinkdirectory.com/forum/viewtopic.php?p=1525#1525

Feydakin
09-01-2005, 01:22 AM
Nadda.. I've been lookng through the code and I'm pretty sure that the problem is that the captcha.php can't find the fonts..

'TTF_folder' => INSTALL_PATH.'/libs/captcha/fonts/',

This could be because I renamed the install directory after we made some changes in the site structure.. So, I figured I could just hard code the link with

'TTF_folder' => '/jewelry_directory/libs/captcha/fonts/',

Nadda.. It has got to be a path issue, but I could be wrong.. It wouldn't be the first time, today.. Basically, when the captcha loads I get the cool red X

Steve

kickass
09-01-2005, 01:32 AM
If it is a problem in the code it isn't a problem of your making. My newest install has the MissingFont Problem too, and I didn't swap any directories or make any changes to core . . . Hopefully vkaryl's fix works for me . . .

vkaryl
09-01-2005, 02:21 AM
Really y'all, it works a treat. But you HAVE to copy BOTH the captcha.php file from vers.4 root, AND the libs/captcha folder from vers.4, and overwrite BOTH the folder and file.

And I've submitted links using the form, captcha etc. Works just fine. See in operation at http://findsouthernutah.bytehaven.com/RC5.2/submit.php (nothing much there yet, but does work...)

Ap0s7le
09-01-2005, 02:22 AM
Some servers don't have FreeType compiled with PHP, thus the function to create the image are screwed up. Am I saying this is your problem? No, but I am saying it's possible.

If you'd like, PM me your FTP / CPanel details and I'll have a look shortly to see if I can remedy the problem.

Thanks

-Casey

David
09-01-2005, 05:02 AM
I do truly want to make some changes on the captcha. It's just a matter of time and resources. One day we will have something comparable to what you see on other programs like phpbb or wordpress, but until then, I really appreciate now everyone is working together to find a solution under the current framework.