We have a new logo, courtesy of Patrice Terrier. Thanks very much, Patrice!
There is a problem with Internet Explorer (of course, there is always a problem with this browser, isn't it?), that doesn't honor the transparency of the PNG image and renders the background as gray.
Transparency is needed because the color of the forum can be changed by clicking one of the small colored bars.
New logo looks perfect,
in Firefox 2.0.0.6 it is displayed as it should, IE ... has its own way to draw it :).
Is it problem also in version 7.0 of IE ( I have 5.5, just for ftp access ) ?
Thanks,
Petr
In IE 6 it doesn't render properly.
IE7 XPSP2
All is ok here.
Very nice, but seeing how incredible you guys are, I would like to see those gears turn :)
Looks very nice, I use firefox.
Patrice did all of my PlanetSquires art work. That guy has talent!
No doubt, but I'd prefer a sollution as transparent ".gif" which renders on IE 6 also.
This is how it looks in firefox which it is working fine in.
Theo
Time is changing, we are not anymore on compuserve (GIF)
Do yourself a favor, upgrade to IE7 (the current standard), it is free, it is much better than 6 and it handles PNG just fine and even better than FireFox (resizing with antialising) ;D
As an alternative, you can choose another theme.
Click "Profile", then "Modify Profile-->Look and Layout Preferences". In the profile dialog, you will see "Current Theme: Forum or Board Default (change)". Click "change" and select a theme. The one called "Cityscape" has already the template modified to show the code as you like.
Patrice's new Logo works very nicely in Konqueror which is part of the KDE desktop suite, used in many Linux distributions. - my favourite browser at present.
>Do yourself a favor, upgrade to IE7 (the current standard),
Actuall I am still developing under W2k.
Besides I am using my IE6 Buttonbar (http://www.winrobots.de/shtmls/quicksurfer.shtml)
which only works on IE 6. Because it give me a lot of advantages I do not want to switch to IE 7 actually.
As you can see here, 37% of all surfers still have the IE 6 (http://www.w3schools.com/browsers/browsers_stats.asp).
Therefore the point is not me, but a professional designed web-site should be designed to work for all types of browsers.
Quote
Therefore the point is not me, but a professional designed web-site should be designed to work for all types of browsers.
You should tell it to Microsoft :) Try to use msdn2 with a browser other than IE.
QuoteActuall I am still developing under W2k.
Ok, then I see why you love so much PowerBASIC ;)
Note: I did this logo as a way to say thank you to José for all his hardwork,
but it is not a problem for me if, he or you, restore the previous one.
And whatever choice is yours, I will still contribute there :-*
Gruss aus frankreich
Be sure that I wont tell Jose how he should design his forum.
What I say is just my opinion as It-Consultant.
The Logo is definitely nice, its not a design question, but a usability problem,
if you rule out more then 2% of possible users.
My idea was to use the same (or slightly adapted) Logo as ".gif" as izt seems that transparent .gif's are more compatible.
Problem solved. IE6 users will see the old logo and the others the new logo.
I have modified the index template from
if(!($settings['logo_not_show']))
{
if (empty($settings['header_logo_url']))
echo '
<a href="', $scripturl, '"><img src="', $settings['images_url'] . '/'. $settings['theme_main_color'], '/logo.jpg" style="margin: 0px;" alt="', $context['forum_name'], '" title="', $context['forum_name'], '"/></a>';
else
echo '
<a href="', $scripturl, '"><img src="', $settings['header_logo_url'], '" style="margin: 0px;" alt="', $context['forum_name'], '" /></a>';
}
to
if(!($settings['logo_not_show']))
{
if (empty($settings['header_logo_url']))
echo '
<a href="', $scripturl, '"><img src="', $settings['images_url'] . '/'. $settings['theme_main_color'], '/logo.jpg" style="margin: 0px;" alt="', $context['forum_name'], '" title="', $context['forum_name'], '"/></a>';
elseif (strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE 6.0'))
echo '
<a href="', $scripturl, '"><img src="/images/forum_logo_01.gif" style="margin: 0px;" alt="', $context['forum_name'], '" /></a>';
else
echo '
<a href="', $scripturl, '"><img src="', $settings['header_logo_url'], '" style="margin: 0px;" alt="', $context['forum_name'], '" /></a>';
}
Everybody happy? :)
PS Tested with FireFox, Opera and Internet Explorer 6.0.
Is the original Logo a jpg or png? I thought jpg didn't support transparency?
Anyways nice to see how to code that sort of fix, thanks Jose!
The original logo is a transparent .gif. I did it with an icon editor, just to have something to show. Patrice's logo is a transparent .png, that can handle progressive opacity and more than 256 colors.
Jose, you are amazing again.
Now you get even a web-programmer in your spare-minutes. :-)
José
If I remember well you also speak french, don't you? ;D
Here is the solution to display correctly transparent PNG even with IE6...
Java script (http://midiwebconcept.free.fr/PNG_IE.htm)
Mais oui, but the theme is written in php, not html. Anyway, IE6 users visiting this forum will we few.
I would also favour php because the JAVA Script is disabled if the browser settings are set to safe.
PHP should work under any conditions as its server based.
Then here is a PHP solution
PNG in PHP (http://koivi.com/ie-png-transparency/)
Note: they improperly speak of PNG 24-bit, but indeed they should write PNG 32-bit.
24-bit has no room for the alpha channel, it must use full ARGB instead of RGB.
If interrested I can show you how to display full 32-bit ARGB image preserving the alpha channel.
Don't force me to do many changes. The template isn't mine and with every version of the forum software I have to install a new version of it and redo the changes, and I have no idea of php programming.
As said, actually it works perfectly.
Never change a running system ..? :-)