VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: rockyjohn on August 23, 2018, 10:24:42 AM

Title: google invisible recaptcha in Ask a question about this product
Post by: rockyjohn on August 23, 2018, 10:24:42 AM
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.
Title: Re: google invisible recaptcha in Ask a question about this product
Post by: Studio 42 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 ?
Title: Re: google invisible recaptcha in Ask a question about this product
Post by: rockyjohn on August 23, 2018, 12:22:46 PM
Hi

To use google invisible captcha, I create invisible type in google captcha api.
Title: Re: google invisible recaptcha in Ask a question about this product
Post by: jenkinhill on August 23, 2018, 13:42:47 PM
AFAIK the current Joomla CAPTCHA - reCAPTCHA plugin does not support invisible.
Title: Re: google invisible recaptcha in Ask a question about this product
Post by: Studio 42 on August 24, 2018, 02:37:55 AM
You cannot switch to invisible reCAPTCHA with same code
Recaptcha V2 I'm not a robot :

<div class="g-recaptcha" data-sitekey="your_site_key"></div>


Recaptcha V2 Invisible :

<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.
     
Title: Re: google invisible recaptcha in Ask a question about this product
Post by: rockyjohn on August 24, 2018, 09:15:16 AM
Hi Studio 42

So is there no way to use invisible captcha?
Title: Re: google invisible recaptcha in Ask a question about this product
Post by: Jörgen 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
Title: Re: google invisible recaptcha in Ask a question about this product
Post by: Studio 42 on August 24, 2018, 13:17:09 PM
Quote from: rockyjohn on August 24, 2018, 09:15:16 AM
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/
Title: Re: google invisible recaptcha in Ask a question about this product
Post by: Jörgen on August 24, 2018, 14:32:35 PM
You might find this:
https://extensions.joomla.org/extension/custom-recaptcha/ (https://extensions.joomla.org/extension/custom-recaptcha/)

regards

Jörgen @ Kreativ Fotografi
Title: Re: google invisible recaptcha in Ask a question about this product
Post by: rockyjohn on September 02, 2018, 05:53:00 AM
I try with your plugin.
But do not work.
Title: Re: google invisible recaptcha in Ask a question about this product
Post by: Jörgen 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.

Quote from: rockyjohn on September 02, 2018, 05:53:00 AM
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