View Full Version : change .gif to .pngs on forum status icons
jasonpeinko
08-23-2007, 04:40 PM
i want to change my forum status icons to .pngs instead of gifs because gifs suck. Which files do i need to edit i have edited all the templates and it is still not working.
also where can i change the poll icon to a .png?
i got the forum part, (im blind) but i still cant find the poll image.
Opserty
08-23-2007, 10:26 PM
See post below
SEOvB
08-24-2007, 12:54 AM
You need to convert the gifs to pngs in a graphics editing program such as GIMP/Paint.NET/PaintShopPro/Photoshop. They are located within the 'images' directory of the forum root. (There a heck of a lot of images though, so I hope you have a lot of patience)
In images/statusicon to be exact, forum_new.gif forum_old.gif are probably the ones your looking for.
You would then have to a mass Search and Replace of '.gif' with '.png' in your templates and also edit the Main CSS background images from '.gif' to '.png'.
Good luck I guess... :D
AdminCP -> Stlyes and Templates -> Replacement Variable Manager and enter something like this in
Search for text: forum_new.gif
Replacement text: forum_new.png
this will update your style rather then attempting to change them all manually.
jasonpeinko
08-24-2007, 02:07 PM
i got it, but i still cant get the poll imgae to change.
Opserty
08-24-2007, 09:51 PM
In images/statusicon to be exact, forum_new.gif forum_old.gif are probably the ones your looking for.
AdminCP -> Stlyes and Templates -> Replacement Variable Manager and enter something like this in
Search for text: forum_new.gif
Replacement text: forum_new.png
this will update your style rather then attempting to change them all manually.
Oh yes I overlooked both those things, I forgot he was only talking about the status icons. Serves me right for trying to help at half twelve at night. :p
jasonpeinko
08-30-2007, 05:07 PM
anyone know about the poll icon?
Delioncourt
08-30-2007, 05:12 PM
Just repeat the operations mentioned above for the images/misc/poll_posticon.gif
Wayne Luke
08-30-2007, 05:17 PM
I'd just install this mod and be done with it until official PNG support is provided.
https://vborg.vbsupport.ru/showthread.php?t=141493
jasonpeinko
08-30-2007, 05:28 PM
that mod did not work, and i cannot find any refrences to the poll icon.
Delioncourt
08-30-2007, 06:12 PM
Open
includes/functions_forumdisplay.php
Find
$thread['threadiconpath'] = "$stylevar[imgdir_misc]/poll_posticon.gif";
(line 300 on vb 3.6.8)
Replace with
$thread['threadiconpath'] = "$stylevar[imgdir_misc]/poll_posticon.png";
jasonpeinko
08-30-2007, 09:56 PM
thank you so much, it works now.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.