onAfterUserRegistration plugin

13 years 1 month ago #157669 by TrexXx
onAfterUserRegistration plugin was created by TrexXx
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.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.150 seconds

Facebook Twitter LinkedIn