PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   How Do I? - vBulletin 3.7x / 3.8x (http://www.photopost.com/forum/how-do-i-vbulletin-3-7x-3-8x/)
-   -   PNG buttons in showphoto (http://www.photopost.com/forum/how-do-i-vbulletin-3-7x-3-8x/140718-png-buttons-showphoto.html)

drare August 28th, 2009 04:24 PM

PNG buttons in showphoto
 
Chuck,

I've made custom buttons for the showphoto page, these are png transparent ones, somehow some of the buttons reside in vb3.php in the forums map, some in showphoto.php and some in showphoto.tmpl.

If I place png files in the vb3.php the exif link is not working, if I replace them back to GIF the exif link is working again, I don't understand this, is there a link between gif and the exif link?

The Edit and Report buttons work fine and are in png format.
Gerard

Chuck S August 28th, 2009 04:27 PM

The exif link is in the showphoto.php file and the image is camera.png so not really sure what you mean. the only image links in vb3.php are ones for the comments userpost line.

drare August 28th, 2009 04:33 PM

Yep, the comments userpost is what I mean, when I replace the gif in vb3.php to png somehow the exif link is clickable but does not do anything, but it shows the right link, and I can''t figure out why, so that when I thought if there is a link to both php files, because when set back to gif the exif link is working.

If I change the GIF is this part of vb3.php than the exif link does nothing (file version vb3.php: PP 6.2):

Code:

Content visible to verified customers only.

Chuck S August 28th, 2009 07:08 PM

No idea really sorry the two have nothing to do with other the links I mean.

Luciano August 28th, 2009 11:14 PM

Well allthough this does not seem to be a vbgallery issue..(wrong forum?) just consider following when you replace gif with transparent png!!!
In the office i surf on a windows 2000 server box.. its old but works for us.. but i only have IE6 installed... not a major problem.. gets me to see all the major pages i want.

BUT IE6 does not support png transparency !!!
so for users like me.. please add a ie6 png transparency fix to your page... (you find a series of fixes on google search)
To test if it works .. install "the ie collection" on your machine.. (better than multiple ies) you can then check your pages in ALL versions of IE... including IE6
http://finalbuilds.edskes.net/iecollection.htm

Luc

drare August 29th, 2009 01:59 AM

Chuck, thanks I will look further to why, replacing one after the other of the 5 buttons to see which button it is that gives the problem.

Luciano, I aware of the problem with IE6, I have a script: "supersleight.js" (24 ways: Transparent PNGs in Internet Explorer 6) This works for my personal page (Fotografie portfolio G. Diepeveen | Digitale Fotografie, welkom op mijn site.) if you surf with IE6 every png with trancparency shows the transparency as it should be.

But the link I mentioned is not working with either IE 7/8 and FF if I replace th gif with png in the vb3.php

Why not use it with PP and vb3, I tried, does not seem to work, or, I placed it in the wrong spot, I'll try this again.
Gerard

drare August 29th, 2009 02:49 AM

Well I figured it out what seems to be the problem, the editor!. Somehow the file was not properly saved with notepad (quick edit), I now edited the vb3.php with a html/php editor and it does work??? I'm not sure why, but I usually use notepad for a quick edit.

That's seem the problem for me, still I find it strange that notepad does somehow mess-up the code, so again I've learned from this.

See attached differences of the vb3.php file of version PP 6.23 in notepad and the html/php editior that's where it went wrong.

So my hard learning advise: don't use notepad, use a html/php editor.
Gerard

Chuck S August 29th, 2009 08:56 AM

I have removed your pictures showing our copyrighted code ;)

The issue is formatting you cant save a file with formatting in notepad.

drare August 29th, 2009 12:55 PM

Oeps, sorry Chuck, I didn't realized the copyrighted code
Gerard

Chuck S August 29th, 2009 01:26 PM

Not a problem glad you figured it out.


All times are GMT -5. The time now is 08:38 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97