Page 46 of 60 FirstFirst ... 36444546474856 ... LastLast
Results 451 to 460 of 593
  1. #451
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    I finally got Captcha to work on all of my sites. I found the problem.
    I had an empty enter, new line or space at the end of my english.php located in includes/languages/YOUR_TEMPLATE/english.php

    This must have happened when I edited some lines for the footer customization. Hard to see with the editor. I just hit delete a few times at the end of the file and made sure no extra space or anything remains. If you have the same problem that there is no captcha, just the "Enable this picture" text, check out your english.php in your template override folder. Last thing in the file has to be just ?>

    Don't know why this affected Captcha only but not the other customizations in the english file. All other customized text in the file worked just fine.
    Live and learn... the Zen way.

  2. #452
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by mydanilo View Post
    I finally got Captcha to work on all of my sites. I found the problem.
    I had an empty enter, new line or space at the end of my english.php located in includes/languages/YOUR_TEMPLATE/english.php

    Interesting... I have spaces at the end of my english file and Captcha works! May be the editor is leaving something behind... I use Notepad++ for editing.

    I did come across something the other day that may shed some light for some. I added some rewrites to my .htaccess file to stop hotlinking. Without thinking I added png to the list. After that, no captcha image would show. Removed png and it was back... I use png images for my layout and captcha so that shouldn't be a problem for me.

    mydanilo -- Glad to hear you got yours worked out.
    Dave
    Always forward thinking... Lost my mind!

  3. #453
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Yea, I am glad too.

    I use Notepad ++ too. I had issues before when editing files that there were some additional things left in it that I did not see, but they caused problems. Not sure how to prevent this....
    I already set it to not do word wrap.

    I saw the problem when I did a winmerge and compared with an out of the box english.php. Winmerge showed me that extra thing just before ?>.
    Live and learn... the Zen way.

  4. #454
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    if i wanted captcha just on the contact us page... and i don't want to merge the captcha files with my current files... can i just upload the contact us files and NOT upload the other files?

    should i also delete reference to the other files from the sql patch?

    thanks.

  5. #455
    Join Date
    Jul 2006
    Location
    Manchester
    Posts
    138
    Plugin Contributions
    1

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by gsdcypher View Post
    if i wanted captcha just on the contact us page... and i don't want to merge the captcha files with my current files... can i just upload the contact us files and NOT upload the other files?

    should i also delete reference to the other files from the sql patch?

    thanks.
    To the best of my understanding you can certainly limit the captch to the pages you want and ignore the rest, and you can leave the SQL untouched, so don't worry about having to edit it; but you will have to edit/replace the appropriate files for the pages where you do want to implement the captcha.

    Set up a test copy of your site if you have the capability, and try it out there first.

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

  6. #456
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Yes, you can just add captcha for your contact us page. that what i did on my site , I didn't even install the SQL patch .. it will work without the patch , but limit you to default number of chars on captcha , i think is 4 character by default.

  7. #457
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Captcha using TTF & GD

    If you don't do the sql to setup the defaults, you can edit the class file and replace the variable defaults with what you want.

    You also need to remove the IF statement in the tpl_ and Header pages for it to work.

    if(is_object($captcha){

    and the trailing }

    Here's another tidbit... if you don't want Captcha for login customers, this is what I added...

    In the header and tpl_ page replace the IF statement with this..

    if(is_object($captcha) && (!$_SESSION['customer_id'])) {

    If they are login, I don't drive them nuts trying to read a captcha image..
    Dave
    Always forward thinking... Lost my mind!

  8. #458
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    thanks everyone...

    i uploaded just the basic files and the contact_us files.
    i installed the sql (unedited).

    i have the captcha only on the contact us page.
    i can edit the parameters via the admin.
    and everything "seems" to be working.

    Thanks!

  9. #459
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by davewest View Post
    if(is_object($captcha) && (!$_SESSION['customer_id'])) {
    Yes, i did that too, should probably be better default.

    Did anyone manage to code a snapshot if someone fails the matching code that they don't have to rewrite the whole form.

    I want them just to retry the code and not redo the whole form again.

    Thanks,
    Jeroen

  10. #460
    Join Date
    Dec 2008
    Posts
    97
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Hello,
    I wanted to add this option to my return authorization form. I have search for link with instructions..but couldn't find any... does anyone know how to get this to work with return authorization form? I tired but to no avail .

    thanks nicole

 

 
Page 46 of 60 FirstFirst ... 36444546474856 ... 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