![]() |
|
Mod Options |
![]() |
|||||||||
This modification is in the archives.
I had been working on a style for my now defunt site, while developing it, since IE7 was final and PNG's are just too cool to pass up anymore. I found it a pain to re-write all of the vBulletin templates to use the .png extension on the images. Not to mention this would make upgrading a pain in the butt.
I had Matthew make me this snipet of code. I told him I would release it and he said its fine. So to you I now give you the ability to not have to use gif's but png's in your image folders. You're webserver must support custom error documents via htaccess. Installation, Edit htaccess file to give a full/proper url to your new 404.php document Put both the htaccess file and the 404.php file in the base of you images folder. I only offer support when I have time. This modification is otherwise unsupported, but working. For style developers, if you wish to use this, please give credit where credit is due ![]() Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
Tks Zachery!
All the best Beduino No members have liked this post.
|
#3
|
|||
|
|||
I don't understand very well, sorry... but, is this hack something like this?
http://homepage.ntlworld.com/bobosola/ No members have liked this post.
|
#4
|
||||
|
||||
Awesome idea Zak
![]()
__________________
Former vBulletin.org Staff Member Guildhead | Torhead | Wowhead Please do not Private Message, Email or Instant Message me for Support with vBulletin or help with any Modifications to vBulletin. No members have liked this post.
|
#5
|
||||
|
||||
No, this allows you to use all png images without having to re-write vBulletin templates to do so.
Your browser will first look for a .gif file, if its not found, it sends a 404 error and thus a broken image. We use a custom 404 file to redirect to the same named image but .png and forward it to your browser. So for example http://www.vbulletin.org/forum/image...ser_online.gif ![]() Normal image, you remove http://www.vbulletin.org/forum/image...ser_online.gif and add http://www.vbulletin.org/forum/image...ser_online.png the 404 file will redirect to this instead.
__________________
Looking for ImpEx?
No members have liked this post.
|
#6
|
||||
|
||||
No vB version?
__________________
My free mods~click here No members have liked this post.
|
#7
|
||||
|
||||
It'd work for every version of vBulletin from vB Lite to vB 2020, this could even be used on other software, websites, etc.
__________________
Looking for ImpEx?
No members have liked this post.
|
#8
|
||||
|
||||
awesome work, thanks!
__________________
Gamerz Needs - For All Your Gaming Needs! No members have liked this post.
|
#9
|
||||
|
||||
How can I do that to not select vb version
__________________
My free mods~click here No members have liked this post.
|
#10
|
||||
|
||||
I'm just good.
__________________
Looking for ImpEx?
No members have liked this post.
|
#11
|
|||
|
|||
![]() No members have liked this post.
|
#12
|
||||
|
||||
Good job but my server does not support custom error documents via htaccess
![]() No members have liked this post.
|
#13
|
||||
|
||||
Sadly thats not something i can fix
![]()
__________________
Looking for ImpEx?
No members have liked this post.
|
#14
|
||||
|
||||
Thanks........
__________________
vBulletin 5 : http://www.atabb.com/ No members have liked this post.
|
#15
|
||||
|
||||
thanks but wont this affect the time loading images?
__________________
My software never has bugs. It just develops random features. Distance ![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 03:45.