Add user Frontend V1.3.5 released

Blog - Announcements
Written by Kim Pittoors   
Friday, 09 November 2012 23:26

Add user frontendToday I released Add user frontend V1.3.5.  Add user frontend  is a Joomla component which makes it possible to add users to Joomla from the frontend.

New in version 1.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:
components/com_adduserfrontend/views/adduserfrontend/tmpl/default.php

2. Search this:
onAfterStoreUser 
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:
http://www.joomlacy.com/en/downloads/components/add-user-frontend/details.html


Last Updated on Friday, 09 November 2012 23:48
 
Joomlacy - Joomla Expert - Joomla Specialist - Joomla Extensions
   
Copyright © 2005 - 2014 - Kim Pittoors - Sitemap