Page 57 of 60 FirstFirst ... 7475556575859 ... LastLast
Results 561 to 570 of 593
  1. #561
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,547
    Plugin Contributions
    9

    Default Re: Captcha using TTF & GD

    Was this project abandoned? There are few questions not answered.

    Also, is there going to be a PHP5 upgrade for this module? It was working just fine before my server was upgraded to PHP 5.2.17.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  2. #562
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,311
    Plugin Contributions
    125

    Default Re: Captcha using TTF & GD

    I think it's just session handling in 5.2.17 that makes this module not work - it works fine on my PHP 5.3.10 site but fails on my 5.2.17 site.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #563
    Join Date
    Mar 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Hi! I just installed CAPTCHA image using GD library and true type fonts_telephone not required v. 3.0 for Zen Cart version 1.5

    Everything seemed to install fine. Captcha is working on 'Contact Us' page just fine, but when I click on 'Create an Account' page, it doesn't show the captcha at all. I am using the All_Businesss Zen Cart template. Any idea what I may be doing wrong? I figure if the Contact Us page is showing it and working correctly, it's installed correctly and I just have something not set right. Any help would be much appreciated. Thanks.

  4. #564
    Join Date
    Feb 2007
    Location
    Burleson. Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by jimproz View Post
    Hi! I just installed CAPTCHA image using GD library and true type fonts_telephone not required v. 3.0 for Zen Cart version 1.5

    Everything seemed to install fine. Captcha is working on 'Contact Us' page just fine, but when I click on 'Create an Account' page, it doesn't show the captcha at all. I am using the All_Businesss Zen Cart template. Any idea what I may be doing wrong? I figure if the Contact Us page is showing it and working correctly, it's installed correctly and I just have something not set right. Any help would be much appreciated. Thanks.
    If you are using zc1.50, then I would try

    captcha_verification_antirobot_registration_1.4_for_zc_v1.5.0

    as found in the uploads section. I could not get the one you are using to work either.
    Dennis
    www.stampdays.com
    Over 80,000 stamps and still growing!

  5. #565
    Join Date
    Jul 2011
    Location
    Glasgow, Scotland
    Posts
    113
    Plugin Contributions
    1

    help question A Question re: Captcha using TTF & GD

    Hi wondering if anyone would have an insight into an issue I am experiencing with this, other wise great, module.

    I have install it on a Zen Cart v1.5 store and it was, still is, working great. When I use images for my buttons.
    I am trying to keep load times to a minimum and every Kb counts sometime, so I swapped over to css buttons. Now the redraw button for the captcha image does nothing.
    It maybe nothing to do with this module and everything to do with FEC, which I now think is overkill. Really only use the login and create account part of it.
    As I am writing this I am getting the feeling I may be answering my own question. Uninstall FEC and see I the issue remains.

    Any insight would be great guy and girls. I'll leave this on as a question and post back if uninstalling FEC clears it.
    Just in case other need the answer too.

    [EDIT]No It Made No Difference. FEC Disabled or FEC Uninstalled. The css button still did not redraw the captcha image.[/EDIT]
    Last edited by BillyBoyle; 23 May 2012 at 11:23 PM. Reason: Up Date Info

  6. #566
    Join Date
    Jun 2008
    Location
    Singapore, Australia, America
    Posts
    96
    Plugin Contributions
    0

    Default Different file version

    I am installing it now, and noticed that this mod for V1.5 that is said to build on the original Captcha TTF mod for 1.39, but there is a file that is different from the latest version for 1.39 mod.

    /includes/classes/captcha.php

    Using a merge tool to compare, I noticed that the old copy I had was V2.9; while the copy that is provided in the V1.5 Captcha mod is V2.8;

    Exists in V2.9 in line 094 is (which is missing in the V2.8 copy)

    PHP Code:
        $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
    I am not sure if this has any effect in anything, but I thought I'll just point out here while I continue to work to upgrade my ZC to 1.5.

  7. #567
    Join Date
    Jun 2008
    Location
    Singapore, Australia, America
    Posts
    96
    Plugin Contributions
    0

    Default Re: Different file version

    Also.. on Readme.txt of V2.9 the changelog recorded:

    v 2.9 11.08.2008 15:01
    1. Bug fix - use zen_image_button with IMAGE_USE_CSS_BUTTONS == 'yes';
    2. Update to support ZC1.3.8a and Links Manager 3.3.1 - thanks to t. mike howeth
    3. corrected text in /includes/languages/english/extra_definitions/captcha.php - thanks to t. mike howeth

    Another file spotted to be different:
    /includes/modules/pages/links_submit/header.php.php

  8. #568
    Join Date
    Jul 2011
    Location
    Glasgow, Scotland
    Posts
    113
    Plugin Contributions
    1

    Default ? Different file version? No redraw with css

    Not really sure if this relates to the issue I was/am having with the redraw button not actually redrawing the captcha image.

    here is a side by side comparison of the two sections of code and perhaps someone could explain to me how to get the redraw button to function on page. If I have not managed to merge the two sections correctly. My php is still very much at the beginners stage.

    line 89 to 96 from the supplied version v2.8
    Code:
    /**
     * Generate the HTML output code for the Redraw Captcha image button
     */
      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 );
      }
    From Line 094 the code section pointed out in the above posting
    Code:
    $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;
    The merged code section which I hope works and fixes my issue.
    Code:
     * Generate the HTML output code for the Redraw Captcha image button
     */
    	  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 );
      
        if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && strpos($redraw_button, $redraw) === false) { 
            $redraw_button = str_replace('<span ', '<span ' . $redraw, $redraw_button); 
        } 
        return $redraw_button;
    	  }

  9. #569
    Join Date
    Jul 2011
    Location
    Glasgow, Scotland
    Posts
    113
    Plugin Contributions
    1

    Default Re: ? Different file version? No redraw with css

    Of Course I had to try it out. and no it does not fix the issue of the css buttons working as a redraw image button. Those Folks than can read code like Nero, probablly new that already. Oh! well back to the funky images for buttons.

  10. #570
    Join Date
    Feb 2009
    Location
    Melbourne, Australia
    Posts
    85
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    What is the uninstall code for this please.

 

 
Page 57 of 60 FirstFirst ... 7475556575859 ... 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