Skip to Content Skip to Menu

onAfterUserRegistration plugin

  • TrexXx
  • TrexXx
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
13 years 9 months 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum