vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to get rid of this icon? (https://vborg.vbsupport.ru/showthread.php?t=256977)

jscieza 01-12-2011 02:17 AM

How to get rid of this icon?
 
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:

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>

Replace with:

Code:

<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:

Quote:

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 from Lynne please.

She said:

Quote:

(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

Code:

.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/c...up-navbar-120/

need to find
PHP Code:

vBmenu.register("notifications"); 

and change
PHP Code:

vBmenu.register("notifications",true); 


jscieza 01-13-2011 02:20 AM

Jhonnyf's workaround is the most easier to do! Thanks Jhonnyf!


All times are GMT. The time now is 06:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01134 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete