Quote:
I see that as saying that there will be information under notifications even if there is nothing pending. Please understand, I'm okay with it either way, just that I had that impression based on that option.
|
I've searched VBulletin code and it seems, VBulletin now hides notifications with 0 items count itself:
PHP Code:
if ($vbulletin->userinfo["$userfield"] > 0)
{
$show['notifications'] = true;
$notifications_total += $vbulletin->userinfo["$userfield"];
$notification['total'] = vb_number_format($vbulletin->userinfo["$userfield"]);
$templater = vB_Template::create('navbar_notifications_menubit');
$templater->register('notification', $notification);
$notifications_menubits .= $templater->render();
}
It seems, that I should remove that option from plugin.