Little bit of vBulletin help?

Locked
o'dium
Posts: 11712
Joined: Sun Mar 25, 2001 8:00 am

Little bit of vBulletin help?

Post by o'dium »

I'm just doing new icons as a test on the Blur forum, and i noticed that the icons up top (search, home, etc) all have a space inbetween each picture.

Anyway i can remove this, as its not what i'm after?

Image
glossy
Posts: 2282
Joined: Tue Apr 30, 2002 7:00 am

Post by glossy »

not a specific vbulletin issue, it's HTML.

make sure there are NO linebreaks or whitespace between the individual img tags.
o'dium
Posts: 11712
Joined: Sun Mar 25, 2001 8:00 am

Post by o'dium »

Duh, why didn't i think of that to begin with, obvious now... Thanks, fixed ;)
glossy
Posts: 2282
Joined: Tue Apr 30, 2002 7:00 am

Post by glossy »

:)
o'dium
Posts: 11712
Joined: Sun Mar 25, 2001 8:00 am

Post by o'dium »

One last thing though, any idea how to tell your browser which images to store? It re-loads each of the pics every time i refresh or go to a new page, and it gets a tad annoying. The logo in the top left doesn't thoug, which is odd.

Can this be controlled?
ilum0s
Posts: 84
Joined: Wed Feb 16, 2005 11:31 am

Post by ilum0s »

Yeah it can, here are a few articles on cache control etc:
http://ontosys.com/php/cache.html - Requires some PHP knowledge, but the guts of some stuff are there
http://www.badpenguin.org/docs/php-cache.html - More basic, more good nuggets of code

Basically it's the header() function that does the magic, but if you don't want to screw with vBulletin's PHP then there are some HTML options:
http://www.i18nguy.com/markup/metatags.html
http://www.wdvl.com/Internet/Cache/cache2.html - Probably the most applicable

Hope this helped
Locked