5
I just ran some tests, and two things:
1) it looks like in file /albums.php for "globals" in triggerEvent() the item_id should be 0, i.e.
le="color: #000000"><?php if ( $albNew ) { $notificationHandler = xoops_getHandler('notification'); // $notificationHandler->triggerEvent('global', $newAlbId, 'album_new'); $notificationHandler->triggerEvent('global', 0, 'album_new'); } else { $notificationHandler = xoops_getHandler('notification'); // $notificationHandler->triggerEvent('global', $albId, 'album_modify'); $notificationHandler->triggerEvent('global', 0, 'album_modify'); }
2) Somehow it seems that after each run (i.e. new album or modify album) the notification is being deleted, so the user never gets it, but I didn't figure yet out, why is it being deleted and where - I just saw in the database.
I might not have the time now to finish it, but hopefully this will help you to find the problem.