NOTICE: Smarty variable $eventparams is now called $params