View Full Version : [fixed] Get .png files when adding smilies (and icons)
Smoothie
Thu 20th Dec '01, 11:47pm
Can it be done? I have a bunch of new smilies I made, and want to add them. Someone tell me it can be done, please?
Thanks,
Smoothie
Sinecure
Thu 20th Dec '01, 11:53pm
yes it can :)
http://vbulletin.com/manual/smilies.html
Smoothie
Thu 20th Dec '01, 11:58pm
I tried once to use .png for smiles, and it didn't seem to work. I uploaded them, but they didn't show up in the cp. Have you done this before?
Sinecure
Fri 21st Dec '01, 12:06am
Just add new smilie, and instead of using the .gif format change it to .png, should be that simple :)
Smoothie
Fri 21st Dec '01, 12:37am
I uploaded several smilies that were in .png format, and they don't show up in the add smilies cp
Chen
Fri 21st Dec '01, 7:45am
vBulletin doesn't look for .png files when adding smilies.
To fix this, replace this line in smilie.php:
if ($fileext==".gif" or $fileext==".bmp" or $fileext==".jpg" or $fileext=="jpeg") {
with this:
if ($fileext==".gif" or $fileext==".bmp" or $fileext==".jpg" or $fileext=="jpeg" or $fileext==".png") {
[moving to bugs...]
Smoothie
Fri 21st Dec '01, 8:45pm
Thanks FireFly!
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.