View Single Post
  #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
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01250 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete