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

{FORUM_NAME} is not filled in login mask when logging into a password protected forum

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.11
    • Fix Version/s: 3.0.12-RC1
    • Component/s: Login, Styles
    • Labels:
      None
    • Environment:
      PHP Version 5.4.4
      Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4
      FireFox 16.0.1

      Description

      The variable

      {FORUM_NAME}

      in /template/login_forum.html is not filled with a value when seeing login mask wanting to log into a password protected forum.
      To fix that
      find in /includes/functions.php

      $template->assign_vars(array(
      'S_LOGIN_ACTION' => build_url(array('f')),
      'S_HIDDEN_FIELDS' => build_hidden_fields(array('f' => $forum_data['forum_id'])))
      );

      change it to
      $template->assign_vars(array(
      'S_LOGIN_ACTION' => build_url(array('f')),
      'S_HIDDEN_FIELDS' => build_hidden_fields(array('f' => $forum_data['forum_id'])),
      'FORUM_NAME' => $forum_data['forum_name'],
      ));

        Attachments

          Activity

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              Miriam Miriam [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: