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

#   Change the position of Captcha during registration

##

- **[scharfet](/forum/user/3989-scharfet "View scharfet's Profile")**
- [![scharfet's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3989.jpg)](/forum/user/3989-scharfet "View scharfet's Profile") Topic Author
- [ Offline](/forum/user/3989-scharfet)

Less More

- Posts: 86
- Thank you received: 2
-
-

12 years 5 months ago -  12 years 5 months ago [\#154971](#154971) by [scharfet](/forum/user/3989-scharfet "View scharfet's Profile")  *[Change the position of Captcha during registration](/forum/2-general-talk-about-hikashop/867988-change-the-position-of-captcha-during-registration#154971 "Hello:  I implemented Captacha for the registration process because sometimes the confirmation emails did not reach the client. Especially Yahoo emais had problems.  1.) How to stop sending the confirmation email after implementing ReCaptcha?  2.) How to change the position of hte Captcha? I want it to have in just on top on the &quot;registration&quot; button. What do I need to change within the registration.php file in order to achieve this?  Thank you!")* was created by *[scharfet](/forum/user/3989-scharfet "View scharfet's Profile")*

Hello:

I implemented Captacha for the registration process because sometimes the confirmation emails did not reach the client. Especially Yahoo emais had problems.

1.) How to stop sending the confirmation email after implementing ReCaptcha?

2.) How to change the position of hte Captcha? I want it to have in just on top on the "registration" button.
What do I need to change within the registration.php file in order to achieve this?

Thank you!
Code:

&lt;/tr&gt; &lt;?php if($this-&gt;config-&gt;get('show_email_confirmation_field',0)){ ?&gt; &lt;tr class="hikashop_registration_email_confirm_line"&gt; &lt;td class="key" style="text-align:right"&gt; &lt;label id="email_confirm_msg" for="register_email_confirm"&gt; &lt;?php echo JText::_( 'Confirmar&amp;nbsp;email:&amp;nbsp;*' ); ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt; &lt;input type="text" id="register_email_confirm" name="data[register][email_confirm]" value="&lt;?php echo $this-&gt;escape($this-&gt;mainUser-&gt;get( 'email' ));?&gt;" class="inputbox required validate-email" maxlength="100" onchange="if(this.value!=document.getElementById('register_email').value){alert('&lt;?php echo JText::_('THE_CONFIRMATION_EMAIL_DIFFERS_FROM_THE_EMAIL_YOUR_ENTERED',true); ?&gt;'); this.value = '';}" /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php /*============================================================================================================================*/ ?&gt; &lt;?php } if(!$this-&gt;simplified_registration &#124;&#124; $this-&gt;simplified_registration == 3){ ?&gt; &lt;tr class="hikashop_registration_password_line"&gt; &lt;td class="key" style="text-align:right"&gt; &lt;label id="pwmsg" for="password"&gt; &lt;?php echo JText::_( 'HIKA_PASSWORD' ); ?&gt;&lt;?php echo JText::_( ':&amp;nbsp;*' ); ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt; &lt;input class="inputbox required validate-password" type="password" id="register_password" name="data[register][password]" value="" /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr class="hikashop_registration_password2_line"&gt; &lt;td class="key" style="text-align:right"&gt; &lt;label id="pw2msg" for="register_password2"&gt; &lt;?php echo JText::_( 'HIKA_VERIFY_PASSWORD' ); ?&gt;&lt;?php echo JText::_( ':&amp;nbsp;*' ); ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt; &lt;input class="inputbox required validate-passverify" type="password" id="register_password2" name="data[register][password2]" value="" /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php }?&gt; &lt;?php $this-&gt;setLayout('custom_fields'); $this-&gt;type = 'user'; echo $this-&gt;loadTemplate(); if($this-&gt;config-&gt;get('affiliate_registration',0)){ ?&gt; &lt;tr class="hikashop_registration_affiliate_line"&gt; &lt;td colspan="2"&gt; &lt;input class="hikashop_affiliate_checkbox" id="hikashop_affiliate_checkbox" type="checkbox" name="hikashop_affiliate_checkbox" value="1" &lt;?php echo $this-&gt;affiliate_checked; ?&gt; /&gt; &lt;label for="hikashop_affiliate_checkbox"&gt; &lt;?php $affiliate_terms = $this-&gt;config-&gt;get('affiliate_terms',0); $label = JText::_('BECOME_A_PARTNER'); if(!empty($affiliate_terms)){?&gt; &lt;span class="hikashop_affiliate_terms_span_link" id="hikashop_affiliate_terms_span_link"&gt; &lt;a class="hikashop_affiliate_terms_link" id="hikashop_affiliate_terms_link" target="_blank" href="&lt;?php echo JRoute::_('index.php?option=com_content&amp;view=article&amp;id='.$affiliate_terms); ?&gt;"&gt;&lt;?php echo $label; ?&gt;&lt;/a&gt; &lt;/span&gt;&lt;?php }else{ echo $label; } ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } ?&gt; &lt;?php /*============================================================================================================================*/ ?&gt; &lt;tr class="hikashop_registration_address_info_line"&gt; &lt;td colspan="2" height="40"&gt; &lt;?php echo JText::_( 'ADDRESS_INFORMATION' ); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php $this-&gt;type = 'address'; echo $this-&gt;loadTemplate(); ?&gt; &lt;tr class="hikashop_registration_required_info_line"&gt; &lt;td colspan="2" height="40"&gt; &lt;?php echo JText::_( 'HIKA_REGISTER_REQUIRED' ); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;input type="hidden" name="data[register][id]" value="&lt;?php echo (int)$this-&gt;mainUser-&gt;get( 'id' );?&gt;" /&gt; &lt;input type="hidden" name="data[register][gid]" value="&lt;?php echo (int)$this-&gt;mainUser-&gt;get( 'gid' );?&gt;" /&gt; &lt;?php $additional_check=''; if(empty($this-&gt;form_name)){ $this-&gt;form_name = 'hikashop_checkout_form'; if(JRequest::getVar('hikashop_check_order')) $additional_check='&amp;&amp; hikashopCheckChangeForm(\'order\',\''.$this-&gt;form_name.'\')'; } echo $this-&gt;cartClass-&gt;displayButton(JText::_('HIKA_REGISTER'),'register',$this-&gt;params,'','if(hikashopCheckChangeForm(\'register\',\''.$this-&gt;form_name.'\') &amp;&amp; hikashopCheckChangeForm(\'user\',\''.$this-&gt;form_name.'\') &amp;&amp; hikashopCheckChangeForm(\'address\',\''.$this-&gt;form_name.'\')'.$additional_check.'){ var button = document.getElementById(\'login_view_action\'); if(button) button.value=\'register\'; document.'.$this-&gt;form_name.'.submit();} return false;');

Last edit: 12 years 5 months ago by [scharfet](/forum/user/3989-scharfet "View scharfet's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2Nzk4OC1jaGFuZ2UtdGhlLXBvc2l0aW9uLW9mLWNhcHRjaGEtZHVyaW5nLXJlZ2lzdHJhdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86323
- Thank you received: 14283
-
-

12 years 5 months ago [\#154983](#154983) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Change the position of Captcha during registration](/forum/2-general-talk-about-hikashop/867988-change-the-position-of-captcha-during-registration#154983 "Hello:  I implemented Captacha for the registration process because sometimes the confirmation emails did not reach the client. Especially Yahoo emais had problems.  1.) How to stop sending the confirmation email after implementing ReCaptcha?  2.) How to change the position of hte Captcha? I want it to have in just on top on the &quot;registration&quot; button. What do I need to change within the registration.php file in order to achieve this?  Thank you!")*

Hi,

0. If some of your customers don't get the confirmation email, it's probably an issue with the emails configuration of your server. I would recommend to use [ www.mail-tester.com/](http://www.mail-tester.com/) in order to understand what you should improve so that your emails get accepted by any email server.

1. If you want to deactivate the confirmation email, simply turn off the user account activation option of the options screen of the Joomla user manager.

2. No need to change the code of the registration view to change the position of the captcha. You need to edit the plugin code instead:
[ www.hikashop.com/forum/4-how-to/32012-re...tion-form.html#32037](http://www.hikashop.com/forum/4-how-to/32012-recaptcha-in-the-midle-of-the-registration-form.html#32037)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2Nzk4OC1jaGFuZ2UtdGhlLXBvc2l0aW9uLW9mLWNhcHRjaGEtZHVyaW5nLXJlZ2lzdHJhdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[scharfet](/forum/user/3989-scharfet "View scharfet's Profile")**
- [![scharfet's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3989.jpg)](/forum/user/3989-scharfet "View scharfet's Profile") Topic Author
- [ Offline](/forum/user/3989-scharfet)

Less More

- Posts: 86
- Thank you received: 2
-
-

12 years 5 months ago [\#155144](#155144) by [scharfet](/forum/user/3989-scharfet "View scharfet's Profile")  Replied by *[scharfet](/forum/user/3989-scharfet "View scharfet's Profile")* on topic *[Change the position of Captcha during registration](/forum/2-general-talk-about-hikashop/867988-change-the-position-of-captcha-during-registration#155144 "Hello:  I implemented Captacha for the registration process because sometimes the confirmation emails did not reach the client. Especially Yahoo emais had problems.  1.) How to stop sending the confirmation email after implementing ReCaptcha?  2.) How to change the position of hte Captcha? I want it to have in just on top on the &quot;registration&quot; button. What do I need to change within the registration.php file in order to achieve this?  Thank you!")*

Hi Nicolas.

thank you for your kind feedback.

> would recommend to use [ www.mail-tester.com/](http://www.mail-tester.com/) in order to understand what you should improve so that your emails get accepted by any email server.

I analyzed it with [ www.mail-tester.com/web-bYdEff](http://www.mail-tester.com/web-bYdEff)
I got the result: 8/10
-1 because the email was not signed with DKIM -

Is is possible to fix this?

Best

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2Nzk4OC1jaGFuZ2UtdGhlLXBvc2l0aW9uLW9mLWNhcHRjaGEtZHVyaW5nLXJlZ2lzdHJhdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86323
- Thank you received: 14283
-
-

12 years 5 months ago [\#155154](#155154) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Change the position of Captcha during registration](/forum/2-general-talk-about-hikashop/867988-change-the-position-of-captcha-during-registration#155154 "Hello:  I implemented Captacha for the registration process because sometimes the confirmation emails did not reach the client. Especially Yahoo emais had problems.  1.) How to stop sending the confirmation email after implementing ReCaptcha?  2.) How to change the position of hte Captcha? I want it to have in just on top on the &quot;registration&quot; button. What do I need to change within the registration.php file in order to achieve this?  Thank you!")*

Hi,

If you have your own server then it should be yes. In that case, you need to configure your mail server to support DKIM and the procedure depends on the email server you're using.
If you don't have your own server, then you should see that with your hosting company.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2Nzk4OC1jaGFuZ2UtdGhlLXBvc2l0aW9uLW9mLWNhcHRjaGEtZHVyaW5nLXJlZ2lzdHJhdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 121
- Thank you received: 7
-
-

12 years 5 months ago [\#157633](#157633) by [jeremynsl](/forum/user/489-jeremynsl "View jeremynsl's Profile")  Replied by *[jeremynsl](/forum/user/489-jeremynsl "View jeremynsl's Profile")* on topic *[Change the position of Captcha during registration](/forum/2-general-talk-about-hikashop/867988-change-the-position-of-captcha-during-registration#157633 "Hello:  I implemented Captacha for the registration process because sometimes the confirmation emails did not reach the client. Especially Yahoo emais had problems.  1.) How to stop sending the confirmation email after implementing ReCaptcha?  2.) How to change the position of hte Captcha? I want it to have in just on top on the &quot;registration&quot; button. What do I need to change within the registration.php file in order to achieve this?  Thank you!")*

Hi,

I strongly recommend using Mandrill (free for 10,000 emails or less per month) for transactional emails. They use Mailchimp's backend. It's very reliable - you can track each message etc. And it has DKIM etc. etc. all the good stuff that let's your emails get through to customer's as they should.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2Nzk4OC1jaGFuZ2UtdGhlLXBvc2l0aW9uLW9mLWNhcHRjaGEtZHVyaW5nLXJlZ2lzdHJhdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 20
- Thank you received: 2
-
-

12 years 4 months ago [\#161499](#161499) by [energinyter](/forum/user/30754-energinyter "View energinyter's Profile")  Replied by *[energinyter](/forum/user/30754-energinyter "View energinyter's Profile")* on topic *[Change the position of Captcha during registration](/forum/2-general-talk-about-hikashop/867988-change-the-position-of-captcha-during-registration#161499 "Hello:  I implemented Captacha for the registration process because sometimes the confirmation emails did not reach the client. Especially Yahoo emais had problems.  1.) How to stop sending the confirmation email after implementing ReCaptcha?  2.) How to change the position of hte Captcha? I want it to have in just on top on the &quot;registration&quot; button. What do I need to change within the registration.php file in order to achieve this?  Thank you!")*

Hello, we solved this on our website by makeing changes in the file:

"plugins\system\recaptcha\recaptcha.php"

We have it placed in after our custom field "address_vat", and that made this:

/** $components = array('view' =&gt; array('checkout','user'),'viewvar' =&gt; 'ctrl', 'lengthafter' =&gt; 500 , 'tdclass' =&gt; 'key', 'email' =&gt; 'data\[register\]\[email_confirm\]','password' =&gt; 'data\[register\]\[password2\]');**/
$components = array('view' =&gt; array('checkout','user'),'viewvar' =&gt; 'ctrl', 'lengthafter' =&gt; 500 , 'tdclass' =&gt; 'key', 'email' =&gt; 'data\[address\]\[address_vat\]','password' =&gt; 'data\[address\]\[address_vat\]');

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2Nzk4OC1jaGFuZ2UtdGhlLXBvc2l0aW9uLW9mLWNhcHRjaGEtZHVyaW5nLXJlZ2lzdHJhdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.115 seconds

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