Its been along time since iv done any joomla development work so a bit rusty here. I have a joomla site with a user registration page and I need to call another script or webservice after the user signs up. I want use the signup details to create a user in another program. So basically they register for joomla and also register for my other program at the same time. I would prefer that the other script is called after they verify their email address in joomla.
What is the best way to do this in an upgrade safe way? Can anybody point me in the direction of a tutorial or something that is similar.
ok I have my basic plugin set-up:
Code:
defined('_JEXEC') or die('Access Denied');
class plgUserSugarusercreator extends JPlugin {
function onUserAfterSave($user, $isnew, $success, $msg){
}
}
I guess Ill have to use the onAfterSave method but how do I determine when the user is actually activated? I dont want the function fire if its new or just on every save but only when the user is activated.