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

#   Where is controller php for HikaShop registration

##

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

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 5 months ago [\#104773](#104773) by [adzy1981](/forum/user/17503-adzy1981 "View adzy1981's Profile")  *[Where is controller php for HikaShop registration](/forum/4-how-to/82311-where-is-controller-php-for-hikashop-registration#104773 "Hi Guys,  I am trying to implement a captcha solution based on images rather than the usual distorted text (the solution is called peoplesign). I have the custom plugin installed and I have the custom image captcha solution appearing on the registration form as I would expect.  I edited the user/registration.php file from Hikashop -&gt; Display-&gt; Views-&gt; and added the code below, just above the &quot;Register&quot; button:  triggerEvent('showPeoplesignAtCustomLocation', array('myCustomLocation1','customizationString')); ?&gt;  I have been told that I need to add the code below to the script that processes the form, by placing the code at the beginning of the controller.php file (or the file that controls the form)  $status = JFactory::getApplication()-&gt;triggerEvent( 'checkPeoplesignFromCustomLocation', array('myCustomLocation1')); if (!$status&#91;0&#93;){ JFactory::getApplication()-&gt;redirect(); }  What file controls the HikaShop user registration form. I just need to know where to add the code that's all.  Thanks")* was created by *[adzy1981](/forum/user/17503-adzy1981 "View adzy1981's Profile")*

Hi Guys,

I am trying to implement a captcha solution based on images rather than the usual distorted text (the solution is called peoplesign).
I have the custom plugin installed and I have the custom image captcha solution appearing on the registration form as I would expect.

I edited the user/registration.php file from Hikashop -&gt; Display-&gt; Views-&gt; and added the code below, just above the "Register" button:

&lt;?php
JFactory::getApplication()-&gt;triggerEvent('showPeoplesignAtCustomLocation', array('myCustomLocation1','customizationString'));
?&gt;

I have been told that I need to add the code below to the script that processes the form, by placing the code at the beginning of the controller.php file (or the file that controls the form)

$status = JFactory::getApplication()-&gt;triggerEvent(
'checkPeoplesignFromCustomLocation',
array('myCustomLocation1'));
if (!$status[0]){
JFactory::getApplication()-&gt;redirect();
}

What file controls the HikaShop user registration form. I just need to know where to add the code that's all.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgyMzExLXdoZXJlLWlzLWNvbnRyb2xsZXItcGhwLWZvci1oaWthc2hvcC1yZWdpc3RyYXRpb24/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: 86320
- Thank you received: 14278
-
-

13 years 5 months ago [\#104786](#104786) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Where is controller php for HikaShop registration](/forum/4-how-to/82311-where-is-controller-php-for-hikashop-registration#104786 "Hi Guys,  I am trying to implement a captcha solution based on images rather than the usual distorted text (the solution is called peoplesign). I have the custom plugin installed and I have the custom image captcha solution appearing on the registration form as I would expect.  I edited the user/registration.php file from Hikashop -&gt; Display-&gt; Views-&gt; and added the code below, just above the &quot;Register&quot; button:  triggerEvent('showPeoplesignAtCustomLocation', array('myCustomLocation1','customizationString')); ?&gt;  I have been told that I need to add the code below to the script that processes the form, by placing the code at the beginning of the controller.php file (or the file that controls the form)  $status = JFactory::getApplication()-&gt;triggerEvent( 'checkPeoplesignFromCustomLocation', array('myCustomLocation1')); if (!$status&#91;0&#93;){ JFactory::getApplication()-&gt;redirect(); }  What file controls the HikaShop user registration form. I just need to know where to add the code that's all.  Thanks")*

Hi,

You can add it at the beginning of the "register" function of the file administrator/components/com_hikashop/classes/user.php

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

13 years 5 months ago [\#105083](#105083) by [adzy1981](/forum/user/17503-adzy1981 "View adzy1981's Profile")  Replied by *[adzy1981](/forum/user/17503-adzy1981 "View adzy1981's Profile")* on topic *[Where is controller php for HikaShop registration](/forum/4-how-to/82311-where-is-controller-php-for-hikashop-registration#105083 "Hi Guys,  I am trying to implement a captcha solution based on images rather than the usual distorted text (the solution is called peoplesign). I have the custom plugin installed and I have the custom image captcha solution appearing on the registration form as I would expect.  I edited the user/registration.php file from Hikashop -&gt; Display-&gt; Views-&gt; and added the code below, just above the &quot;Register&quot; button:  triggerEvent('showPeoplesignAtCustomLocation', array('myCustomLocation1','customizationString')); ?&gt;  I have been told that I need to add the code below to the script that processes the form, by placing the code at the beginning of the controller.php file (or the file that controls the form)  $status = JFactory::getApplication()-&gt;triggerEvent( 'checkPeoplesignFromCustomLocation', array('myCustomLocation1')); if (!$status&#91;0&#93;){ JFactory::getApplication()-&gt;redirect(); }  What file controls the HikaShop user registration form. I just need to know where to add the code that's all.  Thanks")*

Thanks Nicolas,

It worked perfectly ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgyMzExLXdoZXJlLWlzLWNvbnRyb2xsZXItcGhwLWZvci1oaWthc2hvcC1yZWdpc3RyYXRpb24/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.107 seconds

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

[](#top)
