Virtuemart Captcha field not appearing in user registration form

richard25
121 Posts
richard25 posted this 4 weeks ago

Hi

I've turned on the Joomla recaptcha plugin and inserted the keys but the form below will not display the recaptcha field

https://antiligatureshopdirect.com/user/editaddresscartbt

I know it's working because the standard Joomla registration form link below displays it

https://antiligatureshopdirect.com/create-an-account/

I thought about adding a custom field but cannot find one for recaptcha

Cheers

Hi I've turned on the Joomla recaptcha plugin and inserted the keys but the form below will not display the recaptcha field https://antiligatureshopdirect.com/user/editaddresscartbt I know it's working because the standard Joomla registration form link below displays it https://antiligatureshopdirect.com/create-an-account/ I thought about adding a custom field but cannot find one for recaptcha Cheers
Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
richard25
121 Posts
richard25 posted this 3 weeks ago

Hi

Could support please get back to me on this?

Is there a shortcode I need to add to my template? If so what is it?

Thanks

Hi Could support please get back to me on this? Is there a shortcode I need to add to my template? If so what is it? Thanks

Last edited 3 weeks ago by richard25

Support Team
Support Team posted this 2 weeks ago

Hi,

Sorry for the delay.
Does it work with the default joomla theme? Do you know how to make it work with the default Joomla theme?
As far as I know it needs a piece of html at the end of the form. The login form is controlled by joomla, not the theme.
If you're using joomla plugin please check for the option to change default website captcha under the Global Configuration. This may help too.

Thank you,
Olivia

Hi, Sorry for the delay. Does it work with the default joomla theme? Do you know how to make it work with the default Joomla theme? As far as I know it needs a piece of html at the end of the form. The login form is controlled by joomla, not the theme. If you're using joomla plugin please check for the option to change default website captcha under the Global Configuration. This may help too. Thank you, Olivia
richard25
121 Posts
richard25 posted this 2 weeks ago

Hi Olivia

I did it as follows, hopefully you can verify this is correct or at least there is no better way of doing it that you know off.

A. Login to Google Recaptcha and create a site captcha for your website

B. Activate recaptcha for VM User Registration form

VM/Configuration/Shop Tab Tick the box ‘Use ReCaptcha for Registration’ Save & Close

Enable the ‘Captcha Recaptcha’ Joomla recaptcha plugin select version 2 and input Google recaptcha Site & Secret key

In Joomla Global Settings - Set Default Captcha as ‘Captcha - Recaptcha’

In Joomla User/Manage/Options - Select Allow user registration to ‘No’ and Captcha as ‘Captcha - Recaptcha’ (This prevents normal Joomla registration but allows Virtuemart User Registration with recaptcha)

C. Showing recaptcha in Themler Template

Insert the Google Recaptcha Client Side integration Snippet into the bottom of the Registration Default page below(Just before )

templatename/html/com_virtuemart/edit_address.php

The Snippet can be found in the Google recaptcha site listing under the title ‘Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:’

Eg as per snippet example below
<div class data-sitekey>Etc etc etc etc</div>

Regards

Richard

Hi Olivia I did it as follows, hopefully you can verify this is correct or at least there is no better way of doing it that you know off. A. Login to Google Recaptcha and create a site captcha for your website B. Activate recaptcha for VM User Registration form VM/Configuration/Shop Tab Tick the box ‘Use ReCaptcha for Registration’ Save & Close Enable the ‘Captcha Recaptcha’ Joomla recaptcha plugin select version 2 and input Google recaptcha Site & Secret key In Joomla Global Settings - Set Default Captcha as ‘Captcha - Recaptcha’ In Joomla User/Manage/Options - Select Allow user registration to ‘No’ and Captcha as ‘Captcha - Recaptcha’ (This prevents normal Joomla registration but allows Virtuemart User Registration with recaptcha) C. Showing recaptcha in Themler Template Insert the Google Recaptcha Client Side integration Snippet into the bottom of the Registration Default page below(Just before </form>) templatename/html/com_virtuemart/edit_address.php The Snippet can be found in the Google recaptcha site listing under the title ‘Paste this snippet at the end of the &lt;form&gt; where you want the reCAPTCHA widget to appear:’ Eg as per snippet example below &lt;div class data-sitekey&gt;Etc etc etc etc&lt;/div&gt; Regards Richard

Last edited 2 weeks ago by richard25

You must log in or register to leave comments