Hi,
Im using the following trigger in a custom plugin
$_PLUGINS->trigger( 'onAfterLogin', array( &$row, $loggedIn ) );
The function I have created use the $row variable to store information if certain criterias are met.
Now I want to do the same criteria testing after a user have edited their profile, thus utilising one of the other triggers, like:
$_PLUGINS->trigger( 'onAfterUserUpdate', array( &$this, &$this, $oldUserComplete ) );
or (I dont know the differences between those two? backend frontend maybe?)
$_PLUGINS->trigger( 'onAfterUpdateUser', array( &$this, &$this, $oldUserComplete ) );
my problem is that now I dont have the $row avaiable, so I cant manipulate and do $row-store();
My question is:
How can I get the $row of the viewed profile?
If I can manage to get the $row, I can use the same function or switch trigger (drop onAfterLogin in favor of onAfterUserUpdate / onAfterUpdateUser).
-K-