- Posts: 392
- Thank you received: 0
i want to report recaptcha disappeared
Please Log in or Create an account to join the conversation.
define("RECAPTCHA_API_SERVER", " www.google.com/recaptcha/api ");
define("RECAPTCHA_API_SECURE_SERVER", " www.google.com/recaptcha/api ");
However, I can see that there is no code to tell recaptcha to use the secure api server which is why it's not working.
You need to change the code (3places):
recaptcha_get_html($this->params->get('public_key'))
to:
recaptcha_get_html($this->params->get('public_key'),null,hikashop_isSSL())
and add the line below at the beginning of the file:
if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) return true;
in the file plugins/system/recaptcha.php
We'll publish shortly a new version of the plugin with the corresponding modifications.
Please Log in or Create an account to join the conversation.
It works, now the page is secure, but the captcha doesn't show up. Probably my fault, here is where I placed the code:
<?php
/**
* @copyright Copyright (C) 2009-2010 HIKARI SOFTWARE SARL - All rights reserved.
* @license www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) return true;
defined('_JEXEC') or die('Restricted access');
?>
<?php
class plgSystemRecaptcha extends JPlugin
Good to hear that the new plugin is on its way - hate spam!
Please Log in or Create an account to join the conversation.
We've updated the plugin on the server. You might just want to download it again and install it again over your current version in order to get the modifications automatically.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I think the new plugin is interfering with other extensions using captcha. My contact forms don't work now after installing the new plugin, and I get this error message: The CAPTCHA solution was incorrect
Thanks
Please Log in or Create an account to join the conversation.
- Posts: 13
- Thank you received: 1
Please Log in or Create an account to join the conversation.
The plugin handles contact enhanced captcha if you activate the contact option of the plugin (you should see the captcha displayed on that page if that's the case). If you don't use it, you can just turned off that option and it won't do anything when you submit the contact form.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I disabled the new module on that page, the google translation and doesn't seem to be the problem.
Have disabled it for now so people can buy from the site, but just thought I would let you know.
Thanks
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Yes, it's enabled
Please Log in or Create an account to join the conversation.