vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Navbar Images (https://vborg.vbsupport.ru/showthread.php?t=192499)

douffle 10-02-2008 03:06 PM

Navbar Images
 
I have Googled all over the place, searched vBulletin.org, as well as many other vBulletin related sites and I cannot find any tips on how to replace the text links in the vBulletin Navbar with images.

Does anyone know how to do this? I believe it requires editing the Navbar template at the <!-- nav buttons bar --> . <!-- /nav buttons bar --> location but I don't know how this is done.

I tried simply replacing this:

<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>

with this:

<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">img src="images/myimage.gif"</a></td>

but that didn't work. :confused:

I then tried using <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">url('images/myimage.gif')</a></td>

but that doesn't work either. :mad:

Can anyone explain how to do this?

Thanks

Cip 10-02-2008 03:28 PM

This one is almost right:
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">img src="images/myimage.gif"</a></td>

I think what your problem is might be caused by the lack of tags. (I have no idea if this is the proper term, heh.) Try changing the red text into:
<img src="images/myimage.gif">

Lynne 10-02-2008 03:54 PM

Cip is correct. You weren't using a proper image tag. Make sure your image path is correct. The correct line, using Cip's image tag, would be:
HTML Code:

<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]"><img src="images/myimage.gif"></a></td>

douffle 10-02-2008 08:18 PM

:)
Quote:

Originally Posted by Cip (Post 1635700)
This one is almost right:
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">img src="images/myimage.gif"</a></td>

I think what your problem is might be caused by the lack of tags. (I have no idea if this is the proper term, heh.) Try changing the red text into:
<img src="images/myimage.gif">

Yes, You are correct. A stupid mistake to say the least! Thank you very much for your help.

I now have just one problem withthe navbar,... I have replaced all of the text links with images but I want to get rid of those two little 'down arrows' next to the "Search" and "Quick Links" buttons. Can you tell me what part of the template code controls these?

Thanks, I really do appreciate your help. :)

Lynne 10-02-2008 08:43 PM

search "arrows" "titles only" and you get this - Removing arrows from dropdown menu links

douffle 10-02-2008 10:55 PM

Quote:

Originally Posted by Lynne (Post 1635988)
search "arrows" "titles only" and you get this - Removing arrows from dropdown menu links

Excellent! Thank you very much Lynne. :D :up:


All times are GMT. The time now is 02:32 AM.

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.01010 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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