Remove captcha - by Kislik - on WordPress WooCommerce support

This topic has 25 replies, 6 voices, and was last updated 8 years, 11 months ago ago by Robert Hall

  • Avatar: Kislik
    Kislik
    Participant
    February 23, 2015 at 18:07

    hello, how to remove captcha from Legenda theme fully, what files should i edit?

    i need to remove it both from registration form and reset password. and anywhere else it can be.

    24 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 23, 2015 at 18:26

    Hello,

    Try to comment out captcha code in \legenda\wp-content\themes\legenda\et-registration.php file on line 70-74

    Regards,
    Robert Hall.

    Avatar: Kislik
    Kislik
    Participant
    February 24, 2015 at 14:42

    Does not help: THE SECURITY CODE YOU ENTERED DID NOT MATCH. PLEASE TRY AGAIN.

    Avatar: Eva
    Eva Kemp
    Support staff
    February 24, 2015 at 17:12

    Hello,

    You should also comment this code in legenda/framework/theme-functions.php (line 1182):

    $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);
    			echo json_encode($return);
    			die();
    		}

    Please try it.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: marechauxcam
    marechauxcam
    Participant
    March 3, 2015 at 15:43

    How do I remove captcha on royal theme?

    I tried to remove the same css part you told from legenda theme… but nothing is happening

    best

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 3, 2015 at 16:28

    Hello @marechauxcam,

    Please try to comment out that code in \themes\royal\framework\shortcodes.php file on line 268-272

    <?php /* 
    <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 here \themes\royal\framework\theme-functions.php on line 1375-1379

    <?php /* 
    	<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>
    */?>

    Also this code in theme-functions.php file on line 1442-1447

    /*   
    if(!$captcha_instance->check( $_GET['captcha-prefix'], $_GET['captcha-word'] )) {
    $return['status'] = 'error';
    $return['msg'] = __('The security code you entered did not match. Please try again.', ETHEME_DOMAIN);
    echo json_encode($return);
    die();
    }*/

    and here in theme-functions.php file on line 1521-1526

    /*
    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);
    echo json_encode($return);
    die();
    }
    */

    We recommend do this changes in Child Theme.
    Don’t forget to make backup this file.

    Regards,
    Robert Hall.

    Avatar: marechauxcam
    marechauxcam
    Participant
    March 4, 2015 at 20:09

    Thank you ! how do i use the child theme??

    Moreover – i deleted the sentence ‘Facebook’ when i put my mouse on the Facebook icon. Put it still a little frame which was surrounding this sentence. How can i remove this little frame?

    Best

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 4, 2015 at 20:27

    Hello,

    1) Please read more about Child Theme in our documentation:
    https://www.8theme.com/demo/docs/legenda/index.html#!/child_theme

    2) What are you trying to achieve?
    Maybe provide screenshot for our better understanding and highlight what exactly you want.

    Regards,
    Robert Hall.

    Avatar: marechauxcam
    marechauxcam
    Participant
    March 5, 2015 at 06:03

    How can I send you à screenshot?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 5, 2015 at 08:21

    Hello,

    You can use LightShot program to make screenshots.

    Regards,
    Robert Hall.

    Avatar: marechauxcam
    marechauxcam
    Participant
    March 5, 2015 at 08:26

    I know how to take a screenshot but i don’t see how i can send it to you? You don’t have any ‘download file

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 5, 2015 at 08:29

    You can add link to screenshot in textarea field. See example: http://prntscr.com/6cwgnv

    Regards,
    Robert Hall.

    Avatar: marechauxcam
    marechauxcam
    Participant
    March 6, 2015 at 18:40
    Avatar: Eva
    Eva Kemp
    Support staff
    March 6, 2015 at 18:57

    Hello @marechauxcam,

    Edit the file \themes\royal\framework\shortcodes.php file, find the section “! Share This Product” and remove code class="'.$tooltip_class.'" title="'.__('Facebook', ETHEME_DOMAIN).'" from <a href="http://www.facebook.com/sharer.php?u='.$permalink.'&images='.$image.'" class="'.$tooltip_class.'" title="'.__('Facebook', ETHEME_DOMAIN).'" target="_blank"> for Facebook icon.

    Regards,
    Eva Kemp.

    Avatar: marechauxcam
    marechauxcam
    Participant
    March 9, 2015 at 11:22

    1 – In my website i have 2 language selector – How can i delete the one on the left?
    2 – Facebook icon isn’t align next to the language selector. How can i fix it? (see image attached)

    http://prntscr.com/6eldon

    Best

    Avatar: Brian Johnson
    Brian Johnson
    Member
    March 10, 2015 at 10:40

    Hello

    Please provide us with wp-admin credentials for your web site.

    With best regards
    Brian Johnson

    Avatar: marechauxcam
    marechauxcam
    Participant
    March 10, 2015 at 11:29

    There it is

    Please, contact administrator
    for this information.
    Avatar: marechauxcam
    marechauxcam
    Participant
    March 10, 2015 at 16:59

    Did you find a way to fix?

    Best

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 10, 2015 at 17:34

    Hello,

    I’ve added some CSS fix in custom.css file. Please check it.

    Regards,
    Robert Hall.

    Avatar: marechauxcam
    marechauxcam
    Participant
    March 11, 2015 at 10:05

    Thank you very much.

  • 1 2
    Viewing 20 results - 1 through 20 (of 25 total)

You must be logged in to reply to this topic.Log in/Sign up

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