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

Captcha using TTF & GD

Views: 147,342

Results 341 to 360 of 593
14 Aug 2008, 9:58 AM
#341
e_aroma avatar

e_aroma

New Zenner

Join Date:
Jun 2008
Location:
Athens, Greece
Posts:
14
Plugin Contributions:
0

Captcha using TTF & GD

a_berezin:

I have already answered you. You have an error in the file includes/languages/english.php at line 1399 - you have an
extra blank or CR after "?>"

Delete ?> from the bottom of includes/languages/english.php

I didnt have noticed that reply.
Thanks a lot WORKS FINE AND FOR 2 LANGUAGES I have installed.....
Thanks a lot you are great :clap:

14 Aug 2008, 11:33 PM
#342
stevenlee avatar

stevenlee

New Zenner

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

Re: Captcha using TTF & GD

when I installed it the contact us page is blank, no template or anything

I ran the debug file and it gave me this error:
Fatal error: Call to a member function close() on a non-object in /includes/classes/captcha.php on line 337 which is

$za_dir->close();

and it displayed the captcha image but the text displays instead of redraw it displays:

BUTTON_IMAGE_CAPTCHA_REDRAW_ALT
TITLE_CAPTCHA TEXT_CAPTCHA

any help would be greatly appreciated

thank you very much :D
Steve

15 Aug 2008, 7:30 AM
#343
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

/includes/classes/captcha.php
Find near 337 line

    }
    $za_dir->close();

Replace by

      $za_dir->close();
    }

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

25 Aug 2008, 11:36 AM
#344
taipa avatar

taipa

New Zenner

Join Date:
Nov 2005
Posts:
54
Plugin Contributions:
0

Re: Captcha using TTF & GD

Does anyone know if this CAPTCHA mod will work on a store with Zen Cart 1.3.8 and Magic SEO URLs installed?

I'm having the same "Enable this picture" problem as the people who were using Ultilate SEO URLs, but obviously none of the fixes work as they are different mods.
I'd really like to get this CAPTCHA mod to work, I'm getting loads of spam through my Contact US for these days. :(

Canadians who use Quickbooks please read this thread!

2 Sep 2008, 2:18 AM
#345
bsteinagel avatar

bsteinagel

Zen Follower

Join Date:
Sep 2007
Location:
Neenah, WI
Posts:
112
Plugin Contributions:
0

Re: Captcha using TTF & GD

I like the captcha add-on, but I think the positioning of the various elements could be cleaned up and made a little neater. What I want to do is position the bottom of the redraw button so it's in line with the bottom of the captcha image on my contact form. I was thinking of giving the button a class name or something like that so I could call it up in the stylesheet and create margins but I don't know how to integrate that class name into the php code for the contact form.

Here's the code for the captcha mod in the tpl_contact_us_default.php file:

// BOF Captcha
if(is_object($captcha)) {
?>
<br class="clearBoth" />
<?php echo $captcha->img(); ?>
<?php echo $captcha->redraw_button(BUTTON_IMAGE_CAPTCHA_REDRAW, BUTTON_IMAGE_CAPTCHA_REDRAW_ALT); ?>
<br class="clearBoth" />
<label for="captcha"><?php echo TITLE_CAPTCHA; ?></label>
<?php echo $captcha->input_field('captcha', 'id="captcha"') . ' <span class="alert">' . TEXT_CAPTCHA . '</span>'; ?>
<br class="clearBoth" />
<?php
}
// BOF Captcha
```Does anyone know how I could do this or have any other suggestions?

:wacko:
3 Sep 2008, 1:48 PM
#346
griff1324 avatar

griff1324

New Zenner

Join Date:
Feb 2008
Posts:
48
Plugin Contributions:
0

Re: Captcha using TTF & GD

I had Captcha working just fine on my site. The image displayed on my sign-up and contact us pages perfectly. However, I just noticed that I am now getting the "enable this picture" text where the image once once. This module seemed to just stop working correctly as I changed none of my files. Where can I begin to troubleshoot this problem?

Chris

3 Sep 2008, 2:40 PM
#347
griff1324 avatar

griff1324

New Zenner

Join Date:
Feb 2008
Posts:
48
Plugin Contributions:
0

Re: Captcha using TTF & GD

Griff1324:

I had Captcha working just fine on my site. The image displayed on my sign-up and contact us pages perfectly. However, I just noticed that I am now getting the "enable this picture" text where the image once once. This module seemed to just stop working correctly as I changed none of my files. Where can I begin to troubleshoot this problem?

Chris

I just found out that my server was upgraded to PHP5 and MYSQL5 last night. I am not sure if this is the cause of the problem or not. Any insight to resolving this problem is greatly appreciated.

4 Sep 2008, 12:02 PM
#348
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

Use captcha_debug.php and captcha_test.php for testing.

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

5 Sep 2008, 6:04 PM
#349
dthoward64 avatar

dthoward64

New Zenner

Join Date:
Feb 2008
Posts:
22
Plugin Contributions:
0

Re: Captcha using TTF & GD

I got the script installed but cant seem to get the captcha to pop up upon new account creation. I ran the test script so I know it does work. I ran the debug script and all I get is a captcha image on the page and nothing else. What am I doing wrong?

David

5 Sep 2008, 10:25 PM
#350
flyingcat avatar

flyingcat

New Zenner

Join Date:
Sep 2008
Posts:
1
Plugin Contributions:
0

Re: Captcha using TTF & GD

dthoward64:

I got the script installed but cant seem to get the captcha to pop up upon new account creation. I ran the test script so I know it does work. I ran the debug script and all I get is a captcha image on the page and nothing else. What am I doing wrong?

David

I have the same problem with v1.38a, test works. no captcha showing in registration and tell a friend.
http://www.dajiangtech.com/combocity/

any suggestion ?
thanks.

6 Sep 2008, 11:04 AM
#351
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

Check your settings in Admin->Configurations->CAPTHA

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

6 Sep 2008, 8:14 PM
#352
dthoward64 avatar

dthoward64

New Zenner

Join Date:
Feb 2008
Posts:
22
Plugin Contributions:
0

Re: Captcha using TTF & GD

But what would I be looking for? What should the settings be? I need some guidance in detecting errors.

David

8 Sep 2008, 8:26 PM
#353
dthoward64 avatar

dthoward64

New Zenner

Join Date:
Feb 2008
Posts:
22
Plugin Contributions:
0

Re: Captcha using TTF & GD

Still not able to get it to work.

David

9 Sep 2008, 1:48 AM
#354
davewest avatar

davewest

Totally Zenned

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

Re: Captcha using TTF & GD

dthoward64:

Still not able to get it to work.

If you did all the edits, then under Configuration tab you should see a Captcha. Once there you can change how it displays and such, also turn it on or off for;
Create Account page, Contact Us Page, Tell a Friend, Links Submit, and Write Review page.

True is on, False is off..

Dave
Always forward thinking... Lost my mind!

9 Sep 2008, 11:00 AM
#355
romy avatar

romy

New Zenner

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

Re: Captcha using TTF & GD

Hi.. Love to mod..Is it posible to add captcha to ask a question mod. What php files would I edit..What code would I add. Any help would be great ...Thanks

10 Sep 2008, 2:31 AM
#356
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

Of course. View as is done for the Contact Us Page.

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

10 Sep 2008, 11:18 AM
#357
romy avatar

romy

New Zenner

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

Re: Captcha using TTF & GD

What files would I edit. What code would I add.
Thanks

11 Sep 2008, 9:37 AM
#358
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

Sorry, but I don't know module ask a question.

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

11 Sep 2008, 11:58 AM
#359
romy avatar

romy

New Zenner

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

Re: Captcha using TTF & GD

Anyone know how to add captcha to ask a question mod.
Thanks:(

11 Sep 2008, 1:12 PM
#360
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Captcha using TTF & GD

Same problem here: Enable this Picture and redraw button is showing but no Captch.

I can see and edit all the captcha options in my admin. No problem there. It just does not work as several people above mentioned.

Did anybody find out what the problem is?

PHP Version: 5.2.6 (Zend: 2.2.0)
Zen Cart 1.3.8a

Live and learn... the Zen way.