One click registration V1.4.0 released

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

Add user frontendToday 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:
components/com_oneclickregistration/views/oneclickregistration/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('onAfterStoreUserOcrtoK2', array($userdataexport, true, true, $this->getError()));

 

Download O.C.R 1.4.0 here:
http://www.joomlacy.com/en/downloads/components/one-click-registration/details.html

 

Last Updated on Thursday, 23 May 2013 22:13
 
Joomlacy - Joomla Expert - Joomla Specialist - Joomla Extensions
   
Copyright © 2005 - 2014 - Kim Pittoors - Sitemap