Hello everyone,
I don't know if it is the right place to post my question and I apologize if it's not.
I'm trying to developp a plugin for onAfterUserRegistration event but I can't make it work. Here is what I have done so far :
<?php
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.plugin.plugin');
class plgUserRegistration extends JPlugin
{
function plgUserRegistration($subject, $config)
{
parent::__construct($subject, $config);
}
function onAfterUserRegistration()
{
//Do some stuff here !
}
}
With some code instead of comments of course, but my code is never called. Do you have any idea why ?
Thank you.