I'm trying to figure out how to modify an existing plugin to do what I need it to do -- just need to change the triggering event.
These user management event functions (existing and what I need to change it to) have different parameters. Specifically:
Used Now: function onBeforeUserRegistration (&$row, &$rowExtras, false)
Needed: function onAfterUserConfirm ($userObject, true)
I've already looked through the Plugin Framework API document, and also reviewed the contents of several of the com_profiler component.
Where do I find a description of what fields
$userObject contains? It might also be nice to see the definition for
$row &
$rowExtras also, although I can likely figure this out from the old plugin's code.
I will also need to access many of the fields in the user's profile. Can you provide a tip on how to quickly access this information? Will it be obvious once I see the fields in $userObject, or is there some function to call that will load all these values?
Your help is appreciated.
G