Log in

View Full Version : How to remove notifications?


SauravG
02-02-2009, 08:07 PM
I want to do it so it displays:

Welcome, Saurav.
You last visited: Today at 08:16 PM
Private Messages: Unread 0, Total 3330.

instead of:

Welcome, Saurav.
You last visited: Today at 08:16 PM
You currently have 2 notifications

for all new users.

Is that possible?

Thanks.

glennybee
02-02-2009, 10:11 PM
Hi Saurav,

You can remove this code from the navbar template:

<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>
<if condition="$show['popups']">
<script type="text/javascript"> vBmenu.register("notifications"); </script>
<else />
<script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications"); </script>
</if>

SauravG
02-03-2009, 10:26 AM
Didnt work. That just displays

Welcome, Saurav.
You last visited: Today at 11:47 AM

Edit: Nvm, worked out a way :) Thanks for the help though :)

glennybee
02-03-2009, 06:57 PM
Why not share it your findings with everyone else?

We're all here to share, help and learn!