IPBoard .PNG Transparent Images

Status
Not open for further replies.

WeeRowan

New Member
Messages
362
Reaction score
0
Points
0
Hi

On my forum people have sigs which are transparent .PNG images (ones with images popping out the border etc.) But because i'm using IExplorer they're not showing as transparent. They're showing as a different colour.

How do i make it so people who use IExplorer on my forum can see transparent .PNG images??

Thanks:rolleyes:
 

Jordan K

[B]tags dont work:([/B]
Messages
1,528
Reaction score
0
Points
0
Are you sure they see it as transparent in other browsers aswell? Have you tested it in other browsers?

Off Topic: How long ago did you sign up? Because the ads are supposed to be on the top of every page on your site. I just visited through the link in your comment and they are on the bottom. This could get your account suspended sometime soon. You might want to change it.
 

WeeRowan

New Member
Messages
362
Reaction score
0
Points
0
I got told i was aloud to have them at the bottom.. and they are on everypage.. my website is just forum and everypage you go on in the forum the ads are always at the bottom in the forum...

also.. im using IExplorer and I cant see them properly but most members have FireFox and I think they can...

so i want to get it so IExplorer members/users can see transparent .png images.. any ideas how to?

also... if its something on my computer that needs to be fixed to view them rather than the internet explorer then what would i do?

btw.. heres my proof my ads are fine were they are:
http://x10hosting.com/showthread.php?t=12531
 
Last edited:

Jordan K

[B]tags dont work:([/B]
Messages
1,528
Reaction score
0
Points
0
I am going to sign up for an account on your forums and check out what your talking about, generally if it's just something wrong on your end (ie. your explorer setup) or something of that nature I will be able to help you fix it.
 

Jordan K

[B]tags dont work:([/B]
Messages
1,528
Reaction score
0
Points
0
Hmmm, either your email server isn't set up to allow your forums to send emails or it's just going very slow, I have been waiting like 5 minutes now for my activation email.
 

WeeRowan

New Member
Messages
362
Reaction score
0
Points
0
I had a problem with the forum sending validations. It sends about 80% of the people the validation email automatically but some get put on pending. Im trying to sort this. I just sent validations to 8 people.
 

Jordan K

[B]tags dont work:([/B]
Messages
1,528
Reaction score
0
Points
0
Okay, I just tested that link with IE and FireFox, you're right... I see light/bluish with IE and with FireFox it's transparent. Hmmm.
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
Darn, I was also waiting for some way to get around that :/
 

Jordan K

[B]tags dont work:([/B]
Messages
1,528
Reaction score
0
Points
0
DesertWar said:
You cant have transparent .png in IE.

Although this is true, I was doing some reading up on this. You can add something to your CSS Style Sheets to fix this problem, although it may not work in your situation because this is mostly client sided. You can ultimately as a last resort get a script for your browser that allows the display of transparent .png files.

Alright this should do the trick, this page will teach you how to implement it on your website so people can view transparent .pngs on your forum.

http://koivi.com/ie-png-transparency/

Have fun, if you get this to work... ThAnKs Me please@!

Of course i'm always open to taking a small point donation.:drool:
 
Last edited:

WeeRowan

New Member
Messages
362
Reaction score
0
Points
0
Ok I looked at that site but im pretty stupid when it comes to that can anyone guide me through it please?

Thanks
Reply a.s.a.p :)
 

Jordan K

[B]tags dont work:([/B]
Messages
1,528
Reaction score
0
Points
0
First: Download the attachment (it is the library that the php files will call upon to fix the PNG transparency) and upload the attachment to your forums root directory (the same directory your index.php file is located in).

Second: Open you index.php file in an editor of your choice, and at the very top of the file add this line:

PHP:
<?php ob_start(); ?>

Add that above the <?php

So it would look like this:

PHP:
<?php ob_start(); ?>
<?php

Third: Scroll all the way down to the bottom of your index.php file and put this code in:

PHP:
<?php
	include_once 'replacePngTags.php';
	echo replacePngTags(ob_get_clean());
?>

Put it in under the ?>

So it looks like this

PHP:
?>
<?php
	include_once 'replacePngTags.php';
	echo replacePngTags(ob_get_clean());
?>

After you're done this let me know, if you need any help during the process just post here, I'll be monitoring this thread for like 10 minutes.

**EDIT: My bad forgot the attachment... LOL
What you have to do, because it doesn't let me upload php files is open the text document and File > Save As and change File Types to all and make the name replacePngTags.php
 
Last edited:

WeeRowan

New Member
Messages
362
Reaction score
0
Points
0
Ok i downloaded the png.js file and uploaded it to public_html then forums.

Then i opened the index.php file with Microsoft Word and this is the start/some of what came up:
Code:
/*
+-------------------------------------------------------------------------
|   Invision Power Board v2.1.3
|   ========================================
|   by Matthew Mecham
|   (c) 2001 - 2005 Invision Power Services
|   ========================================
+--------------------------------------------------------------------------
|   > $Date: 2005-10-11 14:29:43 퍝 (Tue, 11 Oct 2005) $
|   > $Revision: 39 $
|   > $Author: matt $
+--------------------------------------------------------------------------
|
|   > Wrapper script
|   > Script written by Matt Mecham
|   > Date started: 14th February 2002
|	> Date updated: IPB 2.1.0: Tue 12 July 2005
|
+-------------------------------------------------------------------------
*/

/**
* Main executable wrapper.
*
* Set-up and load module to run
*
* @package	InvisionPowerBoard
* @author   Matt Mecham
* @version	2.1

So in step 2 were you says add
Code:
<?php ob_start(); ?>
do i put that above all of that stuff then for step 3 i just make it look like this??

Code:
<?php ob_start(); ?>
<?php
/*
+-------------------------------------------------------------------------
|   Invision Power Board v2.1.3
|   ========================================
|   by Matthew Mecham
|   (c) 2001 - 2005 Invision Power Services
|   ========================================
+--------------------------------------------------------------------------
|   > $Date: 2005-10-11 14:29:43 퍝 (Tue, 11 Oct 2005) $
|   > $Revision: 39 $
|   > $Author: matt $
+--------------------------------------------------------------------------
|
|   > Wrapper script
|   > Script written by Matt Mecham
|   > Date started: 14th February 2002
|	> Date updated: IPB 2.1.0: Tue 12 July 2005
|
+-------------------------------------------------------------------------
*/

/**
* Main executable wrapper.
*
* Set-up and load module to run
*
* @package	InvisionPowerBoard
* @author   Matt Mecham
* @version	2.1
*/

/**
* Script type
*
*/
define( 'IPB_THIS_SCRIPT', 'public' );
 

Jordan K

[B]tags dont work:([/B]
Messages
1,528
Reaction score
0
Points
0
Scroll down until you see after all the credits and comments a <? and start from there.

*Edit: If you want I will do it for you for 10 points.
 
Last edited:

WeeRowan

New Member
Messages
362
Reaction score
0
Points
0
Ok m8 ill give you 10points to fix the file for me :D

What will i do because the index.php code is too many characters to send through this?
 

WeeRowan

New Member
Messages
362
Reaction score
0
Points
0
Ok theres the file.. is that the right one :) and can you edit it just now
 

Attachments

  • index file needing editing.txt
    18.4 KB · Views: 53
Status
Not open for further replies.
Top