Re: Captcha using TTF & GD
I have no idea what is going on but I cant get this thing to pull the fonts file. It just displays small text. I guess its no big deal because it works but its pretty hard to read. I have been searching the forums all day with no luck. Any help is appreciated.
http://palmettomattress.com/index.ph...r_of_uploads=0
Re: Captcha using TTF & GD
I've read the first few pages but did not see my question answered, is it possible to ONLY do the captcha on the contact and tell a friend forms, not the regsitration or others?
Thanks!
John
Re: Captcha using TTF & GD
Quote:
Originally Posted by
ethical
I've read the first few pages but did not see my question answered, is it possible to ONLY do the captcha on the contact and tell a friend forms, not the regsitration or others?
Thanks!
John
Keep digging for the answer I'm sure it is possible, but it's been so long since I came on the answer that I can't remember where I found it.
:blush:
Re: Captcha using TTF & GD
Quote:
Originally Posted by
ethical
I've read the first few pages but did not see my question answered, is it possible to ONLY do the captcha on the contact and tell a friend forms, not the regsitration or others?
Yes, in admin/configuration/CAPTCHA set the "Contact us page" and "Tell A Friend page" options to true.
1 Attachment(s)
Re: Captcha using TTF & GD
Hmmm..:frusty:
Ive installed the "Captcha using TTF & GD" module on my Windows LocalHost test machine. Alas.. she no worky.
I followed instructions explicitly, but my site will not show the images on the validation pages ! ReDraw dont help.
My cart uses PHP 5. with database prefix"zcprefix_" (not the actual name).
Ive installed the SQL seq as per instruction.
Attached image ... contact_Us example
The Log-In page shows no CAPTCHA data at all.
All admin>CAPTCHA options are set to true as installed.
Can anyone please help? I have big problems with SPAMBots and MUST fix this asap !
Is my prefix causing sql problems, I changed nothing in install.sql ?
Cheers
Re: Captcha using TTF & GD
I may have not followed instructions properly...
It looks like there are 8 files I need to edit ????? !!!
I assumed that these files did not need to be edited as the my existing files are all unchanged from the original install.
Do I still need to edit these files?:shocking:
Quote:
Originally Posted by
remoteone
Install:
========
0. BACKUP! BACKUP! BACKUP! BACKUP! BACKUP! BACKUP!
1. Unzip and upload all new files to your store directory;
2. EDIT:
Use applied files as a sample. All changes of a code are made in brackets
// BOF CAPTCHA
... code ...
// EOF CAPTCHA
/includes/modules/pages/contact_us/header_php.php
/includes/modules/pages/links_submit/header_php.php
/includes/modules/pages/tell_a_friend/header_php.php
/includes/modules/YOUR_TEMPLATE/create_account.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_links_submit_default.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_tell_a_friend_default.php
Re: Captcha using TTF & GD
Well after installing CAPTCH ttf on my local windows server, and re-booting, clearing the cache etc etc etc. CAPTCHA still would not show the Validation Image.
Then several days after installing it just started working! even tho I made no changes. Go figure that out? !
So I uploaded and SQL patched to my live site and I get the same problem. :
Instead of a Validation Image, I get a box that says: "enable this picture"
How can I fix this please ?:frusty:
Re: Captcha using TTF & GD
Ok its working.
I found that on both my localhost and my live Linux host that started to work only after running the tesy and/or debug files.
*captcha_test.php ,captcha_debug.php and/or captcha_img.php"
Not sure wich one triggered it to start working, but it just would not work until I broused to those files.
No mention of that in the Install Text.
http://www.remoteone.com.au
Re: Captcha using TTF & GD
Hi,
I am using version 2.9.
Congratulations on this mod, very well done, worked first time apart from the sql would not run in zen admin without an error, fine in phpmyadmin though.
I have found two minor validation errors, I could not find any reference to them in the thread so,
in classes/captcha.php
there are two unencoded ampersands.
1)
change this line:
Code:
$image = '<img id="captcha-img" src="' . $this->img_href . '&rand=' . str_replace(' ', '', microtime()) . '" alt="' . $alt . '"';
to this:
Code:
$image = '<img id="captcha-img" src="' . $this->img_href . '&rand=' . str_replace(' ', '', microtime()) . '" alt="' . $alt . '"';
2)
change this line:
Code:
$redraw = ' onclick="document.getElementById(\'captcha-img\').src=\'' . $this->img_href . '&rand=\'+Math.random();return false;"';
to this:
Code:
$redraw = ' onclick="document.getElementById(\'captcha-img\').src=\'' . $this->img_href . '&rand=\'+Math.random();return false;"';
regards
Steve
Re: Captcha using TTF & GD
Hi all,
I was trying to decide on a captcha addon and initially installed captcha number subject in 1.0 and was having trouble getting it to work. There is no support thread and I have not seen it mentioned much on the forums, so I decided to change.
Captcha using ttf & gd has some got some great remarks so I decided to change to that one.
After I ran the uninstall for the previous addon, I went to work on installing Captcha using ttf & gd, all went smooth!
However I do have an error:
Fatal error: Call to a member function close() on a non-object in /home/autoXXX/public_html/includes/classes/captcha.php on line 341
Does anyone know what this is? Any ideas/solutions are greatly appreciated. Thanks.