[Skip to main content](#vessel-content)

#   Recaptcha in the middle of the registration form

##

- **[Jim](/forum/user/48118-jim "View Jim's Profile")**
- [![Jim's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48118-jim "View Jim's Profile") Topic Author
- [ Offline](/forum/user/48118-jim)

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 5 months ago [\#270781](#270781) by [Jim](/forum/user/48118-jim "View Jim's Profile")  *[Recaptcha in the middle of the registration form](/forum/25-install-update/890492-recaptcha-in-the-middle-of-the-registration-form#270781 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2  Hello,  due the increasing number of accounts from some dubious russion e-mail addresses I was looking into recaptcha. I found a plugin on your site (  www.hikashop.com/21-documentation/hikash...-with-recaptcha.html )  Install went fine. Seems to work fine, but there is a small issue.  It is display between the user details and the address details on the registration page.  Is there a possibility to move it to the end of the registration process, right bevor the register button?")* was created by *[Jim](/forum/user/48118-jim "View Jim's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.7.2

Hello,

due the increasing number of accounts from some dubious russion e-mail addresses I was looking into recaptcha. I found a plugin on your site
([ www.hikashop.com/21-documentation/hikash...-with-recaptcha.html](https://www.hikashop.com/21-documentation/hikashop/integrations/72-hikashop-integration-with-recaptcha.html))

Install went fine. Seems to work fine, but there is a small issue.

It is display between the user details and the address details on the registration page.

Is there a possibility to move it to the end of the registration process, right bevor the register button?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MDQ5Mi1yZWNhcHRjaGEtaW4tdGhlLW1pZGRsZS1vZi10aGUtcmVnaXN0cmF0aW9uLWZvcm0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 5 months ago [\#270786](#270786) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Recaptcha in the middle of the registration form](/forum/25-install-update/890492-recaptcha-in-the-middle-of-the-registration-form#270786 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2  Hello,  due the increasing number of accounts from some dubious russion e-mail addresses I was looking into recaptcha. I found a plugin on your site (  www.hikashop.com/21-documentation/hikash...-with-recaptcha.html )  Install went fine. Seems to work fine, but there is a small issue.  It is display between the user details and the address details on the registration page.  Is there a possibility to move it to the end of the registration process, right bevor the register button?")*

Hi,

Supposing that you're using the new checkout of HikaShop (setting "checkout legacy" turned off" in the HikaShop configuration), you can just change the line:
$after = ($this-&gt;params-&gt;get('fieldafter','password') == 'email') ? 'top' : 'middle';
to:
$after = 'bottom';
in the file plugins/system/recaptcha2/recaptcha2.php and that will do it.

The following user(s) said Thank You: [Jim](/forum/user/48118-jim "View Jim's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MDQ5Mi1yZWNhcHRjaGEtaW4tdGhlLW1pZGRsZS1vZi10aGUtcmVnaXN0cmF0aW9uLWZvcm0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jim](/forum/user/48118-jim "View Jim's Profile")**
- [![Jim's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48118-jim "View Jim's Profile") Topic Author
- [ Offline](/forum/user/48118-jim)

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 5 months ago [\#270875](#270875) by [Jim](/forum/user/48118-jim "View Jim's Profile")  Replied by *[Jim](/forum/user/48118-jim "View Jim's Profile")* on topic *[Recaptcha in the middle of the registration form](/forum/25-install-update/890492-recaptcha-in-the-middle-of-the-registration-form#270875 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2  Hello,  due the increasing number of accounts from some dubious russion e-mail addresses I was looking into recaptcha. I found a plugin on your site (  www.hikashop.com/21-documentation/hikash...-with-recaptcha.html )  Install went fine. Seems to work fine, but there is a small issue.  It is display between the user details and the address details on the registration page.  Is there a possibility to move it to the end of the registration process, right bevor the register button?")*

That's it. Thank you.

Another question regarding spam. Is there a plugin for hikashop registration where I can bann certain domains from registration when input in e-mail field during registration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MDQ5Mi1yZWNhcHRjaGEtaW4tdGhlLW1pZGRsZS1vZi10aGUtcmVnaXN0cmF0aW9uLWZvcm0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 5 months ago [\#270877](#270877) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Recaptcha in the middle of the registration form](/forum/25-install-update/890492-recaptcha-in-the-middle-of-the-registration-form#270877 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2  Hello,  due the increasing number of accounts from some dubious russion e-mail addresses I was looking into recaptcha. I found a plugin on your site (  www.hikashop.com/21-documentation/hikash...-with-recaptcha.html )  Install went fine. Seems to work fine, but there is a small issue.  It is display between the user details and the address details on the registration page.  Is there a possibility to move it to the end of the registration process, right bevor the register button?")*

Hi,

HikaShop is compatible with the Joomla user system.
So normally, such plugin should allow you to do that even with the HikaShop registration form:
[ extensions.joomla.org/extension/domainrestriction/](https://extensions.joomla.org/extension/domainrestriction/)

The following user(s) said Thank You: [Jim](/forum/user/48118-jim "View Jim's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MDQ5Mi1yZWNhcHRjaGEtaW4tdGhlLW1pZGRsZS1vZi10aGUtcmVnaXN0cmF0aW9uLWZvcm0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vseva](/forum/user/39330-vseva "View vseva's Profile")**
- [![vseva's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39330.jpg)](/forum/user/39330-vseva "View vseva's Profile")
- [ Offline](/forum/user/39330-vseva)

Less More

- Posts: 56
- Thank you received: 2
-
-

8 years 8 months ago -  8 years 8 months ago [\#288822](#288822) by [vseva](/forum/user/39330-vseva "View vseva's Profile")  Replied by *[vseva](/forum/user/39330-vseva "View vseva's Profile")* on topic *[Recaptcha in the middle of the registration form](/forum/25-install-update/890492-recaptcha-in-the-middle-of-the-registration-form#288822 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2  Hello,  due the increasing number of accounts from some dubious russion e-mail addresses I was looking into recaptcha. I found a plugin on your site (  www.hikashop.com/21-documentation/hikash...-with-recaptcha.html )  Install went fine. Seems to work fine, but there is a small issue.  It is display between the user details and the address details on the registration page.  Is there a possibility to move it to the end of the registration process, right bevor the register button?")*

I tried what you mentioned above , but since then I think the code has changed.

So thought I'd use a quick work around using a little jQuery to make it happen:
Like so:
Code:

$('.hikashop_registration_required_info_line').after($('.recaptcha'));

n.b: the first selector is class of the div you want to append the recaptcha div to.

Tried and tested.

V.

Last edit: 8 years 8 months ago by [vseva](/forum/user/39330-vseva "View vseva's Profile"). Reason: Found a better jquery function: after()

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MDQ5Mi1yZWNhcHRjaGEtaW4tdGhlLW1pZGRsZS1vZi10aGUtcmVnaXN0cmF0aW9uLWZvcm0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

8 years 8 months ago [\#288827](#288827) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Recaptcha in the middle of the registration form](/forum/25-install-update/890492-recaptcha-in-the-middle-of-the-registration-form#288827 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2  Hello,  due the increasing number of accounts from some dubious russion e-mail addresses I was looking into recaptcha. I found a plugin on your site (  www.hikashop.com/21-documentation/hikash...-with-recaptcha.html )  Install went fine. Seems to work fine, but there is a small issue.  It is display between the user details and the address details on the registration page.  Is there a possibility to move it to the end of the registration process, right bevor the register button?")*

Hi,

The code indeed changed because we've added the choice "Address" in the "Display captcha after" setting of the ReCaptcha plugin.
That way, you can actually display the captcha after the address (so at the end of the registration form) without adding/changing any code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MDQ5Mi1yZWNhcHRjaGEtaW4tdGhlLW1pZGRsZS1vZi10aGUtcmVnaXN0cmF0aW9uLWZvcm0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vseva](/forum/user/39330-vseva "View vseva's Profile")**
- [![vseva's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39330.jpg)](/forum/user/39330-vseva "View vseva's Profile")
- [ Offline](/forum/user/39330-vseva)

Less More

- Posts: 56
- Thank you received: 2
-
-

8 years 8 months ago [\#288872](#288872) by [vseva](/forum/user/39330-vseva "View vseva's Profile")  Replied by *[vseva](/forum/user/39330-vseva "View vseva's Profile")* on topic *[Recaptcha in the middle of the registration form](/forum/25-install-update/890492-recaptcha-in-the-middle-of-the-registration-form#288872 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2  Hello,  due the increasing number of accounts from some dubious russion e-mail addresses I was looking into recaptcha. I found a plugin on your site (  www.hikashop.com/21-documentation/hikash...-with-recaptcha.html )  Install went fine. Seems to work fine, but there is a small issue.  It is display between the user details and the address details on the registration page.  Is there a possibility to move it to the end of the registration process, right bevor the register button?")*

Sweet !!

I look forwards to that feature once I do bit of long needed upgrading.

Thx for the reply.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MDQ5Mi1yZWNhcHRjaGEtaW4tdGhlLW1pZGRsZS1vZi10aGUtcmVnaXN0cmF0aW9uLWZvcm0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.062 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
