vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   Save bandwidth with CSS. (https://vborg.vbsupport.ru/showthread.php?t=85366)

Brad 11-17-2002 10:00 PM

Save bandwidth with CSS.
 
This modification will save you tons of bandwidth. What it dose is point all the <font> tags to one source.

Basicly This:

Code:

<font face="verdana, arial, helvetica, sans-serif" size="2">
Becomes This:

Code:

<font class="nf">
It also blocks users from using custom sized text on your forum via their broswer :).

Buddha 11-18-2002 02:09 PM

don't forget to add the large font sizes as well (if you use it).
i've got a bunch of stuff css'ed as well to save bandwidth. grabbed all of the css headerinclude and put it into it's own stylesheet along with all of my others (include the font size), and then linked it instead.
Quote:

<link href="forum.css" rel="stylesheet" type="text/css">
there's a nice long thread about it at vbulletin.com in their hints and tips.

imported_DemonZ 11-18-2002 02:54 PM

Very nice, Anime-loo.

I am currently using this already, but it's a good Mod.

Brad 11-18-2002 02:58 PM

Just to clarify, i dident make this myself. I belive it came out of the hints and tips forum at vbulletin.com.

filburt1 11-18-2002 04:09 PM

http://www.vbulletin.com/forum/showt...threadid=17943 , specifically.

I for one don't use it because I sometimes do things like <normalfont style="padding:3px"> and this would confuse the browser. :)

Tony G 11-19-2002 03:30 AM

Ahh, thats smart! Nice work. :)

Orfejs 01-30-2003 04:13 PM

At last I found it.
It's miserable, it's fu2#$@#$ that by default vb2 did not used css all over the templates, because it's such a headache without them and all the serious browser support them for years ...

imported_Someguy 02-05-2003 08:48 PM

Thanks, I for one am a 56k user, and I could immeditaly (badd speler, can't u tel?) see the difference.

Mickie D 04-08-2003 05:26 PM

anime loo you have helped me loads of times :)

thanks very much for this mod, all mods that save bandwidth are top mods :)

Tony G 04-09-2003 05:29 AM

I used this, couldn't use the smaller font which looks a bit more stylish though because it's hard for big reso's to see it.


All times are GMT. The time now is 11:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01063 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete