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 -> Display-> Views-> and added the code below, just above the "Register" button:
<?php
JFactory::getApplication()->triggerEvent('showPeoplesignAtCustomLocation', array('myCustomLocation1','customizationString'));
?>
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()->triggerEvent(
'checkPeoplesignFromCustomLocation',
array('myCustomLocation1'));
if (!$status[0]){
JFactory::getApplication()->redirect();
}
What file controls the HikaShop user registration form. I just need to know where to add the code that's all.
Thanks