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

Captcha using TTF & GD

Views: 147,342

Results 241 to 260 of 593
12 Dec 2007, 3:14 AM
#241
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Captcha using TTF & GD

Nixak:

Hi, great mod :clap: .... but I think I have the same problem as nigelt74. I have had to remove the captcha on the registration page because it causes the login page to not appear the screen just goes blank.

Hi Nixak

I am not sure we are getting the same error, my login screen appears fine everything shows up as it should apart from the captcha image, where the captcha image should show up I get "Enable this picture" and of course it's impossible to register if you can't see the image ,
also the captcha works fine on my login page provided I don't have the store set to prevent unlogged in users from browsing, (* Unfortunately i need this setting on my store)*

A_Berizin, I can provide you with a link to the site if you wish to take a look

Webzings Design
Semi retired from Web Design

13 Dec 2007, 8:58 PM
#242
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Re: Captcha using TTF & GD

I don't know if this will help you Nigelt74 but I solved my login page problems by simply deleting the captcha file create_account.php and then re-uploading it and using the overides system. Im still pretty new to Zen-Cart and after all the work I've done i've only just found out about overrides lol, luckily enough I kept the orig Zen-Cart files.

I must of had an FTP fault with the original upload, maybe you did too. I know its a long shot but good luck, if I find out anything I will let you know.

17 Dec 2007, 11:01 AM
#243
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

nigelt74:

A_Berizin, I can provide you with a link to the site if you wish to take a look
Unfortunately this does not help :no:

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

28 Dec 2007, 12:36 PM
#244
cjcrafts avatar

cjcrafts

New Zenner

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

Re: Captcha using TTF & GD

I am interested in adding these captcha features to the Returns Authorization Request Ver 2.2 Mod found in the downloads section. I have installed on ZC1.3.8a. I have toyed around with it with no success. If someone could provide a breakdown of what code needs to be added and where that would be great! If someone already has this modded and is willing to share that would be even better. :D

I have obviously missed something somewhere. I have gotten it to display on the form in the past, but it does not verify the code before submitting the form.

Thanks in advance
Steve

28 Dec 2007, 12:41 PM
#245
cjcrafts avatar

cjcrafts

New Zenner

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

Re: Captcha using TTF & GD

cjcrafts:

Thats is interesting about the image.

yes I have tried uninstalling the database & installing, and uploading the files again, with no avail. I would not be surprised one bit if it is a conflict of some fashion with another mod, as it was working fine,
and suddenly I noticed it was acting goofy.

I also thank you for your insight into my site navigation and have began changes in regard to it. it makes perfect sense
what you suggested.

Here is a list of mods I have installed:

supertracker
return authorization
recover cart sales
image handler
shipping & order export
backup mysql
google sitemaps
links manager - have modified version that will allow banners to be installed after this problem is resolved
multigeozone multitable shipping

I believe this is a complete list but I am recalling from memory.

Figured I would post an update on this. I never did discover what was going on with this issue. We moved our site over to a new server running php 5.0 and the problem vanished.

31 Dec 2007, 5:56 PM
#246
stevefriedman71 avatar

stevefriedman71

Zen Follower

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

Re: Captcha using TTF & GD

BIG problem and need an idea where to look at. :frusty:

I installed CAPTCHA version 2.8 on cart 1.3.8 localy and ran in to this error:

EVERYTIME the warning: "You did not entered the validation code correctly. Please, try again." comes up despite enetring the code CORRECTLY.
But it works right when using https://www.store.com/captcha_test.php....

where could the error be?
i installed using merge and copying the "//captcha" code spippets where they belong.

1 Jan 2008, 5:41 PM
#247
kamudi avatar

kamudi

New Zenner

Join Date:
Jan 2008
Posts:
4
Plugin Contributions:
0

Re: Captcha using TTF & GD

stevefriedman71:

BIG problem and need an idea where to look at. :frusty:

I installed CAPTCHA version 2.8 on cart 1.3.8 localy and ran in to this error:

EVERYTIME the warning: "You did not entered the validation code correctly. Please, try again." comes up despite enetring the code CORRECTLY.
But it works right when using https://www.store.com/captcha_test.php....

where could the error be?
i installed using merge and copying the "//captcha" code spippets where they belong.
Had to look all over for this download link? But anyway I finally found it. I'm using a linux server with latest php so I'll let you know how it works out.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=551

2 Jan 2008, 10:35 PM
#248
veronika7747 avatar

veronika7747

Zen Follower

Join Date:
Nov 2007
Posts:
270
Plugin Contributions:
0

Re: Captcha using TTF & GD

I noticed that provision is made for "Links Submit"

(NULL, 'Links Submit page', 'CAPTCHA_LINKS_SUBMIT', 'true', 'Activate Validation on Links Submit page', @configuration_group_id, 24, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),

If that is part of some other add-on, where can I find it? I created something similar from specialorder form, but if it is available and would let me use the CAPTCHA for link submit request page,I would like to use it.
Thanks.

3 Jan 2008, 2:37 AM
#249
veronika7747 avatar

veronika7747

Zen Follower

Join Date:
Nov 2007
Posts:
270
Plugin Contributions:
0

Re: Captcha using TTF & GD

Veronika7747:

I noticed that provision is made for "Links Submit"

(NULL, 'Links Submit page', 'CAPTCHA_LINKS_SUBMIT', 'true', 'Activate Validation on Links Submit page', @configuration_group_id, 24, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'),

> 
> If that is part of some other add-on, where can I find it? I created something similar from specialorder form, but if it is available and would let me use the CAPTCHA for link submit request page,I would like to use it.
> Thanks.

Found it! Links Manager in the downloads...
6 Jan 2008, 2:10 AM
#250
cjcrafts avatar

cjcrafts

New Zenner

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

Re: Captcha using TTF & GD

cjcrafts:

I am interested in adding these captcha features to the Returns Authorization Request Ver 2.2 Mod found in the downloads section. I have installed on ZC1.3.8a. I have toyed around with it with no success. If someone could provide a breakdown of what code needs to be added and where that would be great! If someone already has this modded and is willing to share that would be even better. :D

I have obviously missed something somewhere. I have gotten it to display on the form in the past, but it does not verify the code before submitting the form.

Thanks in advance
Steve

I figured it out. Thanks anyways

7 Jan 2008, 2:41 PM
#251
kamudi avatar

kamudi

New Zenner

Join Date:
Jan 2008
Posts:
4
Plugin Contributions:
0

Re: Captcha using TTF & GD

spammer list ips:
210.76.106.241
201.92.93.134
190.57.18.125
123.193.232.42
62.231.233.14
121.131.155.98
70.22.199.184
65.254.250.103
87.101.81.195
166.230.136.95
64.91.250.135
62.118.255.3
85.140.195.94
66.179.49.221
189.163.37.149
29.8.38.5
79.101.138.131
91.82.66.102
78.165.155.134
208.179.130.20
83.220.34.187
71.95.150.197
89.152.54.31
118.161.85.130
31.0.57.2
85.218.15.99
89.189.138.96
78.183.135.188
213.180.193.1
66.249.93.27
122.156.70.45
216.70.230.245
74.9.108.162
79.80.168.85
79.80.160.167
212.59.213.210
216.118.89.103
81.214.134.21
121.135.162.97
64.34.102.177
205.178.149.7
83.170.64.233
195.154.126.29
213.171.216.65
165.228.176.206
85.128.189.113
212.227.15.150
84.33.22.2
207.183.238.22
217.146.188.189
64.97.204.10
80.74.139.2
195.2.72.158
83.103.22.143
151.37.215.186
80.26.102.201
207.246.86.70
167.182.67.128
206.165.246.47
64.39.4.176
85.20.111.159
89.42.27.47
212.227.15.134
91.97.44.204
168.139.68.137
64.202.166.12

8 Jan 2008, 4:45 AM
#252
veronika7747 avatar

veronika7747

Zen Follower

Join Date:
Nov 2007
Posts:
270
Plugin Contributions:
0

Re: Captcha using TTF & GD

cjcrafts:

I figured it out. Thanks anyways

Could you let us know how you did it???

8 Jan 2008, 5:30 AM
#253
veronika7747 avatar

veronika7747

Zen Follower

Join Date:
Nov 2007
Posts:
270
Plugin Contributions:
0

Re: Captcha using TTF & GD

Even though there is a note that the code is case sensitive, I am able to input the lowercase when uppercase is indicated and it is accepted.
Have I missed some set-up somewhere??
Thanks

8 Jan 2008, 5:59 AM
#254
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Captcha using TTF & GD

Veronika7747:

Even though there is a note that the code is case sensitive, I am able to input the lowercase when uppercase is indicated and it is accepted.
Have I missed some set-up somewhere??
Thanks

I believe that the note actually reads "case insensitive"

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

8 Jan 2008, 1:10 PM
#255
kamudi avatar

kamudi

New Zenner

Join Date:
Jan 2008
Posts:
4
Plugin Contributions:
0

Re: Captcha using TTF & GD

kamudi:

spammer list ips:
210.76.106.241
201.92.93.134
190.57.18.125
123.193.232.42
62.231.233.14
121.131.155.98
70.22.199.184
65.254.250.103
87.101.81.195
166.230.136.95
64.91.250.135
62.118.255.3
85.140.195.94
66.179.49.221
189.163.37.149
29.8.38.5
79.101.138.131
91.82.66.102
78.165.155.134
208.179.130.20
83.220.34.187
71.95.150.197
89.152.54.31
118.161.85.130
31.0.57.2
85.218.15.99
89.189.138.96
78.183.135.188
213.180.193.1
66.249.93.27
122.156.70.45
216.70.230.245
74.9.108.162
79.80.168.85
79.80.160.167
212.59.213.210
216.118.89.103
81.214.134.21
121.135.162.97
64.34.102.177
205.178.149.7
83.170.64.233
195.154.126.29
213.171.216.65
165.228.176.206
85.128.189.113
212.227.15.150
84.33.22.2
207.183.238.22
217.146.188.189
64.97.204.10
80.74.139.2
195.2.72.158
83.103.22.143
151.37.215.186
80.26.102.201
207.246.86.70
167.182.67.128
206.165.246.47
64.39.4.176
85.20.111.159
89.42.27.47
212.227.15.134
91.97.44.204
168.139.68.137
64.202.166.12

Block the following countries. I only sell in USA so I don't need to deal with outside spammers....You can choose which country to block. Like .ru for example...:clap:

IP to Country Mappings

This file is in excel format and is over 21MB in size!

This zip file is in excel format. I dont even remember where it came from, so I am sorry to say I cant give credit where credit is due. I compiled this list from .zips from somewhere, anyways the list includes IP to Country mappings for -

? Albania: Albania.zip
? Algeria: Algeria.zip
? Argentina: Argentina.zip
? Armenia: Armenia.zip
? Australia: Australia.zip
? Bahrain: Bahrain.zip
? Bangladesh: Bangladesh.zip
? Belarus: Belarus.zip
? Belgium: Belgium.zip
? Bosnia-Herzagovina: BosniaHerzagovina.zip
? Brazil: Brazil.zip
? Bulgaria: Bulgaria.zip
? Canada: Canada.zip
? China: China.zip
? Columbia: Columbia.zip
? Croatia: Croatia.zip
? Cuba: Cuba.zip
? Czech Republic: CzechRepublic.zip
? Denmark: Denmark.zip
? Egypt: Egypt.zip
? Estonia: Estonia.zip
? France: France.zip
? Georgia: Georgia.zip
? Greece: Greece.zip
? Germany: Germany.zip
? Hong Kong: HongKong.zip
? Hungary: Hungary.zip
? India: India.zip
? Indonesia: Indonesia.zip
? Iran: Iran.zip
? Ireland: Ireland.zip
? Israel: Israel.zip
? Italy: Italy.zip
? Japan, part one: Japan1.zip
? Japan, part two: Japan2.zip
? Jordan: Jordan.zip
? Kazakhstan: Kazakhstan.zip
? South Korea: Korea.zip
? Kuwait: Kuwait.zip
? Lativia: Lativia.zip
? Lebanon: Lebanon.zip
? Lithuania: Lithuania.zip
? Macedonia: Macedonia.zip
? Malaysia: Malaysia.zip
? Mexico: Mexico.zip
? Mongolia: Mongolia.zip
? Morocco: Morocco.zip
? Netherlands: Netherlands.zip
? Norway: Norway.zip
? Oman: Oman.zip
? Pakistan: Pakistan.zip
? Philippines: Philippines.zip
? Poland: Poland.zip
? Portugal: Portugal.zip
? Puerto Rico: PuertoRico.zip
? Qatar: Qatar.zip
? Romania: Romania.zip
? Russia: Russia.zip
? Saudi Arabia: SaudiArabia.zip
? Singapore: Singapore.zip
? Slovakia: Slovakia.zip
? Slovenia: Slovenia.zip
? Spain: Spain.zip
? Sri Lanka: SriLanka.zip
? Sudan: Sudan.zip
? Sweden: Sweden.zip
? Switzerland: Switzerland.zip
? Syria: Syria.zip
? Taiwan: Taiwan.zip
? Tajikistan: Tajikistan.zip
? Tanzania: Tanzania.zip
? Thailand: Thailand.zip
? Turkey: Turkey.zip
? Turkmenistan: Turkmenistan.zip
? Ukraine: Ukraine.zip
? United Kingdom: UnitedKingdom.zip
? Uzbekistan: Uzbekistan.zip
? Vatican City: VaticanCity.zip
? Vietnam: Vietnam.zip
? Yemen: Yemen.zip
? Yugoslavia: Yugoslavia.zip

8 Jan 2008, 4:35 PM
#256
veronika7747 avatar

veronika7747

Zen Follower

Join Date:
Nov 2007
Posts:
270
Plugin Contributions:
0

Re: Captcha using TTF & GD

clydejones:

I believe that the note actually reads "case insensitive"

I boy, I feel like an id..., I have to stop playing/learning this at night..
Thanks Clyde

10 Jan 2008, 4:49 AM
#257
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

kamudi:

Block the following countries. I only sell in USA so I don't need to deal with outside spammers....You can choose which country to block. Like .ru for example...:clap:
Better block yourself :censored: 98% of spam I receive from usa.

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

13 Jan 2008, 4:38 AM
#258
adam9110 avatar

adam9110

New Zenner

Join Date:
Jan 2006
Posts:
92
Plugin Contributions:
0

Re: Captcha using TTF & GD

Hello Andrew,
Your Mod is very cool, we highly appreciated

But It seems not compatible with Any of SEO mods.
It is a little bit shame.

And i have tried the method which is posted by a member here.

It doest works for me .
But i got a new solutions.
In Includes/class/captcha.php
Find arround Line 79

Replace
$image = '<img id="captcha-img" src="' . $this->img_href . '&rand=' . str_replace(' ', '', microtime()) . '" alt="' . $alt . '"';

with
define('HTML', 'http://www.youdomain/captcha_img.php?');
$image = '<img id="captcha-img" src="' .HTML .zen_session_name() . '=' . zen_session_id().'&rand=' . str_replace(' ', '', microtime()) . '" alt="' . $alt . '"';

BTW, I notice you never answer these questions in this post.. ??

Maybe you are very busy ..

Regards

13 Jan 2008, 11:27 AM
#259
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

Hi adam9110,
You can see that captcha class use standart zen-cart function to build captcha image url:

$this->img_href = zen_href_link('captcha_img.php', zen_session_name() . '=' . zen_session_id(), 'SSL', false, false, true);

If you use any seo mods that breaks standart zen-cart process logic, I can't help you anyway.

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

20 Jan 2008, 5:43 AM
#260
adam9110 avatar

adam9110

New Zenner

Join Date:
Jan 2006
Posts:
92
Plugin Contributions:
0

Re: Captcha using TTF & GD

Yes, i have point a solution above.
Thanks Andrew