Author Topic: google invisible recaptcha in Ask a question about this product  (Read 1365 times)

rockyjohn

  • Beginner
  • *
  • Posts: 9
  • VirtueMart Version: 3.2.14
I add google invisible recaptcha in Ask a question about this product.
But google recaptcha is appeared as V2. Not as invisible.

If captcha is visible, mobile view is not ok. So guide me how to invisible mode.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4072
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: google invisible recaptcha in Ask a question about this product
« Reply #1 on: August 23, 2018, 10:36:49 am »
invisible captcha need deep code changes in the form, so i dont think that moving from recpatcha to  invisible captcha work from the scratch.
How do you have setup invisible captcha, what have you change in your form ?

rockyjohn

  • Beginner
  • *
  • Posts: 9
  • VirtueMart Version: 3.2.14
Re: google invisible recaptcha in Ask a question about this product
« Reply #2 on: August 23, 2018, 12:22:46 pm »
Hi

To use google invisible captcha, I create invisible type in google captcha api.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27605
  • Always on vacation
    • Jenkin Hill Internet
Re: google invisible recaptcha in Ask a question about this product
« Reply #3 on: August 23, 2018, 13:42:47 pm »
AFAIK the current Joomla CAPTCHA - reCAPTCHA plugin does not support invisible.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4072
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: google invisible recaptcha in Ask a question about this product
« Reply #4 on: August 24, 2018, 02:37:55 am »
You cannot switch to invisible reCAPTCHA with same code
Recaptcha V2 I'm not a robot :
Code: [Select]
<div class="g-recaptcha" data-sitekey="your_site_key"></div>
Recaptcha V2 Invisible :
Code: [Select]
<button class="g-recaptcha" data-sitekey="your_site_key" data-callback='onSubmit'>Submit</button>
If you look, you see that invisible g-recaptcha use a button and run onSubmit and not a div. SO the code need to be added in the submit button. But this is not possible and you need to add the code or modify the form itself.
See the google invisible captcha doc how to use javascript to run your code.
     

rockyjohn

  • Beginner
  • *
  • Posts: 9
  • VirtueMart Version: 3.2.14
Re: google invisible recaptcha in Ask a question about this product
« Reply #5 on: August 24, 2018, 09:15:16 am »
Hi Studio 42

So is there no way to use invisible captcha?

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2473
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: google invisible recaptcha in Ask a question about this product
« Reply #6 on: August 24, 2018, 10:37:07 am »
Yes, but You have to modify plugin and the code in the form.

I think studio42 could help with that.

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4072
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: google invisible recaptcha in Ask a question about this product
« Reply #7 on: August 24, 2018, 13:17:09 pm »
Hi Studio 42

So is there no way to use invisible captcha?

Havve you search in the JED? No plugin for joomla exist ?
See https://extensions.joomla.org/extension/custom-recaptcha/

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2473
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: google invisible recaptcha in Ask a question about this product
« Reply #8 on: August 24, 2018, 14:32:35 pm »
You might find this:
https://extensions.joomla.org/extension/custom-recaptcha/

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

rockyjohn

  • Beginner
  • *
  • Posts: 9
  • VirtueMart Version: 3.2.14
Re: google invisible recaptcha in Ask a question about this product
« Reply #9 on: September 02, 2018, 05:53:00 am »
I try with your plugin.
But do not work.

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2473
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: google invisible recaptcha in Ask a question about this product
« Reply #10 on: September 02, 2018, 09:23:07 am »
This is not really a VM issue, it is a Joomla issue. Better to talk to someone who knows about recaptcha for Joomla.

I try with your plugin.
But do not work.

It is not my plugin, talk to the developer about this. I just googled that for You.

If You are not saisfied with this, please feel free to write your own olugin.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)