Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15139

Wrong title in viewforum pages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.11
    • 3.1.10, 3.2.0
    • Viewing forums

      If you browse a forum whose the "Topics per page" setting is different from the default, the page number in the title is wrong (except for the first page, obviously), even on proSilver (therefore, it's not a specific style issue).

      For example, set the "Topics per page" setting for a given forum at 120 whereas the default value (for the whole board) is set at 30. If you visit the second page (it implies that forum has more than 120 topics overall), the HTML title is
      "FORUMNAME - Page 5 - SITENAME"
      instead of
      "FORUMNAME - Page 2 - SITENAME"

      Incorrect page number (see also the attachments)!

      To fix that anomaly, open the overall_header.html and replace...

      <title><!-- IF UNREAD_NOTIFICATIONS_COUNT -->({UNREAD_NOTIFICATIONS_COUNT}) <!-- ENDIF --><!-- IF not S_VIEWTOPIC and not S_VIEWFORUM -->{SITENAME} - <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}<!-- IF S_VIEWTOPIC or S_VIEWFORUM --> - {SITENAME}<!-- ENDIF --></title>
      

      by ...

      <title><!-- IF UNREAD_NOTIFICATIONS_COUNT -->({UNREAD_NOTIFICATIONS_COUNT}) <!-- ENDIF --><!-- IF not S_VIEWTOPIC and not S_VIEWFORUM -->{SITENAME} - <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF --><!-- IF not S_VIEWFORUM -->{PAGE_TITLE}<!-- ELSE -->{FORUM_NAME}<!-- IF CURRENT_PAGE neq 1 --> - Page {CURRENT_PAGE}<!-- ENDIF --><!-- ENDIF --><!-- IF S_VIEWTOPIC or S_VIEWFORUM --> - {SITENAME}<!-- ENDIF --></title>

        1. bug_pagination.png
          147 kB
          Big Monstro
        2. default topics per page setting.png
          146 kB
          Big Monstro
        3. topics per page.png
          40 kB
          Big Monstro

            Marc Marc
            Big Monstro Big Monstro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: