Mibew Messenger Community

General => Support => Topic started by: power87 on August 15, 2013, 12:10:50 PM

Title: .png instead .gif for the online/offline image
Post by: power87 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
Title: Re: .png instead .gif for the online/offline image
Post by: Dmitriy Simushev 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 (https://github.com/landim32/mibew/commit/4333e69ba3dcc48ef1185c997eb4dda8e656026c)
Title: Re: .png instead .gif for the online/offline image
Post by: power87 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