MyBB Community Forums

Full Version: add_buddy.gif & add_ignore.gif (CSS/GUI issue)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Small CSS/GUI issue with these. My theme is black/grey and there is a small white outline. I'm not sure how to fix this, can anybody assist me? Hopefully somebody else in the future finds it and it helps them. Spent some time searching around and didn't manage to find a fix.

This is currently what it looks like:
[Image: 50f1c2ab5f950a23f102b6a61e7bd296.png]


Thanks.
The issue here is that the images are in the GIF format which doesn't support transparency that well. So you can replace them with the transparent PNG versions (from famfamfam.com) but they seem to be hardcoded.

If you make these changes bear in mind that you will need to make them again when you upgrade.

In member.php:

On line 2052 change
<img src=\"{$theme['imgdir']}/remove_buddy.gif\" alt=\"{$lang->remove_from_buddy_list}\" />";
to
<img src=\"{$theme['imgdir']}/remove_buddy.png\" alt=\"{$lang->remove_from_buddy_list}\" />";

On line 2056 change
<img src=\"{$theme['imgdir']}/add_buddy.gif\" alt=\"{$lang->add_to_buddy_list}\" />
to
<img src=\"{$theme['imgdir']}/add_buddy.png\" alt=\"{$lang->add_to_buddy_list}\" />

On line 2062 change
<img src=\"{$theme['imgdir']}/remove_ignore.gif\" alt=\"{$lang->remove_from_ignore_list}\" />
to
<img src=\"{$theme['imgdir']}/remove_ignore.png\" alt=\"{$lang->remove_from_ignore_list}\" />

And on line 2066 change
<img src=\"{$theme['imgdir']}/add_ignore.gif\" alt=\"{$lang->add_to_ignore_list}\" />
to
<img src=\"{$theme['imgdir']}/add_ignore.png\" alt=\"{$lang->add_to_ignore_list}\" />

Then upload the four attached files into your images directory. Hope this helps Smile