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
  #22  
Old 10-27-2003, 12:29 PM
mcahill mcahill is offline
 
Join Date: Apr 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but it leaves the main forum display quite narrow. I'll play with the settings, but I didn't like the results I was getting the other day.

Probably will just hold off until 3.0 rc1
Reply With Quote
  #23  
Old 11-29-2003, 08:36 PM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this doesnt work for me. :|
Reply With Quote
  #24  
Old 12-26-2003, 02:01 AM
NSeXcellent NSeXcellent is offline
 
Join Date: Jan 2002
Location: Tampa Bay
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys, check out my sites.... http://www.sportsnimports.com or http://www.louisianaclubscene.com/ .... I have had the left tables for over a year on either site now. Here's a small tutorial on what I did, which may or may not help you.

Basically, the header is EVERYTHING that is generated BEFORE the actual forum tables are built from the scripting. All i did was opened up a new file in Microsoft FrontPage, then 'Built' if you will, the idea that I had for my layout (See screenshot). The left column on my bottom table is where all my links/banners are located. The width of this column is set to 145px or something like that. I put a divider column 10px wide after the left column. The width of the right column is set to 100%, meaning every pixel left over on the users screen. This prevents scroll bars in most cases. Here's the trick to making this work for your header/footer. I started in the top left corner of the right table and typed the word "FORUM" here. In other words, the FIRST thing that is generated in that portion of the table, is the word "FORUM" (See screen shot). From there, I inserted my custom Logo, tables, fonts, borders, colors, etc in both the top table and the bottom left table. Now, this is the easy part. View the source of what you've created. I deleted all the BS metatags that were inserted by FrontPage. I started right after the </head> tag, and copied EVERYTHING all the way up to the LAST character before the word "FORUM". Then I pasted that entire selection into my Header template. I then started with the first character AFTER the word FORUM, and copied EVERYTHING to the end of the page there into my Footer Template. Thats it! The scripting inserts all the forum information AFTER the header and BEFORE the footer. What you've done was told it to STICK all that right where the word FORUM was placed in the table. Make sense? Here is a screenshot of what mine looked like just before I cut and pasted it all into my script. Remember, this is not the html code, but a preview in frontpage:



Ignore the $strings. I use 'includes' in my header to make my life easier. Hopefully you can understand what I'm talking about here. If you have any questions, please do not hesitate to ask them here. I'll be happy to attempt to help
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:56 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.04026 seconds
  • Memory Usage 2,251KB
  • Queries Executed 21 (?)
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
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete