Forums / All Other Contributions/Addons / Captcha using TTF & GD

Captcha using TTF & GD

Views: 147,342

Results 401 to 420 of 593
19 Nov 2008, 12:01 AM
#401
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Captcha using TTF & GD

Hello.
I am not sure if there is any support for this mod , but here , i give it a try .
I downloaded the mod from zen cart site.( 1.38x)
installation was ok for contact up page. captcha showing up , i can redraw , but i don't need to enter validation to send email .. went through all the post , some had the same problem but no cure ..

if i leave all the text field blank on contact us and submit , i see warning massage relating to all fields including captcha .. thats all .
I tried captch_test.php, and there everything works.

any idea why validation wont required ?

thanks.

19 Nov 2008, 6:10 AM
#402
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Captcha using TTF & GD

tony_sar:

Hello.
I am not sure if there is any support for this mod , but here , i give it a try .
I downloaded the mod from zen cart site.( 1.38x)
installation was ok for contact up page. captcha showing up , i can redraw , but i don't need to enter validation to send email .. went through all the post , some had the same problem but no cure ..

if i leave all the text field blank on contact us and submit , i see warning massage relating to all fields including captcha .. thats all .
I tried captch_test.php, and there everything works.

any idea why validation wont required ?

thanks.

As long as someone answers, the support is never dead...

Of coarse, we're bland as bats without links, info so on... so for a shoot in the dark, I say you missed one edit or did not upload captcha.php in the classes folder.

Also check the header_php.php files for the validation call.. like this one for 'contact_us'.

  if (is_object($captcha) && !$captcha->validateCaptchaCode()) {
    $error = true;
    $messageStack->add('contact', ERROR_CAPTCHA);
  }

Dave
Always forward thinking... Lost my mind!

19 Nov 2008, 9:57 AM
#403
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Captcha using TTF & GD

Thanks.
I am using my developer server at home. sorry if there were no links ..
I did upload all the file. i checked , double checked for the files. the code you supplied was posted before , so i did also check for the code in the header_php.php and everything seems to be ok ..

didn't have any problem installing and showing captcha like many have had , is just Email can be send without entering validation .

I will try to reinstall it tonight again and see what happens. i might have missed something. :no:

Thanks.

20 Nov 2008, 12:53 AM
#404
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Captcha using TTF & GD

Hi ..
I reinstalled this mod , again, im back at same problem . no need for validation on contact Us page..
when i do test .. using captch_test.php, everything works fine.

i did configure few directive of apache , thinking those maybe the result , but logically , if it works on test , it should work on contact us , but i guess , validation code is somehow not inserted in correct location on the page.

any more info would be great .

thanks.

20 Nov 2008, 11:36 PM
#405
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Captcha using TTF & GD

Oh well, seems dead support on this mod.. is amazing that many had the same issue and it seems to find a way to solve it , but yet no one bothered to post the solution ..

contribution like this , should be removed from zen download section.

just my 2 cents:censored:

20 Nov 2008, 11:45 PM
#406
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: Captcha using TTF & GD

tony_sar:

Oh well, seems dead support on this mod.. is amazing that many had the same issue and it seems to find a way to solve it , but yet no one bothered to post the solution ..

contribution like this , should be removed from zen download section.

just my 2 cents:censored:

The support isn't dead, the Author of this contribution a_berezin still continues to help out in this thread.

This contribution works fine for me and alot of others, try uninstalling it and reinstalling it again and follow the instructions thoroughly, doesn't hurt to read the thread over too.

Keep in mind, support here is free, others are using their own free time and patience to help everyone here. Not everyone can be answered immediately with a solution.

I have found that out, I was the same way. But I know am choosing to respect that now and be a lil more patient :)

another option is to post help in the commercial help thread, but you'd have to pay some $$

Have you visited the (un-official) Zen Cart IRC channel yet?
irc.freenode.net ##zencart

21 Nov 2008, 12:28 AM
#407
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Captcha using TTF & GD

Thanks.
I read through all the pages from page 1 to page 41 ..
I have installed , uninstalled , installed.
I have looked inside the codes.. not that i understand anything but i had to look upon others suggestion for missing code .

now , Either the script is not working , or my server is miss configured.
base on what i can find on my server , everything working just fine.
if i can use captcha test page to test and if it validates there . then server is fine.

zen cart , is serious program , and is for business and is not playground for kiddy scripters .. I appreciate efforts that are put toward making mods and making zen even better ..
but if anyone going to make efforts of writing something , they should at least make sure those things really work ..
not everyone pro with php, mysql and stuff . and not every server configured the same way .. so either do it right or don't do it.

most of the modes here looks just like puzzle .

:frusty:

21 Nov 2008, 2:51 AM
#408
chris32882 avatar

chris32882

Zen Follower

Join Date:
Oct 2008
Location:
Hornell, NY
Posts:
330
Plugin Contributions:
0

Re: Captcha using TTF & GD

tony_sar:

Thanks.
I read through all the pages from page 1 to page 41 ..
I have installed , uninstalled , installed.
I have looked inside the codes.. not that i understand anything but i had to look upon others suggestion for missing code .

now , Either the script is not working , or my server is miss configured.
base on what i can find on my server , everything working just fine.
if i can use captcha test page to test and if it validates there . then server is fine.

zen cart , is serious program , and is for business and is not playground for kiddy scripters .. I appreciate efforts that are put toward making mods and making zen even better ..
but if anyone going to make efforts of writing something , they should at least make sure those things really work ..
not everyone pro with php, mysql and stuff . and not every server configured the same way .. so either do it right or don't do it.

most of the modes here looks just like puzzle .

:frusty:

The instructions are detailed, explains exactly what to do to step by step, if you don't understand the coding, or if you find this too difficult of a task to do, you can hire someone to do the code for you or rebuild the code to suit your needs.

Have you visited the (un-official) Zen Cart IRC channel yet?
irc.freenode.net ##zencart

21 Nov 2008, 4:47 PM
#409
chrx avatar

chrx

New Zenner

Join Date:
Aug 2005
Location:
SF Bay Area, California, USA
Posts:
84
Plugin Contributions:
0

Re: Captcha using TTF & GD

a_berezin:

In zen-cart 1.3.8a you can install install.sql using upload.
Not sure if I did something wrong, but once in Admin->Tools->Install SQL Patches, it did not seem to work using the Upload function. I had the file in a directory on my desktop and navigated to that file. I got an error message using that method, so I went back and used the copy/paste method we discussed a few posts back and it went through fine.
Thanks again Andrew, chrx

22 Nov 2008, 5:33 PM
#410
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Captcha using TTF & GD

chrx:

I had the file in a directory on my desktop and navigated to that file. I got an error message using that method
What's error you got?

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

22 Nov 2008, 6:50 PM
#411
irbis avatar

irbis

New Zenner

Join Date:
Apr 2007
Posts:
7
Plugin Contributions:
0

Re: Captcha using TTF & GD

mydanilo:

I hear you. The captcha does insert in to the contact us once I enable it again but it only shows the

Enable this picture Redraw Capture Image
Verification code: * (case insensitive)

Just no captcha picture is showing up.

What gets me is that I installed the same thing on my other site and they are almost identical.:(

in file .htaccess add

RewriteRule ^captcha_img.php.html$ captcha_img.php [L]
23 Nov 2008, 8:44 PM
#412
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Captcha using TTF & GD

Hi! I added the version of this mod that is combined with the telephone not required on sign up. I also have swguy's Ask a Question mod installed and wondered if there was any chance of the captcha support being added for that?

I managed to get the captcha showing, but it doesn't validate it, i.e...the message still gets sent even if you don't fill out the captcha characters so I took it off again and I just don't know enough to know where I am going wrong LOL

**ETA I think I found something about this further back in the thread...my apologies for not reading first and I am off to try that LOL

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

23 Nov 2008, 8:58 PM
#413
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Captcha using TTF & GD

Working now, please ignore me, I really do know better to search first, just having a blonde morning LOL

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

24 Nov 2008, 10:29 AM
#414
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Captcha using TTF & GD

so what was the solution to the problem you had with captcha?

not validating

any info would be great .

24 Nov 2008, 4:54 PM
#415
steve_1 avatar

steve_1

Zen Follower

Join Date:
Sep 2008
Location:
London UK
Posts:
100
Plugin Contributions:
0

Re: Captcha using TTF & GD

this is one I cannot get to work

have installed and uninstalled numerous times

have checked, double checked and triple checked that files all uploaded correctly

on contact us page ... if I leave every box blank and click submit I get the validation error as well as all the other errors (although they seem to show red error box twice for each error message ... except for validation error message .. which only shows once)

if I fill all boxes in except validation box then it still sends (even if I enter wrong validation code it still sends)

wondering if the code for checking the validation is in wrong place ?

25 Nov 2008, 3:29 AM
#416
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Captcha using TTF & GD

tony_sar:

so what was the solution to the problem you had with captcha?

not validating

any info would be great .

If you were replying to my post....as it says in the post my problem was related to getting the captcha to work with swguy's Ask A Question mod, of which I found the solution by using the Thread Tools at the top here, specifically Search This Thread with the keywords Ask a Question....beyond that if your problem is not to do with the other mod I cannot help, sorry :)

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

25 Nov 2008, 6:24 AM
#417
romy avatar

romy

New Zenner

Join Date:
May 2007
Location:
york, pa
Posts:
98
Plugin Contributions:
0

Re: Captcha using TTF & GD

give this a try. I remember I edited the header file

25 Nov 2008, 11:18 PM
#418
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Captcha using TTF & GD

Thanks romy .. i just downloaded your zip file , used the winmerg to compare with mine. yours uses the phone number and not mine .. but i notice missing ! before captchavalidate function .. and also , i guess major problem with not validating was that I renamed header_php.php to header_phpOLD.php.. well, it seems zen cart still load this php file along with new one .. not only it duplicates the error massages ( red box ) also is killing the captcha function .. so after removing it .. and adding " ! " , is working :clap:

im running on production server, installed under winxp with PHP5 + ..
Thanks again ..

26 Nov 2008, 11:02 AM
#419
romy avatar

romy

New Zenner

Join Date:
May 2007
Location:
york, pa
Posts:
98
Plugin Contributions:
0

Re: Captcha using TTF & GD

I know the feeling. It feel great when a problem is solved. Glad to help.

28 Nov 2008, 1:14 AM
#420
stevefriedman71 avatar

stevefriedman71

Zen Follower

Join Date:
Sep 2006
Posts:
269
Plugin Contributions:
0

Re: Captcha using TTF & GD

is there SOME way to make the captcha code as actual words? i've seen that on other sites... seems like a neat way for a captcha.