vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Please help me with my navbar! (https://vborg.vbsupport.ru/showthread.php?t=134880)

twells22 12-27-2006 12:25 PM

Please help me with my navbar!
 
I have been searching on how to and trying to edit my navbar but I'm having no success. Can someone please tell me exactly what to edit to change what appears on my navbar and how to link them?

Thank you.

paul41598 12-27-2006 12:34 PM

template: navbar

twells22 12-27-2006 12:44 PM

Thank you, but yes I know where it is. I need to know exactly what lines of the code I should change? Sorry if I didn't explain myself.

paul41598 12-27-2006 12:54 PM

Quote:

Originally Posted by twells22 (Post 1145775)
Thank you, but yes I know where it is. I need to know exactly what lines of the code I should change? Sorry if I didn't explain myself.

Depends on what your changing dude. What links are you trying to take out, or add?

pcalloway 12-27-2006 01:31 PM

I was interested in leaving the Navbar intact but adding a second Navbar for more options.

So I edited my navbar template and added the following;

Search for: <!-- / nav buttons bar -->

Insert the following:

Code:

<!--  nav2 buttons bar -->
 <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
 <tr align="center">
        <td class="vbmenu_control"><a href="<A href="http://www.yoururl.com/">Home</a></td">http://www.yoururl.com/">Home</a></td>
 <td class="vbmenu_control"><a href="<A href="http://www.yoururl.com/forum/">Forums</a></td">http://www.yoururl.com/forum/">Forums</a></td>
        <td class="vbmenu_control"><a href="<A href="http://www.yoururl.com/forum/forumdisplay.php?f=35">Bully Buy</a></td>
        <td class="vbmenu_control"><a href="<A href="http://www.yoururl.com/links">Approved">http://www.yoururl.com/links">Approved Vendors</a></td>
</tr>
 </table>
<!-- / nav2 buttons bar -->

You can see a demo of the second navbar here. Hope that is helpful.

twells22 12-27-2006 07:45 PM

Can you tell me exactly where you put that code pcalloway? Like after what and before what. Thanks

pcalloway 12-28-2006 03:33 AM

Quote:

Originally Posted by twells22 (Post 1145968)
Can you tell me exactly where you put that code pcalloway? Like after what and before what. Thanks

Search for "<!-- / nav buttons bar -->" in your template: navbar and stick that code in right after that but before:

Code:

<br />
<if condition="$show['forumdesc']">


twells22 12-28-2006 03:58 AM

Thanks


All times are GMT. The time now is 03:25 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.01019 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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