The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Your Notifications: 1 - Like XenForo?
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 [DATE]1364844067[/DATE] at [TIME]1364844067[/TIME] --------------- OK, done it myself. In case anyone else wants it: In the "navbar" template find: Code:
<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> Code:
<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> |
2 благодарности(ей) от: | ||
Brandon Sheley, CoffeeLovesYou |
#2
|
||||
|
||||
That's good, but not perfect Let me give it a try.
|
#3
|
|||
|
|||
You can add border-radius: 3px; to the red div for rounded corners. Updated original post.
|
#4
|
||||
|
||||
Could you add a screenshot of before and after?
|
#5
|
|||
|
|||
Can't do before any more as I've got this running, but I can do after:
|
#6
|
||||
|
||||
nice, thanks
|
Благодарность от: | ||
Gladius2007 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|