vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Nav Bar Entries (https://vborg.vbsupport.ru/showthread.php?t=116284)

oninuva 05-21-2006 03:49 PM

Nav Bar Entries
 
How do i make nav bar entries? like add new things to the nav bar?

ericgtr 05-21-2006 03:55 PM

Have a look in the navbar template for references. An example would be..

Find this line (your stock calendar link):
Code:

                <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
And insert your own link after, you can also hard link too like this if you want (this will appear to the right of the Calendar link):
Code:

                <td class="vbmenu_control"><a href="www.yoursite.com/otherstuff">Other Stuff</a></td>
Hopefully that makes sense. :)

oninuva 05-21-2006 06:03 PM

yup it does thanks :D

so how do i remove?

just delete them?

Lottis 05-21-2006 06:17 PM

Quote:

Originally Posted by oninuva
yup it does thanks :D

so how do i remove?

just delete them?

You erase, what you have put in. ;)
You can see your historie, in what changes you have made, by clic "view historie" in the templates you are working with.

oninuva 05-21-2006 08:18 PM

how do i get of the quick links one?

i cant find it

how do i get rid of "quick links" is wat i mean

ericgtr 05-21-2006 09:06 PM

Please proceed with this using caution and backup your navbar template before doing it. This will remove the Quick Links menu and submenu's completely for everyone.

Find and remove:
Code:

                        <if condition="$show['member']">
                                <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>               
                        </if>

Find:
Code:

        <!-- / header quick search form -->
        </if>

Remove everything below it up to this point:
Code:

<!-- / NAVBAR POPUP MENUS -->

oninuva 05-21-2006 09:46 PM

cool thankx

that work'd

ok i added a new one in but only register'd users can see it?

how do i make it so guests see it too?

peterska2 05-21-2006 09:49 PM

make sure it doesn't have
Code:

<if condition="$show[member]">
before the code and
Code:

</if>
after it.

oninuva 05-22-2006 12:03 AM

okk thanks


All times are GMT. The time now is 01:00 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.01091 seconds
  • Memory Usage 1,725KB
  • 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
  • (7)bbcode_code_printable
  • (1)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