Page 34 of 60 FirstFirst ... 24323334353644 ... LastLast
Results 331 to 340 of 593
  1. #331
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by ts232 View Post
    I use css buttons, and the redraw image button is not active. The user can not click on it to generate an action, it simply selects the ALT text.
    includes/classes/captcha.php:
    Find
    Code:
      function redraw_button($image, $alt = '', $parameters = '', $sec_class = '') {
        $redraw = 'onclick="document.getElementById(\'captcha-img\').src=\'' . $this->img_href . '&rand=\'+Math.random();return false;"';
        return zen_image_button($image, $alt, $redraw . ' ' . $parameters, $sec_class );
      }
    Replace by
    Code:
      function redraw_button($image, $alt = '', $parameters = '', $sec_class = '') {
        $redraw = ' onclick="document.getElementById(\'captcha-img\').src=\'' . $this->img_href . '&rand=\'+Math.random();return false;"';
        $redraw_button = zen_image_button($image, $alt, $redraw . ' ' . $parameters, $sec_class );
        if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && strpos($redraw_button, $redraw) === false) {
        	$redraw_button = str_replace('<span ', '<span ' . $redraw, $redraw_button);
        }
        return $redraw_button;
      }

  2. #332
    Join Date
    May 2006
    Posts
    170
    Plugin Contributions
    1

    Default Re: Captcha using TTF & GD

    Works great. Thanks Andrew!

  3. #333
    Join Date
    Jun 2008
    Location
    Athens, Greece
    Posts
    14
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    This code for css works fine and for me .
    Thanks Andrew
    Any idea why its not work for the second Language ?????
    As remind I have 2 Languages Greek and English.
    Even I tried to switch English to be default language works only for the Greek Language
    Any idea please....
    [FONT="Comic Sans MS"]e-aroma.gr[/FONT]

  4. #334
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by e-aroma View Post
    This code for css works fine and for me .
    Thanks Andrew
    Any idea why its not work for the second Language ?????
    As remind I have 2 Languages Greek and English.
    Even I tried to switch English to be default language works only for the Greek Language
    Any idea please....

    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

  5. #335
    Join Date
    Mar 2008
    Posts
    332
    Plugin Contributions
    0

    Default Blank screen when Captcha is installed

    Hi,

    I was wondering if anyone can help me with some problems installing this mod.

    I am running zen 1.3.8a using captcha v 2.8. I only want to use captcha on the link submit page. So have selectively uploaded the files:

    fonts
    includes/
    modules/pages/links_submit/header_php.php
    templates/my_template/templates/tpl_links_submit_default.php
    all other files associated with captcha including sql patch.

    When I run the captcha_test.php it works. When I click on the submit link page, I get a blank screen.

    So I reverted to original files. Then started to install again and test.
    When tpl_links_submit_default.php was uploaded, the submit page is still there without the captcha.

    When links_submit/header_php.php was uploaded, the submit page dissappears.

    On Admin, all other pages have been turned to false for captcha except for the submit link page.

    Can't figure out what the problem is. Appreciate any help from the forumers.

    Thanks

  6. #336
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Blank screen when Captcha is installed

    Hi,
    Quote Originally Posted by Decostyle View Post
    using captcha v 2.8. I only want to use captcha on the link submit page.
    Captcha v 2.8 support old version link submit page.

  7. #337
    Join Date
    Sep 2005
    Location
    Baton Rouge, LA
    Posts
    42
    Plugin Contributions
    0

    help question Re: Captcha using TTF & GD

    Hi,

    I have been trying to get this mod to work correctly...

    captcha_using_ttf & gd__v2-8_28-04-2007 Captchav1-0 TelephoneHide

    It was downloaded from here today.

    Could someone tell me why this is looking this way.... I did finally get the scambled pic to work, but the redraw gif is missing and the title is missing.

    I have copied all original files to keep and put the new Captcha files into the default template ( since I didn't thing using my over ride folder was working with this) it still did not work.

    http://instantarmies.com/shop/index....age=contact_us

    Thanks for any help.
    Mamie

  8. #338
    Join Date
    Sep 2005
    Location
    Baton Rouge, LA
    Posts
    42
    Plugin Contributions
    0

    Have a Drink Re: Captcha using TTF & GD

    I got it working....YEAAAA

    Sorry for any trouble....

    I found that the captcha.php file was not uploaded.

    Certainly was a DUH moment...

    Thanks,
    Mamie

  9. #339
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by knuckle-101 View Post
    It would be correct for the new module to make a new topic and not discuss it here.

  10. #340
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by Mamie View Post
    captcha_using_ttf & gd__v2-8_28-04-2007 Captchav1-0 TelephoneHide
    What is it?

 

 
Page 34 of 60 FirstFirst ... 24323334353644 ... LastLast

Similar Threads

  1. Replies: 68
    Last Post: 29 Jul 2013, 06:33 PM
  2. CAPTCHA using TTF & GD - not working
    By derrr99 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 Dec 2010, 04:05 PM
  3. Replies: 13
    Last Post: 2 Jun 2008, 03:29 PM
  4. Captcha using TTF & GD & Tel Not Required (how do I Avoid Overwrites?)
    By CelticKatt in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 8 Apr 2008, 04:18 AM
  5. Can CAPTCHA Using TTF & GD be installed in check out?
    By Lainee in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 8 May 2007, 04:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR