i want to report recaptcha disappeared

  • Posts: 392
  • Thank you received: 0
13 years 2 months ago #25185

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 2 months ago #25192

Looking at the code on our end we are already using that URL:
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.

  • Posts: 392
  • Thank you received: 0
13 years 2 months ago #25195

Thanks so much Nicolas,

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!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 2 months ago #25200

Hi,

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.

  • Posts: 392
  • Thank you received: 0
13 years 2 months ago #25206

YEAH! It works! :woohoo: :woohoo: :woohoo:

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
13 years 2 months ago #25368

Hey Nicolas,

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 :)

Last edit: 13 years 2 months ago by Bugger101.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 1
13 years 2 months ago #25372

Hello I just recently got a hikashop starter (version 1.4.3) What should I know first?

Last edit: 13 years 2 months ago by Spacehangout.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 2 months ago #25375

Hi,

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.

  • Posts: 392
  • Thank you received: 0
13 years 2 months ago #25378

Too easy, thanks so much AGAIN! :)

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
13 years 2 months ago #25451

So strange, the captcha has disappeared for me. Firstly it was showing the words captcha: without the captcha image. then I enabled and disabled the plugin a few times, switched the modes up, and now it doesn't show at all.

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.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 2 months ago #25452

If it was working before, there is no reason it wouldn't anymore after unpbulishing/publishing it.

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
13 years 2 months ago #25467

Yes its so weird, a customer told me about it, and before that it was working and I hadn't changed any settings since it worked...

I have attached a pic of the settings to show you in case I am missing something.



Thanks :)

Attachments:
Last edit: 13 years 2 months ago by Bugger101.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 2 months ago #25523

What about the other options ? Is the plugin published ?

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
13 years 2 months ago #25545

Hey,

Yes, it's enabled :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum