vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help needed with navbar in 3.5.4 (https://vborg.vbsupport.ru/showthread.php?t=110382)

Devil Woman 03-14-2006 08:38 PM

Help needed with navbar in 3.5.4
 
I have searched for a while now for help on this and found nothing, I have even asked for help in a hack I used to use on a previous version and nothing, what it is is I wish to add more links to the navbar on VB 3.5.4 but when I go to navbar template and search for calendar its not there so now I am completly stuck, how would I add new links to the navbar in 3.5.4 any help is appreciated

Thanks

Is this possible at all on 3.5.4? I have looked everywhere for help, I have even tried everything I can think of on my test board and nothing

Would it be easier for me to use a 2nd navbar?

Thanks

Treak 03-16-2006 06:08 AM

im in the same predicament.. i want to add another link! but i dunno how!

i made a similar thread if mine gets responded to i shall tell ya!

k lady i got you some answers..

here ye are.

for yo calendar question..

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

if you wanna rename that or add another link on just do this

Just replace the calendar code (it's in my first post) with what you want.

For example: replacing it with a link to vBulletin.com:

Code:
<td class="vbmenu_control"><a href="http://www.vbulletin.com/">Official vBulletin site</a></td>

Darat 03-16-2006 07:05 AM

In your navbar template find the section that starts with:

<!-- nav buttons bar -->

Under that you will see lines like:

Code:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
Adding another one of those will add a new link to the navbar - just edit the href tag to whatever and replace the vbphrase[faq] with whatever text you want to display.

Treak 03-16-2006 07:05 AM

ha it works! tried and true!

www.lokiart.com/forums/index.php

i replaced my Calender link with my Application to be a mod link!!

hope i helped you in some way!

i aggree darat! but! some people do not know or understand vbphrase stuff..
so this might be a litle easier! i edited this up a bit.. obviously

<td class="vbmenu_control"><a href="insert the link to the page you want here">Name that will appear on the Navbar goes here!</a></td>

Devil Woman 03-16-2006 08:08 PM

Is it just me as I am not finding either, could it be because I am using different templates and not the default template?

Thanks

Edit: I have found <!-- nav buttons bar --> but all I get below it is

Quote:

<!-- / nav buttons bar -->
<br />
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>

<if condition="$show['popups']">
and in 2 templates I am using I am not able to find <!-- nav buttons bar --> or <!-- / nav buttons bar -->

Darat 03-17-2006 05:32 AM

You need to look below: <!-- nav buttons bar --> not below: <!-- / nav buttons bar -->

Rich 03-17-2006 10:44 AM

Hello,

Quote:

and in 2 templates I am using I am not able to find <!-- nav buttons bar --> or <!-- / nav buttons bar -->
Why are you looking in 2 templates? If you want to edit the navbar, open up the navbar template. (Style Manager, <<>>, Navigation / Breadcrumb Templates, navbar)

Do as stated, and search for: <!-- nav buttons bar -->

If you are searching in any template other than the "navbar" template, you won't find what we are talking about. If you have modified your navbar template in the past, you may not find what we are talking about.

Devil Woman 03-17-2006 02:15 PM

What I mean is the actual style I have looked below the <!-- nav buttons bar --> and all I get is nothing stated as above just <!-- / nav buttons bar --> below it.

I am editing the navbar template in each style and only 1 style I use can I find the <!-- nav buttons bar --> the other 2 styles I have on my board I can not find this code in the navbar

I have never modified the navbar template before as this is the only reason I need to modify my navbar template and I am not able to find what I am looking for to edit it

Nikki

miner 03-17-2006 02:52 PM

Quote:

Originally Posted by Devil Woman
What I mean is the actual style I have looked below the <!-- nav buttons bar --> and all I get is nothing stated as above just <!-- / nav buttons bar --> below it.

I am editing the navbar template in each style and only 1 style I use can I find the <!-- nav buttons bar --> the other 2 styles I have on my board I can not find this code in the navbar

I have never modified the navbar template before as this is the only reason I need to modify my navbar template and I am not able to find what I am looking for to edit it

Nikki

it differs in various styles you use, some designs are cutomised with the nav links in the header, so post your site links so we could help you out...

Devil Woman 03-17-2006 04:18 PM

My site is at www.darksidemedia.biz/forums

Cheers


All times are GMT. The time now is 03:16 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.01523 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete