Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: Search
    • Environment:
      phpBB 3.2, PHP 5.6.19, MySQL 5.6.34, Firefox 51.0.1 (32-bit), Chrome 56.0.2924.87 (64-bit), Internet Explorer 11.576.14393.0, Microsoft Edge 38.14393.0.0

      Description

      When searching topics, the topics are shown with the default topic icon and not the ones that can be selected when posting topics.

      Eg all pages linked to search and showing topics are affected (show unread posts etc).

      Bug can be patched for style "prosilver" easily with following steps:

      • File: /search.php
      1. Edit line 794
      2. Change:

        $sql_select = 't.*, f.forum_id, f.forum_name';
        

      3. Into:

        $sql_select = 't.*, f.forum_id, f.forum_name, f.enable_icons';
        

      • File: /styles/prosilver/template/search_results.html
      1. Edit line 81
      2. Change:

        <dt<!-- IF searchresults.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{searchresults.TOPIC_FOLDER_IMG_ALT}">
        

      3. Into:

        <dt<!-- IF searchresults.TOPIC_ICON_IMG and searchresults.S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{searchresults.TOPIC_FOLDER_IMG_ALT}">
        

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Sanborn Sanborn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: