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

Captcha using TTF & GD

Views: 147,342

Results 421 to 440 of 593
28 Nov 2008, 3:13 PM
#421
a_berezin avatar

a_berezin

Deceased

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

Captcha using TTF & GD

stevefriedman71:

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.

"captcha code as actual words"? Interesting idea. Give links to those sites.

I think about simple simple math question, like this - http://sw-guide.de/wordpress/plugins/math-comment-spam-protection/

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

28 Nov 2008, 5:26 PM
#422
stevefriedman71 avatar

stevefriedman71

Zen Follower

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

Re: Captcha using TTF & GD

a_berezin:

"captcha code as actual words"? Interesting idea. Give links to those sites.

it isn't a zencart site but it shows what i mean...
https://www.greendotonline.com/contents/login.aspx

also, some game sites use something like that.

28 Nov 2008, 5:48 PM
#423
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: Captcha using TTF & GD

I'm having a problem with the Contact Us page.

I seem to have installed the mod. correctly, and there are no other mods., etc., running on my site to cause conflicts.

Captcha works on the login function, and it works on the captcha_test.php file, but it doesn't work on the Contact Us page for my test shop.

The captcha IS appearing but it's not locking out users (Test dummy one - me) :smile:

This means that anyone can enter a message and hit send without completing the captcha and they'd be allowed to go ahead.

I'm running it on Zen 1.3.8a with no other problems (because I've locked everything else out).

I haven't made any modifications that I can recall on the Contact Us template page.

Any thoughts or suggestions?

:unsure:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

28 Nov 2008, 8:21 PM
#424
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

worldmaker,
Only one suggestions - search for your error.

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

28 Nov 2008, 9:00 PM
#425
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: Captcha using TTF & GD

Thanks for responding.

It's a tricky situation, as it's working perfectly on login and on the captcha_test.php, which suggests the underlying function is okay. But as I mentioned the Contact Us page doesn't stop people.

Only thing I can think of is the I edited the html element of html_elements/define_contact_us.php, but none of the captcha files.

If there are no other alternatives I can either try reloading everything or just switch the contact us function off.

:cool:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

28 Nov 2008, 9:05 PM
#426
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

I had the same problem . you need to over ride the hearder_php.php with the one supplied by captcha .. that should work. ( look in pages/contact us / hearder_php.php )

28 Nov 2008, 9:33 PM
#427
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: Captcha using TTF & GD

tony_sar:

I had the same problem . you need to over ride the hearder_php.php with the one supplied by captcha .. that should work. ( look in pages/contact us / hearder_php.php )

Thanks Tony, but I've done that three times, even deleting the one online to be certain the captcha one was uploaded.

Still got the problem with the Contact Us page.

:unsure:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

28 Nov 2008, 10:28 PM
#428
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: Captcha using TTF & GD

Not working on Tell-A-Friend either.

Very odd.

Although I don't need it on Tell A Friend, I've enabled it there to see how it compares with Contact Us (not working) and Log In (working).

Log In does enforce the captcha protection but neither Tell A Friend nor Contact Us work.

Does anyone know if there is anything distinct about the special pages, apart from login? I wonder if this is a problem relating to all of them?

:unsure:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

28 Nov 2008, 10:36 PM
#429
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

stevefriedman71:

it isn't a zencart site but it shows what i mean...
https://www.greendotonline.com/contents/login.aspx

also, some game sites use something like that.

Looked. Why do you think that this is better than just a set of random characters?

And what do you think about the math question?

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

28 Nov 2008, 10:40 PM
#430
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

worldmaker,
Maybe you have disable this in admin?

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

28 Nov 2008, 11:26 PM
#431
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

Do you have SSL installed on your site ?

IF you enabled the captcha for tell a friend and other pages. and not working , try this ..

open captcha.php located in include / classes ..

on line 68 ish .. change SSL to NONSSL .. save and update with the one on your server , and see if it works.

if it didn't then change it back to SSL again to make sure everything is back to what it was.

PS. do you have a link to the contact us section of your site ?? might be able to figure out something from there.

29 Nov 2008, 8:26 AM
#432
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: Captcha using TTF & GD

Tony,

Thanks for those thoughts, I did notice the SSL last night, but didn't know what to do with it, so now I've tried your amendment, but without success, LogIn still works on SSL and the Contact Us doesn't.

I've left the change in place if you want to look at it yourself.

Test Site is here: BonDevZone Marketplace

:unsure:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

29 Nov 2008, 8:29 AM
#433
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: Captcha using TTF & GD

a_berezin:

worldmaker,
Maybe you have disable this in admin?

Andrew,

Thanks for that, but the only item I had disabled in admin was Tell A Friend, which I then enabled last night to test it.

You can see for yourself if you have a moment here: BonDevZone Marketplace, and as you'll see I have tried Tony's suggestion without result.

:unsure:

I just know it's something really simple, but I don't know where to look.

:smile:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

29 Nov 2008, 3:14 PM
#434
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

worldmaker,
Can you send me /pages/contact_us/header_php.php and list of directory /pages/contact_us/.

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

29 Nov 2008, 3:14 PM
#435
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

looking at your source file for contact us page.. some of captcha files seems to reside on folder called bdz and some in bdz_tests folder.

create proper template override in your bdz_tests folder and move all captcha files to that folder , and see if they work Ok ..

30 Nov 2008, 10:50 AM
#436
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: Captcha using TTF & GD

tony_sar:

looking at your source file for contact us page.. some of captcha files seems to reside on folder called bdz and some in bdz_tests folder.

create proper template override in your bdz_tests folder and move all captcha files to that folder , and see if they work Ok ..

Tony,

bdz is the proper override folder for the test site, and all the correct files are already in place there. Obviously some of the captcha files are no capable of being overridden and I've replaced the original files with the captcha versions (yes, I did make backups first).

:unsure:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

30 Nov 2008, 12:33 PM
#437
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: Captcha using TTF & GD

a_berezin:

worldmaker,
Can you send me /pages/contact_us/header_php.php and list of directory /pages/contact_us/.

Andrew,

It's all on its way.

:smile:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

30 Nov 2008, 7:05 PM
#438
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: Captcha using TTF & GD

MANY thanks to Andrew, his suggestion worked perfectly.

Here's what I did "wrong".

When inserting the new captcha version of header_php.php I had preserved the original under the name header_php-ORIGINAL.php

THIS was the source of the problem.
Once the ORIGINAL was removed the captcha version worked perfectly.

:clap:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

18 Dec 2008, 10:29 PM
#439
razzzor avatar

razzzor

New Zenner

Join Date:
Jun 2008
Posts:
12
Plugin Contributions:
0

Re: Captcha using TTF & GD

Works fine except now most of my pages have the title Contact Us. Anyone know why?

18 Dec 2008, 10:43 PM
#440
razzzor avatar

razzzor

New Zenner

Join Date:
Jun 2008
Posts:
12
Plugin Contributions:
0

Re: Captcha using TTF & GD

Nevermind, I accidentally uploaded something into the wrong folder.