Page 31 of 68 FirstFirst ... 21293031323341 ... LastLast
Results 301 to 310 of 673
  1. #301
    Join Date
    Feb 2018
    Posts
    19
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Probably the last questions before the upgrade are below.

    Google states in its reCaptcha installation instructions "Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:

    <div class="g-recaptcha" data-sitekey="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"></div>

    The data-sitekey is the public key generated by Google for reCaptcha v.2.

    Question1.
    Do I need to paste the public key as stated by Google or the public key has already been integrated in the
    /includes/functions/extra_functions/recaptchalib.php ?

    Question 2.
    If I need to paste the public key, where do I find the "form"? Is this the php file that defines "contact us" page?
    Also, there are three pages on which reCaptcha will appear contact_us_default, create_account, and product_reviews. I assume that I will need to paste the public key in all of them. Please confirm.

    Thank you very much.

  2. #302
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,347
    Plugin Contributions
    94

    Default Re: Support Thread for Google reCAPTCHA

    The plugin's readme (hint, hint) explicitly states:

    Code:
    Step 2
        Open the file /includes/functions/extra_functions/recaptchalib.php and insert the public and private keys you got in Step 1. They need to go on lines 9 and 10
    Recording those values there enable the plugin to use your public/private keys in all pages.

  3. #303
    Join Date
    Feb 2018
    Posts
    19
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Thank you. What you are stating is correct.

    However, it does not adders the fact that Google provide separate 3 step instructions on how to integrate reCaptcha v.2 to a website. Step 1 of these instructions requires:

    Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:

    <div class="g-recaptcha" data-sitekey="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"></div>

    Hence I had a question - do I need to do what Gooogle states or this step has already been taken care of by the addon I am installing?

  4. #304
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,347
    Plugin Contributions
    94

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by epilot View Post
    Thank you. What you are stating is correct.

    However, it does not adders the fact that Google provide separate 3 step instructions on how to integrate reCaptcha v.2 to a website. Step 1 of these instructions requires:

    Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:

    <div class="g-recaptcha" data-sitekey="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"></div>

    Hence I had a question - do I need to do what Gooogle states or this step has already been taken care of by the addon I am installing?
    It's already handled by the plugin.

  5. #305
    Join Date
    Feb 2018
    Posts
    19
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Thank you. I transferred the files on the server. I experienced two problems.

    Problem 1.
    I have two captchas below my email form. One is the usual one with white background. The second one has a black background. I suspect that this is a result of manually inserting, as suggested in the read me file, the line

    <?php echo recaptcha_get_html(); ?>

    Or there may be another reason. At any rate, I would like to keep only one (white) captcha.

    Problem2.
    It has been several years since the email form was set up. I do not remember where I inserted the email address to which the email form sends the email from the website. Flowing my upload on the server, I lost the email form settings and I could not receive any emails form the website. Where is the file that sets up the email address for the email form on contact us page?

    Thank you.

  6. #306
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,347
    Plugin Contributions
    94

    Default Re: Support Thread for Google reCAPTCHA

    You're most likely not receiving emails due to that double-capcha. Please post the section (including about 10 lines above and about 10 lines below) of your template modification around the line you inserted ... using the "CODE" tag (the big # in the posting menu-bar) to surround that code.

  7. #307
    Join Date
    Feb 2018
    Posts
    19
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Here it is the code for the file tpl_contact_us_default.php

    Code:
    <label class="inputLabel" for="contactname"><?php echo ENTRY_NAME; ?></label>
    <?php echo zen_draw_input_field('contactname', $name, ' size="40" id="contactname"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
    <br class="clearBoth" />
    
    <label class="inputLabel" for="email-address"><?php echo ENTRY_EMAIL; ?></label>
    <?php echo zen_draw_input_field('email', ($email_address), ' size="40" id="email-address"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
    <br class="clearBoth" />
    
    <label for="enquiry"><?php echo ENTRY_ENQUIRY . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?></label>
    <?php echo zen_draw_textarea_field('enquiry', '30', '7', $enquiry, 'id="enquiry"'); ?>
    <?php echo recaptcha_get_html(); ?>
    <?php echo recaptcha_get_html($publickey, $resp->error,$request_type == 'SSL'); ?>
    
    <?php echo zen_draw_input_field('should_be_empty', '', ' size="40" id="CUAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?>
    
    </fieldset>
    
    <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT); ?></div>
    <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
    <?php
      }
    ?>
    </form>
    </div>

  8. #308
    Join Date
    Feb 2018
    Posts
    19
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Still need assistance with this issue.

  9. #309
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,347
    Plugin Contributions
    94

    Default Re: Support Thread for Google reCAPTCHA

    Remove the line


    <?php echo recaptcha_get_html(); ?>

  10. #310
    Join Date
    Feb 2018
    Posts
    19
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Thank you.

    I removed the line as you suggested. One (light) captcha has disappeared the second one (dark) remained. I still have two problems.

    Problem 1.
    The remaining captcha is dark and square.

    Problem 2.
    The email form still does not send emails.

    Need help to fix this as time is running out to switch to captcha v2.

 

 
Page 31 of 68 FirstFirst ... 21293031323341 ... LastLast

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

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