vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Question about the Nav bar (https://vborg.vbsupport.ru/showthread.php?t=76724)

gemmagy 02-21-2005 12:44 AM

Question about the Nav bar
 
How do I add my site rules to the Nav Bar. I would like to do the same thing this site has on it's Nav Bar.

gemmagy

Adrian Schneider 02-21-2005 12:50 AM

Add a link to the site rules page into the 'navbar' template, which is under Navigation & Breadcrumb templates (something along those lines).

neocorteqz 02-21-2005 03:21 AM

in the navbar template located in

Styles & Templates > <Style> > Navigation & Breadcrumb Templates > Navbar

Where <style> = the style you'd like the code in,if you have multiple styles, you'll need to add it to each unless they are a childstyle.

If your site rules are a thread, then You'll have to link to the thread. But basically it would look like this
HTML Code:

<td class="vbmenu_control><a href=$vboptions[bburl]/showthread.php?t=xxxx">SiteRules</a></td>
Add that anywhere you'd like. Or instead of "Site Rules" you can create a custom phrase and use $vbphrase[phrasename].

If your site rules are on a separate page, just replace the web address andhard code the addy instead of $vboption[bburl] or just use "/showthread.php"

You don't really need the $vboptions[bburl] but i usually add it anyways. That's just me.


All times are GMT. The time now is 03:05 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.00915 seconds
  • Memory Usage 1,709KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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