Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    We have received your query and it is now being processed. We will get back to you on this forum as soon as we can.

    Regards,
    BestWebSoft Support Team

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Google Captcha will be displayed and work correctly if you are using standard registration, login, comments form pages. In case of using custom forms and pages it will be necessary to make changes in them so that captcha could be displayed and work correctly.

    1) Install the Google Captcha plugin and activate it.
    2) Open the file with the form (where you would like to add google captcha to).
    3) Find a place to insert the code for the google captcha output.
    4) Insert the necessary lines:

    if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); } ;

    If the form is HTML you should insert the line with the PHP tags:

    <?php if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); } ; ?>

    If you have followed all steps, but the problem remains, we can help you to configure your Google Captcha custom form, however it’s a paid service, since there are a lot of different custom forms and the code should be inserted individually into each of them, so we need time to study your form.

    Sincerely,
    BestWebSoft Support Team

    Thread Starter gameslopedy

    (@yiggory)

    Forcing users to make the captcha required doesnt apply for custom forms or on other plugin register/login forms by Google Captcha ..

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    You’re using ZM Ajax Login & Register plugin to display authentication form on your site (https://wordpress.org/plugins/zm-ajax-login-register/). To add reCaptcha, please complete the following:

    1) Go to the ZM Ajax Login & Register folder via FTP (your_home_folder/wp-content/plugins/zm-ajax-login-register/src/ALRCore);

    2) Find “ALRRegister.php” file and open it in the edit mode;

    3) Find the line 169 and replace there

    $html .= $fields_html;

    with

    $html .= $fields_html . ( function_exists( 'gglcptch_display' ) ? gglcptch_display() : '' );

    4) Save changes;

    5) Open “ALRHelpers.php” in the edit mode, find the lines 78-80 and replace

    if ( empty( $value ) ){<br />
                return $status[ $key ];<br />
            } else {

    with

    if ( empty( $value ) ){<br />
                if($key == 'gglcptch_error') $key = 'success_registration';<br />
                return $status[ $key ];<br />
            } else {

    6) Save changes;

    7) Add the following code to the end of the css file of your theme:

    .gglcptch {<br />
        display: inline-block;<br />
    }

    8) Check a result.

    Sincerely,
    BestWebSoft Support Team

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Since there is no reply from you, we consider this topic as resolved. We hope you’ve found the solution. If you have any questions, please feel free to contact us via our Help Center – http://support.bestwebsoft.com/.

    Sincerely,
    BestWebSoft Support Team

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to force users to enter this captcha plugin on this page?’ is closed to new replies.