Update - v2.0.0 - see first post
Now you can add your own notes to the notification window
Example
if you use
Recent Thanks for [AJAX] Post Thank You Hack
in file krchecknotes.php find:
PHP Code:
if($vbulletin->userinfo['socgroupinvitecount'] > 0)
{
// invitations to join social groups
$totalnotes += $vbulletin->userinfo['socgroupinvitecount'];
$xml->add_tag('notifications', $vbphrase['invitations_to_join_social_groups'], array(
'link' => 'group.php?do=invitations',
'notescount' => $vbulletin->userinfo['socgroupinvitecount']
));
}
Add below:
PHP Code:
if($vbulletin->userinfo['recent_thankcnt'] > 0)
{
$totalnotes += $vbulletin->userinfo['recent_thankcnt'];
$xml->add_tag('notifications', $vbphrase['recent_thanks_newnotif'], array(
'link' => 'recent_thanks.php',
'notescount' => $vbulletin->userinfo['recent_thankcnt']
));
}
Legend:
$totalnotes - total notes received
$vbphrase['recent_thanks_newnotif'] - phrase to show in notes window
'recent_thanks.php' - link to page (recent thanks page for this case)
$vbulletin->userinfo['recent_thankcnt'] - notification count received