Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
ٍStatic (Fixed) Header and Footer Details »»
ٍStatic (Fixed) Header and Footer
Version: 1.00, by abdobasha2004 abdobasha2004 is offline
Developer Last Online: Sep 2019 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.7.x Rating:
Released: 11-13-2008 Last Update: Never Installs: 13
Template Edits
Re-useable Code Translations  
No support by the author.

Features :
Do you want your header and footer be static and do not change while user browsing your forum, try this simple code
Code :
Code:
<div style=" overflow: auto; ">

Any part you want to be static

</div>

update by WNxWakko
Quote:
IE works flawless. FireFox however doesn't like it so much and may be the reason some say it doesn't work. They are using Firefox.

Another issue I found was that i used this surrounding a table in my header and in Firefox is distorted my header. So i get performance boost in IE and not in FF with a bug in FF that prevents me from using this.

So I put this as a fix and wanted to share with others if they experienced Firefox bugs because it resolved my issue.

Code:

<!--[if IE]>
<div style=" overflow: auto; "><![endif]-->
Your header or footer
<!--[if IE]></div><![endif]-->

Even though FF users wont get the benefit directly, the load reduction on the server from IE users will spread the wealth to FF users.

change " Any part you want to be static" with your header of footer code
also could be applied to any template to be static while browsing

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 11-15-2008, 08:05 PM
n95gps n95gps is offline
 
Join Date: Aug 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can not explain??!!!

how come

why does it say supported on TOP??
Reply With Quote
  #13  
Old 11-16-2008, 08:51 AM
PremierFootball PremierFootball is offline
 
Join Date: Nov 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by n95gps View Post
you can not explain??!!!

how come

why does it say supported on TOP??

Just because it says 'supported' that does not mean he can answer everything.
Reply With Quote
  #14  
Old 11-16-2008, 03:20 PM
n95gps n95gps is offline
 
Join Date: Aug 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PremierFootball View Post
Just because it says 'supported' that does not mean he can answer everything.
doesn't mean he can answer everything ????

hmm

looking at the thread there is only one question

and he said he will not help..


i can put here any code and if it doesnt work i will be like i am not going to help anyone here

we need good threads that can be supported not something that only works once!!!
Reply With Quote
  #15  
Old 11-16-2008, 03:33 PM
gothicuser's Avatar
gothicuser gothicuser is offline
 
Join Date: Apr 2004
Location: Kernow, Nr. UK
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gotta admit that having implemented it on three of my forums all I have had are good reports from my punters.
Seems to work perfectly for FF and IE*

Great stuff, thankyou
Reply With Quote
  #16  
Old 11-17-2008, 12:18 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it is very obvious some worked well with them
others did not
others who did not plz try modification done by WNxWakko
And thank you very much WNxWakko
Reply With Quote
  #17  
Old 11-20-2008, 06:10 AM
myown myown is offline
 
Join Date: Jan 2007
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will be looking into this mod.
Reply With Quote
  #18  
Old 11-20-2008, 12:16 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Seems to really increase load times for me. One question tho. Do we use BOTH codes? When I say, both, I mean WNxWakko's and abdobasha2004's? Or we do just use one.

I don't see much difference between the two anyhow.
Reply With Quote
  #19  
Old 11-20-2008, 12:36 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kihon Kata View Post
Installed. Seems to really increase load times for me. One question tho. Do we use BOTH codes? When I say, both, I mean WNxWakko's and abdobasha2004's? Or we do just use one.

I don't see much difference between the two anyhow.


The code bit that I presented should only be used if you have issues in browsers other than IE. In my case, my forum header is a liquid table with some fixed cells and each cell has a flash file. So in FireFox, it has some strange behavior. Adding my code made this work only for IE users since FF users would have issues. In my case using this mod reduced the load for 50% of my traffic which is better than none at all.

Great mod.
Reply With Quote
  #20  
Old 11-20-2008, 01:22 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine is also a Liquid table (100%). I have installed both codes, one at a time, and don't see any difference on FF or IE between the two. I do see a noticable difference using this mod, tho.

Can you look here and let me know which one to use?

Quote:
Originally Posted by WNxWakko View Post
The code bit that I presented should only be used if you have issues in browsers other than IE. In my case, my forum header is a liquid table with some fixed cells and each cell has a flash file. So in FireFox, it has some strange behavior. Adding my code made this work only for IE users since FF users would have issues. In my case using this mod reduced the load for 50% of my traffic which is better than none at all.

Great mod.
Reply With Quote
  #21  
Old 11-20-2008, 01:53 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another Question: How would I implement this into NON vb pages? I tried to set it up just like I did on VB Pages, but it's not working the same. Do I have to add a special part into the css using the overflow style?
Reply With Quote
Reply

Thread Tools

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 11:10 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.07771 seconds
  • Memory Usage 2,303KB
  • Queries Executed 26 (?)
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)bbcode_code
  • (5)bbcode_quote
  • (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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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