Author Topic: .png instead .gif for the online/offline image  (Read 7613 times)

0 Members and 1 Guest are viewing this topic.

power87

  • Full Member
  • ***
  • Posts: 7
.png instead .gif for the online/offline image
« on: August 15, 2013, 12:10:50 PM »
Hey,

maybe someone can tell me how to change the .gif to a .png for the online/offline support images.
I tried some things i guess i has something to do with the following string in the b.php file:

$filename = "locales/${lang}/button/${image}_${image_postfix}.gif";

i changed it to

$filename = "locales/${lang}/button/${image}_${image_postfix}.png";

but the button code still take the .gif file instead the .png

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: .png instead .gif for the online/offline image
« Reply #1 on: August 15, 2013, 12:56:48 PM »
Hello,

Some time ago I saw implementation of that in one of Mibew forks at GitHub.
This solution is not related with Mibew team and was not tested at all.
So you can use it at your own risk without any warranties.

Here is the link https://github.com/landim32/mibew/commit/4333e69ba3dcc48ef1185c997eb4dda8e656026c

power87

  • Full Member
  • ***
  • Posts: 7
Re: .png instead .gif for the online/offline image
« Reply #2 on: August 15, 2013, 01:22:23 PM »
thx for the fast answer, but my solition in the first post worked - just mixed the online with the offline pic so i had a false result :D