Today I released One click registration 1.4.0. One click registration makes it possible for users to register really fast. Just fill in a name and emailadress and click the submit button and you're logged in and ready to go! .
New in version 1.4.0:
- Fixed problem (Changed onAfterStoreUser to onUserAfterSave for J.2.5)
- Some minor bugs fixed
The onAfterStoreUser function is a function that tells Joomla that a new user has been added. So if there are any complementary actions that need to be taken, Joomla can make that happen thanks to that function. This function is needed for a lot of third party components that need synchronization.
In the previous versions of O.C.R component for Joomla 2.5 i was still using the onAfterStoreUser function. But in Joomla 2.5 this function has been renamed. So it didnt work anymore. When a user registered nothing was synchronized. So if you are using Joomla 2.5 and you use this component you need to update it.
Maybe you have made some changes yourself to the component and you dont want to overwrite those? Well you can change it manually also.
1. Open up this file in your editor:
2. Search this:
You will find this line: $dispatcher->trigger('onAfterStoreUser', array($userdataexport, true, true, $this->getError()));
3. Change it:
Change onAfterStoreUser to onUserAfterSave
So now you have: $dispatcher->trigger('onUserAfterSave', array($userdataexport, true, true, $this->getError()));
Dont edit the line:
$dispatcher->trigger('onAfterStoreUserOcrtoK2', array($userdataexport, true, true, $this->getError()));
Download O.C.R 1.4.0 here: