Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Transparency PNG pictures with Internet Explorer 6 (server-side solution) Details »
Transparency PNG pictures with Internet Explorer 6 (server-side solution)
Mod Version: 1.00, by cclaerhout (Member) cclaerhout is offline
Developer Last Online: Feb 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 Rating: (0 vote - 0 average) Installs: 70
Released: 02 Aug 2005 Last Update: 10 Jan 2006 Downloads: 138
Not Supported  

Purpose
Kill the grey backdrop of transparency PNG images in Internet Explorer 6 (server-side solution)
Thanks to Natch (http://www.vbulletin.org/forum/showthread.php?t=67413) and d00d (http://koivi.com/ie-png-transparency/)

Version of Koivi's script
2.0.12

Update
10/01/2006 : detect MSIE to ignore IE7 or greater

Installation
1)Edit the xml file, update line 8 with your information :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

AND save.

2)Import xml file with Plugin Manager.

3)Copy "spacer.png" picture to vbulletin images directory.

Information
-Sometimes (it depends) you will have to specify the height and the width of the png picture, otherwise, it won't work. Don't hesitate to go to d00d website he often update his code.
- When a link is above a png background, it will not work !
Works now ! thanks to Holger Rüprich of "www.indesigns.de".
Go and see the solution here.
-With this extension, png pictures with vB collapse system don't work (under IE of course). P.S : even after having edited vbulletin_global.js

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
PNG Transparency for Internet Explorer Oblivion Knight vBulletin 3.5 Template Modifications 43 18 Sep 2009 13:54
PNG Transparency for Internet Explorer Oblivion Knight vBulletin 3.0 Template Modifications 9 08 Jul 2005 12:26
Transparent PNG pictures with Internet Explorer cclaerhout vBulletin 3.0 Full Releases 2 17 Mar 2005 09:51

Comments
  #2  
Old 02 Aug 2005, 05:56
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Fantastic. This is will come in most handy.
Reply With Quote
  #3  
Old 02 Aug 2005, 06:16
sirbutts sirbutts is offline
 
Join Date: Sep 2004
Originally Posted by theArchitect
Fantastic. This is will come in most handy.
Beware this poses a heavy load on your server...
Reply With Quote
  #4  
Old 02 Aug 2005, 06:34
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Originally Posted by sirbutts
Beware this poses a heavy load on your server...
That is not so good. Though the sites I have in mind for this use very little traffic. So it should be ok.

But I will bear your warning in mind for the larger traffic sites.
Reply With Quote
  #5  
Old 02 Aug 2005, 09:33
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Originally Posted by sirbutts
Beware this poses a heavy load on your server...
I don't see the load issue you are talking about: it's not doing any image manipulation, just text replacement using a low-intensity str_replace()...

If this is a problem, then you should also turn off BBCODE processing, as that is far more intensive than this.

Note: this code does not and never has (or will) process PNG files linked in external CSS files, only in inline CSS (either within <style type="text/css"> tags or <div style="this-style: type;">)...

HTH, and GJ cclaerhout
__________________
Natcher00
... is the Admin @ MobileForces.org - Official Community for a cult Vehicle based FPS - the only place for support!
... also he's Penfold to Dark_Wizard's Danger Mouse in development of vBWar
http://www.mobileforces.org/sig.jpg
{DaniWeb: Learn HOW-TO mod_rewrite your vB board}
Reply With Quote
  #6  
Old 02 Aug 2005, 10:14
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Hello stranger!
Reply With Quote
  #7  
Old 02 Aug 2005, 10:18
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Real name: Cédric Claerhout
Originally Posted by Natch
I don't see the load issue you are talking about: it's not doing any image manipulation, just text replacement using a low-intensity str_replace()...

If this is a problem, then you should also turn off BBCODE processing, as that is far more intensive than this.

Note: this code does not and never has (or will) process PNG files linked in external CSS files, only in inline CSS (either within <style type="text/css"> tags or <div style="this-style: type;">)...

HTH, and GJ cclaerhout
Happy to see you again Natch
Reply With Quote
  #8  
Old 02 Aug 2005, 20:55
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Real name: Cédric Claerhout
Little precision from Justin Koivisto himself :

It's another bug with MSIE where for some reason when you use the
alpha filter, it places the image on top of everything, even though it
all appears correctly.
It means if a link is above a png background, it will not work !
Reply With Quote
  #9  
Old 03 Aug 2005, 13:29
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Real name: Cédric Claerhout
Information :
With this extension, png pictures with vB collapse system don't work (under IE of course).
P.S : even after having edited vbulletin_global.js
Reply With Quote
  #10  
Old 11 Aug 2005, 11:21
Johannes de León Johannes de León is offline
 
Join Date: Dec 2004
I use pngfix, it is much easier, and works great.

You can get it here.

Then just put this in the headinclude template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #11  
Old 11 Aug 2005, 12:46
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Real name: Cédric Claerhout
Originally Posted by Johannes de León
I use pngfix, it is much easier, and works great.

You can get it here.

Then just put this in the headinclude template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I don't like this method eventhough i've suggested it here :
http://www.vbulletin.org/forum/showthread.php?t=77465

Why ?
1)It's not a sever side solution but a client side solution and i find it a lot slower on old compruters.
2)It's javascript.
3)It doesn't work with background pictures.
Reply With Quote
  #12  
Old 16 Aug 2005, 21:45
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Originally Posted by theArchitect
Fantastic. This is will come in most handy.
I installed this, and it works great. Thanks!
Reply With Quote
  #13  
Old 17 Aug 2005, 16:15
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
er...sorry for the stupid question...but I installed it...

but how do you know if its working?

:ermm:
Reply With Quote
  #14  
Old 17 Aug 2005, 17:51
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Originally Posted by GrendelKhan{TSU
er...sorry for the stupid question...but I installed it...

but how do you know if its working?

:ermm:
Use Internet Explorer for windows. Use PNGs that have gradient transparency. If there is a grey box around it, something is wrong.
Reply With Quote
  #15  
Old 17 Aug 2005, 19:53
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Real name: Cédric Claerhout
Originally Posted by GrendelKhan{TSU
er...sorry for the stupid question...but I installed it...

but how do you know if its working?

:ermm:
You just have to use a png picture inside the code of vBulletin.
Try this hack : http://www.vbulletin.org/forum/showt...ewpost&t=94430 :-)

I'm working on a png bbcode to use png (with transparency) in threads. Width and height will have to be specified.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 06:46.

Layout Options | Width: Wide Color: