Registration Captcha - by mleihs - on WordPress WooCommerce support

This topic has 10 replies, 3 voices, and was last updated 8 years, 4 months ago ago by Eva Kemp

  • Avatar: mleihs
    mleihs
    Participant
    April 20, 2016 at 11:12

    Hi,

    I installed https://wordpress.org/plugins/google-captcha/ to replace the standard captcha. It doesn’t work. Is Legenda using some custom registration page code?

    Best regards

    9 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 20, 2016 at 13:30

    Hello,

    You need to remove default theme captcha in the file wp-content/themes/legenda/et-registration.php in lines 10-15:

    $captcha_instance = new ReallySimpleCaptcha();
    $captcha_instance->bg = array( 244, 80, 80 );
    $word = $captcha_instance->generate_random_word();
    $prefix = mt_rand();
    $img_name = $captcha_instance->generate_image( $prefix, $word );
    $captcha_img = ETHEME_CODE_URL.'/inc/really-simple-captcha/tmp/'.$img_name;

    lines 70-74:

    <div class="captcha-block">
    														<img src="<?php echo $captcha_img; ?>">
    														<input type="text" name="captcha-word" class="captcha-input">
    														<input type="hidden" name="captcha-prefix" value="<?php echo $prefix; ?>">
    													</div>

    and in the file wp-content/themes/legenda/framework/theme-functions.php (lines 1361-1364):

    $captcha_instance = new ReallySimpleCaptcha();
    if(!$captcha_instance->check( $_REQUEST['captcha-prefix'], $_REQUEST['captcha-word'] )) {
    $return['status'] = 'error';
    $return['msg'] = __('The security code you entered did not match. Please try again.', ETHEME_DOMAIN);

    Best regards,
    Jack Richardson.

    Avatar: mleihs
    mleihs
    Participant
    August 24, 2016 at 13:55

    Hi,

    thanks. Those are instructions to remove the Captcha, right?

    It seems the Captcha plugin won’t appear instead of the standard Captcha, though.

    It turned out to be a real problem now. The Legenda shop gets a lot of bot registrations these days. Is it possible to make the included Captcha more difficult to solve for bots?

    Best regards

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    August 25, 2016 at 08:08

    Hello,

    It requires additional customization which is beyond our basic support scope.
    You can order such service via this form https://www.8theme.com/customization-services/ .

    Regards,
    Eva Kemp.

    Avatar: mleihs
    mleihs
    Participant
    August 25, 2016 at 10:44

    Hi,

    mh. Don’t you think a Captcha should keep bots away?

    Implementing a broken Captcha that doesn’t do it’s job and asking for money to fix it is kinda weird, imho.

    Do you consider making the Captcha actually work a feature request?

    Best regards

    Avatar: Eva
    Eva Kemp
    Support staff
    August 25, 2016 at 11:15

    Hello,

    Our default captcha works fine. We haven’t received any complaints regarding bots from other customers. Have you edited captcha code in the theme files?

    Regards,
    Eva Kemp.

    Avatar: mleihs
    mleihs
    Participant
    August 25, 2016 at 13:00

    Hi,

    please take a look at the user table yourself. I added the login data.

    The ones that are bot generated are pretty easy to spot. The implemented Captcha component is probably a few years old. Bots get better in recognizing simple Captchas. This is happening right now imho.

    This is how a captcha these day should look like:
    https://www.google.com/recaptcha/intro/index.html

    Best regards

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    August 25, 2016 at 14:13

    Hello,

    We’ve forwarded your request to our developers.
    They will discuss it and add it in one of the updates.

    Regards,
    Eva Kemp.

    Avatar: mleihs
    mleihs
    Participant
    August 25, 2016 at 15:30

    Hi,

    ok great. Thank you!

    Best regards

    Avatar: Eva
    Eva Kemp
    Support staff
    August 25, 2016 at 15:36

    Hello,

    You are welcome.

    Regards,
    Eva Kemp.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Registration Captcha’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.