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.
This topic has 25 replies, 6 voices, and was last updated 10 years, 6 months ago ago by Robert Hall
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.
Hello,
Try to comment out captcha code in \legenda\wp-content\themes\legenda\et-registration.php file on line 70-74
Regards,
Robert Hall.
Does not help: THE SECURITY CODE YOU ENTERED DID NOT MATCH. PLEASE TRY AGAIN.
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.
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
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.
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
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.
How can I send you à screenshot?
Hello,
You can use LightShot program to make screenshots.
Regards,
Robert Hall.
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
You can add link to screenshot in textarea field. See example: http://prntscr.com/6cwgnv
Regards,
Robert Hall.
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.
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)
Best
Hello
Please provide us with wp-admin credentials for your web site.
With best regards
Brian Johnson
There it is
Did you find a way to fix?
Best
Hello,
I’ve added some CSS fix in custom.css file. Please check it.
Regards,
Robert Hall.
Thank you very much.
You are welcome. We would very much appreciate if you leave a comment and rating for our theme on themeforest.
With best regards
Brian Johnson
Hi,
I have an issue with capcha (security code) when a user attempts to register.
Security code appears as a red box with no data in it and upon registration the following message appears:
“THE SECURITY CODE YOU ENTERED DID NOT MATCH. PLEASE TRY AGAIN.”
Any help is more than welcome.
Hello @nikos,
Please make backup of your site and we’ll try to reupdate theme for you.
Very likely some files are crashed.
Regards,
Robert Hall.
Ok,
I did the backup, you can proceed with the theme update.
Thanks.
Hello @nikos,
We’ve fixed this issue. Please check your site.
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up