Results 1 to 10 of 691

Hybrid View

  1. #1
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    303
    Plugin Contributions
    3

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by marcopolo View Post
    can you post the whole contents of class.faq_request.php
    Here is my current file and the one included with the ajax FAQ mod

    class.faq_request.php.zip

  2. #2
    Join Date
    May 2008
    Location
    United States
    Posts
    490
    Plugin Contributions
    1

    Default Re: Support Thread for Google reCAPTCHA plugin

    Ok try the following, edit your file and add:

    PHP Code:
                    if ($error == true) {
                    echo 
    json_encode(array('status' => 'error''message' => 'Please confirm you are not a robot'));
                    exit();
                    } 
    below line:

    PHP Code:
                if(isset($_POST['email_address']) && !empty($_POST['email_address']) && isset($_POST['fullname']) && !empty($_POST['fullname']) && isset($_POST['message']) && !empty($_POST['message']) && $error==false) { 
    should look like:

    PHP Code:
                if(isset($_POST['email_address']) && !empty($_POST['email_address']) && isset($_POST['fullname']) && !empty($_POST['fullname']) && isset($_POST['message']) && !empty($_POST['message']) && $error==false) {

                    if (
    $error == true) {
                    echo 
    json_encode(array('status' => 'error''message' => 'Please confirm you are not a robot'));
                    exit();
                    } 

  3. #3
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    303
    Plugin Contributions
    3

    Default Re: Support Thread for Google reCAPTCHA plugin

    So this did NOT work:
    PHP Code:
                if(isset($_POST['email_address']) && !empty($_POST['email_address']) && isset($_POST['fullname']) && !empty($_POST['fullname']) && isset($_POST['message']) && !empty($_POST['message']) && $error==false) {

                    if (
    $error == true) {
                    echo 
    json_encode(array('status' => 'error''message' => 'Please confirm you are not a robot'));
                    exit();
                    } 
    It is checking if $error == true after it has already confirmed $error == false.

    But this did work!
    PHP Code:
      //bof google recaptcha check
         
    if ($error == true) {
        echo 
    json_encode(array('status' => 'error''message' => 'Please confirm you are not a robot.'));
        exit();
        }
      
    //eof google recaptcha check
                    
      
    if(isset($_POST['email_address']) && !empty($_POST['email_address']) && isset($_POST['fullname']) && !empty($_POST['fullname']) && isset($_POST['message']) && !empty($_POST['message']) && $error==false) { 
    Thanks for getting me headed in the right direction.

  4. #4
    Join Date
    May 2008
    Location
    United States
    Posts
    490
    Plugin Contributions
    1

    Default Re: Support Thread for Google reCAPTCHA plugin

    Ok great!

  5. #5
    Join Date
    Jul 2015
    Location
    Hoofddorp
    Posts
    76
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA plugin

    Hello,

    I don't know if I am at the right place here but i haven's seen a "start thread" option. Here's
    my problem.
    reCAPTCHA is n't working all the time i haven't seen it on the new account page and not
    always on the contact us page. i checked the files they are all there in the right place, checked
    google key's they are also in the right file?
    So what can be wrong in my situation ? (check itparts.biz/zentest)

  6. #6
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    303
    Plugin Contributions
    3

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by cj.dekrijger View Post
    Hello,

    I don't know if I am at the right place here but i haven's seen a "start thread" option. Here's
    my problem.
    reCAPTCHA is n't working all the time i haven't seen it on the new account page and not
    always on the contact us page. i checked the files they are all there in the right place, checked
    google key's they are also in the right file?
    So what can be wrong in my situation ? (check itparts.biz/zentest)
    It seemed to show up fine on both the account and contact page for me. I used chrome, cleared cache and jumped around. It showed every time.

 

 

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