Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
NoMoreGifs Details »
NoMoreGifs
Mod Version: 1.00, by Zachery (Member) Zachery is offline
Developer Last Online: May 2017 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: Rating: (5 votes - 4.80 average) Installs: 31
Released: 08 Mar 2007 Last Update: Never Downloads: 433
Not Supported  

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 , a link back to this mod would be great.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 08 Mar 2007, 16:37
beduino's Avatar
beduino beduino is offline
 
Join Date: Dec 2005
Real name: Joao
Tks Zachery!
All the best
Beduino
Reply With Quote
  #3  
Old 08 Mar 2007, 16:41
Skavenger Skavenger is offline
 
Join Date: Sep 2005
I don't understand very well, sorry... but, is this hack something like this?

http://homepage.ntlworld.com/bobosola/
Reply With Quote
  #4  
Old 08 Mar 2007, 16:42
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Real name: Daniel
Awesome idea Zak pngs ftw
__________________
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.
Reply With Quote
  #5  
Old 08 Mar 2007, 16:43
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
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?
Reply With Quote
  #6  
Old 08 Mar 2007, 20:31
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
No vB version?
__________________
My free mods~click here
Reply With Quote
  #7  
Old 08 Mar 2007, 20:32
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
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?
Reply With Quote
  #8  
Old 09 Mar 2007, 14:08
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
awesome work, thanks!
Reply With Quote
  #9  
Old 09 Mar 2007, 23:03
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
How can I do that to not select vb version
__________________
My free mods~click here
Reply With Quote
  #10  
Old 10 Mar 2007, 02:28
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
I'm just good.
__________________
Looking for ImpEx?
Reply With Quote
  #11  
Old 10 Mar 2007, 06:48
kal-L kal-L is offline
 
Join Date: Jan 2007
Great share my friend.
Reply With Quote
  #12  
Old 10 Mar 2007, 09:12
Subah's Avatar
Subah Subah is offline
 
Join Date: Feb 2006
Good job but my server does not support custom error documents via htaccess
Reply With Quote
  #13  
Old 12 Mar 2007, 15:32
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Sadly thats not something i can fix
__________________
Looking for ImpEx?
Reply With Quote
  #14  
Old 25 Mar 2007, 19:02
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Real name: Atakan KOÇ
Thanks........
__________________
vBulletin 5 : http://www.atabb.com/
Reply With Quote
  #15  
Old 21 Jul 2007, 22:19
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Real name: Josh
thanks but wont this affect the time loading images?
__________________
My software never has bugs. It just develops random features.

Distance

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:44.

Layout Options | Width: Wide Color: