2012-08-29, 03:43 PM
2012-08-29, 07:42 PM
Open ./inc/plugins/newpoints/core/hooks.php and find:
Change it to:
It should work but please note that the newpoints_postbit is not being cached in those pages (private.php, announcements.php, newreply.php, editpost.php, and newreply.php).
$plugins->add_hook('postbit', 'newpoints_postbit', 50); // set priority to 50
Change it to:
$plugins->add_hook('postbit', 'newpoints_postbit', 50); // set priority to 50
$plugins->add_hook('postbit_prev', 'newpoints_postbit', 50);
$plugins->add_hook('postbit_pm', 'newpoints_postbit', 50);
$plugins->add_hook('postbit_announcement', 'newpoints_postbit', 50);
It should work but please note that the newpoints_postbit is not being cached in those pages (private.php, announcements.php, newreply.php, editpost.php, and newreply.php).
2012-08-30, 05:18 AM
Works perfect.