Today I released Add user frontend V1.3.5.
- 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 A.U.F 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 you added a user 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('onAfterStoreUserAuftoK2', array($userdataexport, true, true, $this->getError()));
Download A.U.F 1.3.5 here: