Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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

Version: 3.5.0 Rating:
Released: 08-01-2005 Last Update: 01-09-2006 Installs: 70
 
No support by the author.

Purpose
Kill the grey backdrop of transparency PNG images in Internet Explorer 6 (server-side solution)
Thanks to Natch (https://vborg.vbsupport.ru/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 :
Code:
$img_path='http://www.websitedirectory.com/forumdirectory/images/'
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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-27-2006, 11:17 PM
tm3500 tm3500 is offline
 
Join Date: Aug 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I install this the images disappear completely:

http://www.sierraleone.com/pngprob.jpg

Any idea what I'm doing wrong?
Reply With Quote
  #33  
Old 02-07-2006, 02:17 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tm3500
When I install this the images disappear completely:

http://www.sierraleone.com/pngprob.jpg

Any idea what I'm doing wrong?
You have to precise the size (width and height) of the reply button. That's all.
Reply With Quote
  #34  
Old 02-11-2006, 01:47 PM
Lucas Lucas is offline
 
Join Date: Dec 2001
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So this does not affect server load, correct? I have kind of a busy forum and don't want to lag the complete machine.

Regards.
Reply With Quote
  #35  
Old 02-17-2006, 04:26 PM
HollyRidge HollyRidge is offline
 
Join Date: Nov 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Extremely slow for pages especially when it is needed several times such as with "Png Rounded Quotes (PRQ) version 3.00 - Valid XHTML 1.0" at https://vborg.vbsupport.ru/showthread.php?t=94430 If the plugin is disabled in the plugin manager pages load normally fast. When this plugin is enabled it takes forever for pages to load.

Also to note, tried the js hack and it did not work at all. This hack did work however is extremely resource needy.

If it helps server running on is dual xeon 2.4 ghz, 1 gb ram, etc, etc. with hardly any previous load on it. The forums were also turned off with no current visitors. The reason I am adding this info is to help point out that there is a problem here with this hack.
Reply With Quote
  #36  
Old 03-28-2006, 01:35 AM
sandalwood sandalwood is offline
 
Join Date: Mar 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TygerTyger
This hack is only necessary for 24-bit PNG images by the way. 8-bit PNG images (single colour transparency) work fine in IE without a hack.
UHM, wtf is everyone ignoreing this CRITICAL comment??

solution to all your problems right there, if true. just convert your png to 8bit!!
Reply With Quote
  #37  
Old 04-06-2006, 05:23 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well in a 8 bit png picture, you will loose the alpha transparency and the result will be similar as a gif transparency picture. If the solution was such simple, developers wouldn't spend so much time to find a way to make transparency works well with IE. Any way IE7 fixes the problem.

I don't think this hack is intensive for the server, but it is for IE on YOUR computer.
Reply With Quote
  #38  
Old 04-17-2006, 01:59 PM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do I UNinstall this?

just delete the plugin?
Reply With Quote
  #39  
Old 04-21-2006, 07:49 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that's it.
Reply With Quote
  #40  
Old 06-08-2006, 07:46 PM
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Location: Poland
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance to make it work with plugin accelerator hack ?
Reply With Quote
  #41  
Old 12-01-2006, 08:31 AM
Avalon111 Avalon111 is offline
 
Join Date: Dec 2004
Location: Austria
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in vb 3.6.x this modification is causing display errors of png images.
which means that in many forums pngs are NOT displayed everytime.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:07 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.04417 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete