vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=260632

Change status icons
by AzH
19 Mar 2011 00:37

This is an odd one.

I want to replace forum_old.gif and forum_new.gif with png variants. I went into the FORUMDISPLAY template and changed:

<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>

to

<td><img src="$stylevar[imgdir_statusicon]/forum_new.png" alt="$vbphrase[contains_new_posts]" border="0" /></td>

Uploaded the png files to the correct dir, but they do not display (the gifs are still there).

What am I doing wrong?

x_Coffee_x 19 Mar 2011 07:01

I always save everything in PNG. When I upload the PNG into the statusicon folder, I just rename it on filezilla to forum_new.gif instead of forum_new.png. It changes the name (even though still a PNG image) to forum_new.gif (really forum_new.png) but vBulletin recognizes it this way.

AzH 19 Mar 2011 07:39

Great tip. That worked.


All times are GMT. The time now is 07:10.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.