New and improved HF banner

Anything directly related to the web-server can be discussed here - ranging from HTML coding, to the messageboard itself, etc.

Moderators: EatMoreLead, Suck.

User avatar
K2
Administrator
Posts: 7114
Joined: Sep 14th, 2002 at 6:33 am

New and improved HF banner

Postby K2 » Mar 30th, 2005 at 9:13 pm

So ah... whatcha think?

PickleJar is the author FYI, and I think he did a damn fine job too. It still needs a bit more tweaking imo but it's damn near perfect.

FYI - the regs in that banner, from left to right, are EML, sX, spudboy, PUPPY and myself ;)

Post!

User avatar
Maverick
Elite Member
Posts: 1944
Joined: Sep 14th, 2002 at 1:33 pm

Postby Maverick » Mar 30th, 2005 at 9:31 pm

Secksiest banner ever!

Time to wack off to it. :oops:
"All that is necessary for the triumph of evil is that good men do nothing..."
-Edmund Burke


Image

User avatar
pyrox420
Elite Member
Posts: 1147
Joined: Nov 4th, 2004 at 5:42 pm

Postby pyrox420 » Mar 30th, 2005 at 10:01 pm

Doesn't show up in firefox.

User avatar
K2
Administrator
Posts: 7114
Joined: Sep 14th, 2002 at 6:33 am

Postby K2 » Mar 30th, 2005 at 10:17 pm

Rgr I was just about to say... the way we're able to get the .png to show up transparently via IE is due to using an MS script found here - http://support.microsoft.com/default.as ... us;Q294714

I know that firefox has native support for transparent .png files, as will IE 7 when it's made available.

If any of you web guru's out there know how I can make the site FF friendly as well as staying IE friendly, that'd be great.

User avatar
Nad
Moderator
Posts: 2481
Joined: Sep 15th, 2002 at 8:15 am

Postby Nad » Mar 30th, 2005 at 10:37 pm

ok, if its not FF friendly, and its not IE friendly, wtf IS it friendly to?
Hardfought Forum/Game Server Admin and all around board troll
Image

User avatar
b0ba
Senior Member
Posts: 363
Joined: Sep 15th, 2002 at 10:17 am

Postby b0ba » Mar 30th, 2005 at 10:38 pm

what about all the little people???

User avatar
Nad
Moderator
Posts: 2481
Joined: Sep 15th, 2002 at 8:15 am

Postby Nad » Mar 30th, 2005 at 10:47 pm

nerf, needs more of us in it. leaving old schoolers out != cool.
Hardfought Forum/Game Server Admin and all around board troll
Image

User avatar
pyrox420
Elite Member
Posts: 1147
Joined: Nov 4th, 2004 at 5:42 pm

Postby pyrox420 » Mar 30th, 2005 at 11:09 pm

This will work:

Code: Select all

<?php

if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') ) {    ?>

    <DIV ID="oDiv" STYLE="position:static; height:75; width:600;
        filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
        src='templates/subSilver/images/hfpng.png', sizingMethod='scale');" />
    </DIV>

<?php }else{ ?>

<img src="templates/subSilver/images/hfpng.png" width="600" height="75" border="0" alt="Hardfought.org" />

<?php } ?>

User avatar
K2
Administrator
Posts: 7114
Joined: Sep 14th, 2002 at 6:33 am

Postby K2 » Mar 30th, 2005 at 11:49 pm

Great, thx pyrox... that works for the main page, but it doesnt work for the msgboard. The over_header.php file in phpBB parses a .tpl file that has all of the html info. I ptried putting your code snippet into that and it wound up processing both .png calls at the same time ;)

Any way to get around that maybe?

User avatar
K2
Administrator
Posts: 7114
Joined: Sep 14th, 2002 at 6:33 am

Postby K2 » Mar 30th, 2005 at 11:50 pm

Nad wrote:nerf, needs more of us in it. leaving old schoolers out != cool.


I didnt want the banner to look too cluttered, otherwise you wouldnt be able to make out the actual title word.

I'll talk to pickle and see what we can do maybe.

User avatar
K2
Administrator
Posts: 7114
Joined: Sep 14th, 2002 at 6:33 am

Postby K2 » Mar 31st, 2005 at 12:40 am

Hah Nad. I talked to Pickle, he's gonna add a few more of ya to the banner. You gonna wish you had kept your mouth shut ;)

User avatar
Nad
Moderator
Posts: 2481
Joined: Sep 15th, 2002 at 8:15 am

Postby Nad » Mar 31st, 2005 at 12:57 am

great, i can only imagine which pic he is gonna put up
Hardfought Forum/Game Server Admin and all around board troll
Image

User avatar
pyrox420
Elite Member
Posts: 1147
Joined: Nov 4th, 2004 at 5:42 pm

Postby pyrox420 » Mar 31st, 2005 at 1:42 am

K2 wrote:Great, thx pyrox... that works for the main page, but it doesnt work for the msgboard. The over_header.php file in phpBB parses a .tpl file that has all of the html info. I ptried putting your code snippet into that and it wound up processing both .png calls at the same time ;)

Any way to get around that maybe?
We'll crap. :)
Here are some other thoughts that use Javascript and CSS:
http://www.alistapart.com/articles/pngopacity/
http://www.mongus.net/pngInfo/
http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html

But.... the simplest solution... use a Gif. :)

User avatar
K2
Administrator
Posts: 7114
Joined: Sep 14th, 2002 at 6:33 am

Postby K2 » Mar 31st, 2005 at 1:45 am

We tried a gif originally, and it wasnt fully transparent. You'd have to see it to understand. Everything had white jagged borders... bleh.

User avatar
rekloose-[PUPPY]
Elite Member
Posts: 4182
Joined: Sep 14th, 2002 at 11:38 pm

Postby rekloose-[PUPPY] » Mar 31st, 2005 at 8:28 am

eh, k2, it's because it wasn't anti-aliased correctly - it had nothing to do with the fact that it's a gif.

There's a reason why EVERY website uses gif's fro transparencies and not some freakish png/script fix. I would fix it but I don't have photoshop currently installed on this pc :/

-PUPPY

User avatar
Burzum
Benefactor
Posts: 4291
Joined: Oct 21st, 2004 at 1:05 pm

Postby Burzum » Mar 31st, 2005 at 8:47 am

:/ Ya i guess it's okay.

I like the pic of the secksi guy with the headset on....
Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup.

User avatar
EatMoreLead
Benefactor
Posts: 4406
Joined: Sep 17th, 2002 at 11:59 pm

Postby EatMoreLead » Mar 31st, 2005 at 10:17 am

I'd like to thank the Academy, my parents, my wife, and all the other fine actors in this production. It is such an honor to win a provie...
EatMoreLead aka EML

User avatar
pyrox420
Elite Member
Posts: 1147
Joined: Nov 4th, 2004 at 5:42 pm

Postby pyrox420 » Mar 31st, 2005 at 10:59 am

Just a transparent GIF:
Image

A transparent GIF with the transparent color being black. Nice huh? :)
Image

Oh yea, and about a 60k smaller download size.... :)

User avatar
Burzum
Benefactor
Posts: 4291
Joined: Oct 21st, 2004 at 1:05 pm

Postby Burzum » Mar 31st, 2005 at 11:59 am

OOOOooooh Oooooh! Put me in the banner!!! Image
Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup.

User avatar
DocNsane
Moderator
Posts: 863
Joined: Sep 16th, 2002 at 9:20 pm

Postby DocNsane » Mar 31st, 2005 at 12:44 pm

How about a randomly cyling banner? We had a number of good ones, and since noone can truly agree on anything, let's just have ti rotate though.

User avatar
pyrox420
Elite Member
Posts: 1147
Joined: Nov 4th, 2004 at 5:42 pm

Postby pyrox420 » Mar 31st, 2005 at 12:46 pm

DocNsane wrote:How about a randomly cyling banner? We had a number of good ones, and since noone can truly agree on anything, let's just have ti rotate though.
That would be hard to do on the forums with that teplate stuff K2 was talking about before. On the main page that would be cool.

OR... let's have a contest and have a vote. :)

User avatar
rekloose-[PUPPY]
Elite Member
Posts: 4182
Joined: Sep 14th, 2002 at 11:38 pm

Postby rekloose-[PUPPY] » Mar 31st, 2005 at 1:41 pm

ptrox, i'll take your gif version over the png one ..

-PUPPY

/load times and browser compatability ...

User avatar
Nad
Moderator
Posts: 2481
Joined: Sep 15th, 2002 at 8:15 am

Postby Nad » Mar 31st, 2005 at 1:47 pm

Doc, wait till you see the pic of you and me that they are using.
Hardfought Forum/Game Server Admin and all around board troll
Image

User avatar
Burzum
Benefactor
Posts: 4291
Joined: Oct 21st, 2004 at 1:05 pm

Postby Burzum » Mar 31st, 2005 at 2:56 pm

Cycling is a good idea. Not all that hard. Make it so!
Do not meddle in the affairs of dragons for you are crunchy and taste good with ketchup.

User avatar
Deleted User
*poof*
Posts: 7507
Joined: Jul 13th, 2006 at 3:41 am

Postby Deleted User » Apr 1st, 2005 at 4:43 pm

for the love of Bob, please... Forget about adding ANY more regs.


/me remembers that I brought the billy-bob hat to lan3. Eww.
I've been deleted!!


Return to “Web Server”

Who is online

Users browsing this forum: No registered users and 1 guest