Log in

View Full Version : How to get rid of this icon?


jscieza
01-12-2011, 02:17 AM
Hi,

This is the current look of my navbar (notifications area):

http://img508.imageshack.us/img508/4309/before.gif

And this is how I want it to look:

http://img407.imageshack.us/img407/1813/aftero.gif

What's the difference? The icon https://vborg.vbsupport.ru/ shouldn't appear anymore without affecting the functionality of the drop-down menu in the notifications.

Any advice will be more than welcome.

Thank you,
Jonathan

metalguy639
01-12-2011, 03:59 AM
Login to your admin cp and find your 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 with:

<if condition="$show['notifications']">
<div><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></div>

I tested it in 3.8.6 it should work and just give you a link.

It removes the graphic but the drop down does not work after that. Its the only way to get rid of it that I see though. So you will have to decide if the drop down is important to you.

jscieza
01-12-2011, 11:37 AM
Hi,

Thanks for your input!

However as per stated in my message:

What's the difference? The icon http://img515.imageshack.us/img515/4923/iconr.gif shouldn't appear anymore without affecting the functionality of the drop-down menu in the notifications.

Thank you,
Jonathan

metalguy639
01-12-2011, 04:01 PM
The icon is part of the vb built in css and there is no way to change that unless you put the css files as files on your server and manually take that out of them. It was part of a span tag and the span tag also contained the drop down so you cannot have it both ways I'm afraid unless you edit the css.

jscieza
01-12-2011, 04:57 PM
Yes I know that this is going to require additional CSS definitions but maybe there is a easier way. Check this post (http://www.vbulletin.com/forum/showthread.php/370973-How-to-get-rid-of-this-icon?p=2100895&viewfull=1#post2100895) from Lynne please.

She said:


(I am pretty sure you just set true to false in the function call but can't remember off the top of my head.)


So how I can do that?

Thank you,
Jonathan

metalguy639
01-12-2011, 05:15 PM
I have no idea on that one sorry.

voglermc
01-12-2011, 06:24 PM
Oops! This a fix for 4.x

Put this in additional.css

.toplinks .nonotifications a.popupctrl {
background: none;
padding: 3px 3px 3px 4px;
}

.toplinks .notifications a.popupctrl:hover, .toplinks .nonotifications a.popupctrl:hover, .toplinks .nonotifications a.popupctrl.active, .toplinks .notifications a.popupctrl.active {
background: none;
padding: 3px 3px 3px 4px;
}

.popupmenu a.popupctrl {
background-image: none;
}

Jhonnyf
01-12-2011, 08:59 PM
Read this thread : http://www.vbsoporte.com/foros/f40/crear-nuevo-menu-popup-navbar-120/

need to find
vBmenu.register("notifications");and change
vBmenu.register("notifications",true);

jscieza
01-13-2011, 02:20 AM
Jhonnyf's workaround is the most easier to do! Thanks Jhonnyf!