Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 09-25-2004, 03:25 PM
Tessa Tessa is offline
 
Join Date: Sep 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default additional links in nav bar

How can I add an additional link in the navigation bar (where user cp, faq, memberlist..ect is) in my forum and vbadvanced homepage?

P.S. Complete simple and laments terms please I am still pretty new to this.
Reply With Quote
  #2  
Old 09-25-2004, 04:55 PM
Romeos Tune Romeos Tune is offline
 
Join Date: Jun 2004
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to your admin control panel, click on styles and templates. Choose which style you want to edit and then edit the template "navbar". Look for your other links and add your new link where you want it to appear.
Reply With Quote
  #3  
Old 09-25-2004, 05:28 PM
Tessa Tessa is offline
 
Join Date: Sep 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I knew it would be simple to find. Thank you!

Please excuse my extensive newbieness, but how do I input the url into the code, a simple www.website.com does not work and I know not to use http://www.website.com because it would read the / as end something.

The code being (using the FAQ as example)
<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]" accesskey="5">$vbphrase[faq]</a></td>

I`m guessing that "faq.php?$ is where I enter the url of the website I want it to link to. and [faq] is where I enter the name of the link. Right?
Reply With Quote
  #4  
Old 09-26-2004, 05:02 PM
Mr. Brian's Avatar
Mr. Brian Mr. Brian is offline
 
Join Date: Jan 2003
Location: Internet
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Navigation / Breadcrumb Templates >navbar

Find:

Code:
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
After that add:

Code:
<td class="vbmenu_control"><a href="xxx.php?$session[sessionurl]">xxx</a></td>

Replace the "xxx" with your own linking. And your done.
Reply With Quote
  #5  
Old 09-27-2004, 06:19 PM
Tessa Tessa is offline
 
Join Date: Sep 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that. It was not totally the right answer but you lead me in the right direction.
Because it was not a link preset in the vb database, I had to set it to:
<td class="vbmenu_control"><a href="xxx">yyy</a></td>

where xxx was the full URL and yyy was the name of the link to be displayed.

and removed the .php?$session[sessionurl]

Thanks again, have it exacly as I wanted it
Reply With Quote
  #6  
Old 09-28-2004, 11:20 PM
Mr. Brian's Avatar
Mr. Brian Mr. Brian is offline
 
Join Date: Jan 2003
Location: Internet
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tessa
Thanks for that. It was not totally the right answer but you lead me in the right direction.
Because it was not a link preset in the vb database, I had to set it to:
<td class="vbmenu_control"><a href="xxx">yyy</a></td>

where xxx was the full URL and yyy was the name of the link to be displayed.

and removed the .php?$session[sessionurl]

Thanks again, have it exacly as I wanted it
No problem Tessa. Ur welcome.
Reply With Quote
  #7  
Old 09-28-2004, 11:47 PM
Mr. Brian's Avatar
Mr. Brian Mr. Brian is offline
 
Join Date: Jan 2003
Location: Internet
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

l'm lost.. :ermm: -------->
Quote:
It was not totally the right answer but you lead me in the right direction.
Because it was not a link preset in the vb database, I had to set it to:
<td class="vbmenu_control"><a href="xxx">yyy</a></td>

where xxx was the full URL and yyy was the name of the link to be displayed.

and removed the .php?$session[sessionurl]


*Mr. Brian's Confused*
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04425 seconds
  • Memory Usage 2,218KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete