Results 1 to 10 of 690

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Location
    Amersham, Buckinghamshire, United Kingdom
    Posts
    141
    Plugin Contributions
    1

    Default Re: Support Thread for Google reCAPTCHA

    Hi axispara
    One possibility is the Google reCAPTCHA keys. Did you enter them correctly into that file? It should look something like:
    Code:
    $publickey = "TheRandomPublicKeyYouGotFromGoogleoS-B4dKonyqZjAbR76";
    $privatekey = "TheRandomPrivateKey6Ld3itMSAAAAAPnf-B4dKo";
    replace the bits between the "" with your our own keys that you got

    Regards
    David

  2. #2
    Join Date
    Sep 2013
    Location
    axispara
    Posts
    4
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Hi David, many thanks, the code worked, and it works perfectly now, However i am not sure, but the code in the recaptchalib.php file supplied has the $publickey= after the key, rather than at the beginning, as below, not sure if it made the difference.

    $publickey = "TheRandomPublicKeyYouGotFromGoogleoS-B4dKonyqZjAbR76";
    $privatekey = "TheRandomPrivateKey6Ld3itMSAAAAAPnf-B4dKo";

  3. #3
    Join Date
    Feb 2008
    Location
    Amersham, Buckinghamshire, United Kingdom
    Posts
    141
    Plugin Contributions
    1

    Default Re: Support Thread for Google reCAPTCHA

    Hi - it doesn't matter which order the $publickey and $privatekey are declared in the file.
    Regards

  4. #4
    Join Date
    Apr 2011
    Posts
    91
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    I really dislike how it looks, so I found this to center it:

    #recaptcha_area {display:table;margin: auto;}

    which I put in "stylesheet.css"

    And instead of putting this:
    <?php echo recaptcha_get_html($publickey, $resp->error, $request_type == 'SSL'); ?>

    I found and put this:
    <script type="text/javascript">
    var RecaptchaOptions = {
    theme : 'clean'
    };
    </script>
    <?php echo recaptcha_get_html($publickey, $resp->error, $request_type == 'SSL'); ?>

    Is there a better or preferred way of changing the theme and centering it?

    Thanks

    PS, if there is not anything needed to change this to 1.5.3, why not update the version compatible listing?
    Zen Cart 1.5.3, Database Patch Level: 1.5.3
    Server OS: Linux 2.6.32, Database: MySQL 5.5.41
    HTTP Server: Apache, PHP Version: 5.4.37

  5. #5
    Join Date
    Feb 2008
    Location
    Amersham, Buckinghamshire, United Kingdom
    Posts
    141
    Plugin Contributions
    1

    Default Re: Support Thread for Google reCAPTCHA

    Hi stiggybaby
    You look to have it well sorted out. Changing the theme colour is done exactly as you have done it (I think I mentioned it before somewhere in this thread). Centring it should be OK with just the #recaptcha_area {margin: auto;}.
    I will update the version compatibility once I have tested it. I need to set up a vanilla 1.5.3 to do that, and just haven't had the time yet. Your comment has moved it up my priority list :)

    Regards
    David

  6. #6
    Join Date
    Jul 2014
    Location
    Atlanta, Georgia
    Posts
    3
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Hi! Just installed the this plug in and was testing it, however I do get the following error: "incorrect-captcha-sol" when I try to send a message yet there I don't see a place to enter a Captcha. I am using the Stirling Grand Template with Zencart version 1.5.1

    My website is https://www.myspiritualroots.com

  7. #7
    Join Date
    Feb 2008
    Location
    Amersham, Buckinghamshire, United Kingdom
    Posts
    141
    Plugin Contributions
    1

    Default Re: Support Thread for Google reCAPTCHA

    Hi SKzDaLimit
    Did you add the code to the contact us page?

    Go to (or create) /includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php

    add the code below (I suggest adding it below the textarea, about line 74)

    Code:
    <?php echo recaptcha_get_html($publickey, $resp->error, $request_type == 'SSL'); ?>
    Hope this helps

    Regards

 

 

Similar Threads

  1. Support Thread for CKEditor Plugin
    By DivaVocals in forum Addon Admin Tools
    Replies: 213
    Last Post: 18 Nov 2024, 04:17 AM
  2. Back to Top Plugin [Support Thread]
    By picaflor-azul in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 6 Feb 2016, 10:52 PM
  3. v151 Plug 'n' Pay plugin [Support Thread]
    By KetchRescue in forum Addon Payment Modules
    Replies: 5
    Last Post: 28 Nov 2015, 04:56 AM
  4. Justuno Plugin [Support Thread]
    By JustunoApp in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 24 May 2015, 11:00 PM
  5. VendingBox Plugin Support Thread
    By vb_support in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 10 Feb 2013, 07:24 PM

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