News:

Welcome to the Unofficial Help Forum



Author Topic: How do I make changes so forum would support PNG images in BBC?  (Read 1888 times)

Offline ameo

  • Newbie
  • *
  • Posts: 2
    • View Profile
How do I make changes so forum would support PNG images in BBC?
[not smileys, but those images above smileys!]

This is basically copy of question asked
on official SMF
, but due to lack of proper response, I'm asking it here as well, in hope I could get some help.

Offline Illori

  • Administrator
  • *
  • Posts: 322
    • View Profile
Re: How do I make changes so forum would support PNG images in BBC?
« Reply #1 on: May 21, 2015, 06:05:02 AM »
all of them as png? if you want some as gif and some as png then you need to look for a better coder then i am.

GenericControls.template.php changing this line to .png makes all the icons .png
Code: [Select]
sImage: ', JavaScriptEscape($settings['images_url'] . '/bbc/' . $tag['image'] . '.png'), ',
if you want some suggested icons to replace the default as png let me know, i have some already.

Offline ameo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: How do I make changes so forum would support PNG images in BBC?
« Reply #2 on: May 22, 2015, 04:28:22 AM »
unfortunately, not all of them, because then I'd loose most of existing ones.

what a bummer.
And I thought it's as easy as adding png extension just after gif

Offline Illori

  • Administrator
  • *
  • Posts: 322
    • View Profile
Re: How do I make changes so forum would support PNG images in BBC?
« Reply #3 on: May 22, 2015, 05:31:51 AM »
well i have all the default icons in png [not the same exact image] would sharing those help you?

 

anything