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

Wrong title in viewforum pages

    XMLWordPrintable

Details

    Description

      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>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: