Bon visiblement tout fonctionne, ça été assez simple en fait, à partir du moment où t'as intégré phpBB dans tes script home made, t'as une variable globale
phpbb_container qui te permet de notifier comme dans ton contrôleur :
- Code: Tout sélectionner
$notif = array(
'photo_id' => 477,
'liker_id' => 2,
'owner_commentaire_id' => 5,
'commentaire_id' => 1272,
'reaction_type' => 'like',
);
$phpbb_container->get('notification_manager')->add_notifications('aurelienazerty.sitenotification.notification.type.photolike', $notif);