Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
[solved] onAfterAssignPoint doesn't seem to be working anymore since 4.3 ?
in librairies/userpoints.php line 91
there is a plugin trigger called onAfterAssignPoint that was working before and not anymore in 4.3
Any update on this appreciated :)
Thank you
Thank you for your prompt reply. I'm not sure of the last version having the script working, because I did not notice the issue straight away.
It seems the plugin is currectly loaded, but it's function onAfterAssignPoint is not triggered when users get points
Here is its basic structure. Let me know if anyting doesn't look correct
defined( '_JEXEC' ) or die( 'Restricted access' );
require_once JPATH_ROOT . '/components/com_community/libraries/core.php';
if(!class_exists('plgCommunityActionsafterpoints'))
{
class plgCommunityActionsafterpoints extends CApplications {
function __construct(& $subject, $config)
{
parent::__construct($subject, $config);
}
public function onAfterAssignPoint($action,$points,$userID)
{
// actions to process
return true;
}
}
}