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
  #22  
Old 10-19-2005, 10:31 AM
weaver weaver is offline
 
Join Date: Mar 2004
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cclaerhout
Warning : don't use
Code:
*a {position:relative;}
with vbshout or it will cause a bug !


Instead, just add a style to your link

Code:
style="position:relative;"
Thanks! I had the vbshout bug you mentioned.
Reply With Quote
  #23  
Old 11-03-2005, 03:07 PM
leokoudo leokoudo is offline
 
Join Date: Sep 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do I hook this plugin?
Reply With Quote
  #24  
Old 12-18-2005, 09:42 AM
voidet voidet is offline
 
Join Date: Oct 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey hey,

I am having problems with using this hack.
I am running 3.5.2 and when installed non of my PNG images show up at all.

I have uploaded spacer, installed the plugin, added the link mod, and changed the width and height of my image, but still the image doesnt show up

What am i doing wrong :'(
Reply With Quote
  #25  
Old 12-18-2005, 06:39 PM
board.trash board.trash is offline
 
Join Date: Aug 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by voidet
Hey hey,

I am having problems with using this hack.
I am running 3.5.2 and when installed non of my PNG images show up at all.

I have uploaded spacer, installed the plugin, added the link mod, and changed the width and height of my image, but still the image doesnt show up

What am i doing wrong :'(
same problem here :disappointed:
Reply With Quote
  #26  
Old 12-30-2005, 03:57 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cclaerhout
Warning : don't use
Code:
*a {position:relative;}
with vbshout or it will cause a bug !


Instead, just add a style to your link

Code:
style="position:relative;"
What do you mean by "add a style to your link"?
Reply With Quote
  #27  
Old 01-07-2006, 10:37 PM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NEVERMIND
Reply With Quote
  #28  
Old 01-10-2006, 04:53 AM
MillerLight MillerLight is offline
 
Join Date: Jul 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone explain how to import this correctly?
Reply With Quote
  #29  
Old 01-10-2006, 09:18 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To 350Chevy :
A simple example :
Code:
<td class="tcat" width="100%" style="background-image: url('styles/lesatirique/cats/menumilieu.png');height:46px;"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]" style="position:relative;">$forum[title]</a></td>
You have a background image on a cell of a table. And into that cell you have text linked to an URL. The hack is going to put the picture above the link. To avoid this, just apply a CSS to the link : style="position:relative;"

To voidet and board.trash :
It should work. Check if the path to spacer.png file is correct.

In most of cases, you don't have to specify width and height BUT you have to use relative links. I explain :
Go to the Style Manager, choose your style and click on "GO" (All style options). Your Image Paths must also be written with relative URLs :
"/forum/directory1/directory12/butons"
AND not :
"http://www.somethingforvb.com/forum/directory1/directory12/butons"

Do the same thing into your templates. It should work.

Now if some images don't display don't use for them relative links and don't forget to specify height and width.
Exemple :
Code:
<img src="http://www.somethingforvb.com/forum/directory1/directory12/picture.png" height="46" width="22" alt=""/>
To leokoudo :
... go to your Plugin Manager and "Add New Plugin". That's all. Of course, don't forget to edit your xml file.
Reply With Quote
  #30  
Old 01-10-2006, 09:20 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Script update
Reply With Quote
  #31  
Old 01-16-2006, 06:03 PM
BaselineAce BaselineAce is offline
 
Join Date: Oct 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am currently using the JS hack, which many users find too slow.

I have yet to get a straight answer as to the effect this has on the server load. I'd imagine that it's not pretty...
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 10:35 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.06152 seconds
  • Memory Usage 2,311KB
  • 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
  • (7)bbcode_code
  • (3)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
  • (4)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