Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Left Column for Side Menu Links/ Nav Bar on every page Details »»
Left Column for Side Menu Links/ Nav Bar on every page
Version: , by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-10-2002 Last Update: Never Installs: 0
 
No support by the author.

I'm sure this has been posted here before, but since Boofo wanted to know how to put a left column menu on every page using a template mod, I thought I would post it here in case anyone else is interested too.

It's fairly simple - just adding some code to your "header" and "footer" templates using basic HTML.



In your "header" template -

ADD this code at the BOTTOM of the template:

Code:
<table cellspacing="0" cellpadding="0" border="0" align="left" width="150"> 
<tr><td> 

PUT YOUR MENU LINKS HERE.

</td></tr></table> 
<table cellspacing="0" cellpadding="0" border="0" width="100%"> 
<tr><td>

In your "footer" template -

ADD this code at the TOP of the template:

Code:
</td></tr></table>


There you have it - a left column side menu nav bar on every page!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-10-2002, 08:37 AM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works well - but thing is it makes a big gap at other side of your board as well

how can you have this side menu yet make board use up all the remaining space???????

Cheers for info in first place m8
Reply With Quote
  #3  
Old 08-10-2002, 09:11 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just use the new "header" template code in the first post - I added width="100%" to the SECOND table in the "header" template which should make the main forum table fill up the whole page.

Feel free to adjust the width of the table for the side menu and the main forum table.
Reply With Quote
  #4  
Old 08-10-2002, 11:51 AM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well done m8 works well just gotta suzz out now how to get the side menu from VBINDEX in there now as everytime i call it in it messes the main page up beyond belief
Reply With Quote
  #5  
Old 08-10-2002, 05:30 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well heres the template edit I'll get the file and integration edit done now
Reply With Quote
  #6  
Old 02-23-2003, 02:31 PM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This gets real funky when viewing a thread.
When posts extend past the menu, they extend all the way to the lefct. Is there any fix for this?
Reply With Quote
  #7  
Old 03-09-2003, 07:03 PM
dawn dawn is offline
 
Join Date: Feb 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for this stupid question, BUT I cant fix it, I dont see where to add the width="100"

Also, how to make all the pages adjustable when I minimized the screen.

does anybody knows the values for:
- Main Table Width
- Content table Width?
Reply With Quote
  #8  
Old 03-10-2003, 09:09 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One of these were released at vBT too, but it had lots of pre-coded vB related links.

Nice work Erwin!
Reply With Quote
  #9  
Old 03-10-2003, 04:15 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check the template faq in my sig on details on how to do this a different way

Regards

- miSt
Reply With Quote
  #10  
Old 03-11-2003, 06:55 PM
dawn dawn is offline
 
Join Date: Feb 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks

one more thing, any idea of how to have 3 columns rather than 2 in all the forum pages.

I've found one hack but is not working in all the pages, the problem is when u go deep to the message itself, it's a mess.

Im using vb 2.3

thanks
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 07:34 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.04365 seconds
  • Memory Usage 2,304KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete