Anyone? Can anyone see a reason why that hack would fail to work? Some missing step? I tried it, but it doesn't add the notification option anywhere. Does make any noticible difference.
1. Added these in xoops_version.php
$modversion['notification']['category'][1]['name'] = 'agenda';
$modversion['notification']['category'][1]['title'] = "cat_title";
$modversion['notification']['category'][1]['description'] = "cat_desc";
$modversion['notification']['category'][1]['subscribe_from'] = array('index.php');
$modversion['notification']['event'][1]['name'] = 'add_event';
$modversion['notification']['event'][1]['category'] = 'global';
$modversion['notification']['event'][1]['title'] = "event_title";
$modversion['notification']['event'][1]['caption'] = "event_caption";
$modversion['notification']['event'][1]['description'] = "event_desc";
$modversion['notification']['event'][1]['mail_template'] = 'global_newcategory_notify';
$modversion['notification']['event'][1]['mail_subject'] = "event_mailsub";
2. Copied notification_update.php from newsbb to module/agendax directory. Also copy
modules/news/language/english/mail_template/global_newcategory_notify.tpl to
modules/agendax/language/english/mail_template/global_newcategory_notify.tpl
3. Add the line <{include file='db:system_notification_select.html'}> in modules/agendax/templates/agendax_flatview.html
4. Added lines below in modules/agendax/index.php in (case"addevent")
$notification_handler =& xoops_gethandler('notification');
$tags=array();
$notification_handler->triggerEvent('agenda', 0, 'add_event', $tags);
case "addevent":
{
$notification_handler =& xoops_gethandler('notification');
$tags=array();
$notification_handler->triggerEvent('agenda', 0, 'add_event', $tags);
<{if $block.new_messages > 0}>
<a class="highlight" href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}> (<span style="color:#ff0000; font-weight: bold;"><{$block.new_messages}></span>)</a>
<{else}>
<a href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}></a>
<{/if}>