Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-13-2009, 05:44 PM
NatalieMarie87 NatalieMarie87 is offline
 
Join Date: Mar 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Adding an extra nav menu

My site is comeboca.com and my forum is comeboca.com/forums.....does anyone know how I can add the same nav menu i have on my website to my forums page, I would like to add it in the same location as in the website, directly under the header. and this is in order to provide links to the rest of my site, and also to match the vbulletin style as closely as possible to the rest of the website.
Reply With Quote
  #2  
Old 03-13-2009, 06:28 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This article may help - [How-To] vBulletin API Basics: Creating Custom Pages & Misc.
Reply With Quote
  #3  
Old 03-14-2009, 04:41 PM
NatalieMarie87 NatalieMarie87 is offline
 
Join Date: Mar 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im not sure if i understand it right, but i dont think i want to start over and make a new template, i just want to add the nav bar, what if i have the code of the nav bar, can't i just place the code somewhere?
Reply With Quote
  #4  
Old 03-14-2009, 07:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may go to the page source and copy it and paste it into your page. But, if you do it that way, you won't be using any of the conditions that are present in the vbulletin navbar.
Reply With Quote
  #5  
Old 03-15-2009, 10:18 AM
NatalieMarie87 NatalieMarie87 is offline
 
Join Date: Mar 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok what i did was add a second nav bar copy of the one i had, right under the header, now all I need to do is get the nav bar to fill the entire page space, like on the other pages of my website...any ideas on how I can do that?
Reply With Quote
  #6  
Old 03-15-2009, 03:02 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you also copy the css for the navbar? If you don't have many links in the navbar, then it doesn't really fill up nicely and you may have to actually give the columns sizes and center them or something like that.
Reply With Quote
  #7  
Old 03-15-2009, 06:59 PM
NatalieMarie87 NatalieMarie87 is offline
 
Join Date: Mar 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i want the nav bar to be the same width as the header which is 998 px, so i changed the width to that measurement, however when i do that, the whole nav bar moves completely out of space to the right, this is the code i have as of right now:
PHP Code:
<!-- second nav button row -->
<
div align="center">
    <
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="http://www.comeboca.com">Portada</a></td>
<
td class="vbmenu_control"><a href="http://www.comeboca.com/forms">Comunidad ComeBoca</a></td>
<
td class="vbmenu_control"><a href="http://www.comeboca.com/contacto">Contacto</a></td>
<
td class="vbmenu_control"><a href="http://www.comeboca.com/mapa-del-sitio">Mapa del Sitio</a></td>
    </
tr>
    
</
table>
<!-- /
second nav button row -->

</
table
This code is in styles manager>>common templates>> header... I dont know how to add column sizes..what i did was copy this code from a thread i saw about how to add a second nav, but instead of putting it under the code of the original nav menu, i pasted the code in the header and it worked almost perfectly, except i dont know how to increase the width correctly in order to match that of the header image. So maybe you can tell me what I can do with this code in order to fix the width..
Reply With Quote
  #8  
Old 03-15-2009, 08:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have a <div align="center"> before the table, but no </div> after the table. Instead, you seem to have an extra </table> after the table. Did you add that or ??
Reply With Quote
  #9  
Old 03-15-2009, 10:42 PM
NatalieMarie87 NatalieMarie87 is offline
 
Join Date: Mar 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i took the </table> out and added <br /> twice instead, worked!
Reply With Quote
Reply


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 03:26 AM.


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.04041 seconds
  • Memory Usage 2,246KB
  • 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
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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