6
Yeah.. looking in /kernel/notification.php, I find this:
function triggerEvent
...
if (!isset($omit_user_id)) {
global $xoopsUser;
if (!empty($xoopsUser)) {
$omit_user_id = $xoopsUser->getVar('uid');
} else {
$omit_user_id = 0;
}
}
Guess I need to handle this in the " if (!empty($xoopsUser)) " part, or make a CASE looking at the preference set on the user/notification.
If I add a special notification event to a module, could I simply add another param to the notification, like:
$modversion['notification']['event'][n]['notify_self'] = 1;
and check for this somehow?
I guess this could set the $omit_user_id and the poster would get the notification?
Marook,
Want to go on a
Safari with me?
(Yes, it is me in that avatar..
)