Gladius2007
04-01-2013, 04:41 PM
When you get a new notification in vBulletin, it's not very visible. XenForo does this much more visibly, with the number of new notifications in white text in a red square with rounded corners.
Is there a mod out there that changes the vB notifications to look like that?
If not, where can I edit the "Your Notifications: 1" block to put the number in a more visible red square?
--------------- Added 1364844067 at 1364844067 ---------------
OK, done it myself. In case anyone else wants it:
In the "navbar" template find:
<if condition="$show['notifications']">
<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
replace it with:
<if condition="$show['notifications']">
<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <div style="background-color: red; display:inline; border-radius: 3px;"><span style="color: white;"><strong> $notifications_total </strong></span></div></span></div>
And you're done.
Is there a mod out there that changes the vB notifications to look like that?
If not, where can I edit the "Your Notifications: 1" block to put the number in a more visible red square?
--------------- Added 1364844067 at 1364844067 ---------------
OK, done it myself. In case anyone else wants it:
In the "navbar" template find:
<if condition="$show['notifications']">
<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
replace it with:
<if condition="$show['notifications']">
<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <div style="background-color: red; display:inline; border-radius: 3px;"><span style="color: white;"><strong> $notifications_total </strong></span></div></span></div>
And you're done.