Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12291

Allow extensions to use custom topic icons

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b1
    • Fix Version/s: 3.2.2-RC1
    • Component/s: Extensions
    • Labels:
      None

      Description

      Currently extensions are unable to use custom topic icons because the icons path is hardcoded in T_ICONS_PATH. Thus, extension would have to copy its custom icons into standard phpBB folder which would be undesireble extension behavior.

      The idea is to get rid of T_ICONS_PATH everywhere by mean of storing the full relative icon path in ICONS_TABLE/icons_url (for example: ext/ext_vendor/ext_name/icons/icon.png). Build-in icons path config value should be keeped as is to operate icons management in regular way when they are added via ACP as usually.

        Attachments

          Activity

            People

            Assignee:
            CHItA CHItA
            Reporter:
            rxu rxu
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: