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

MCP - Moderate forum/topic/posts links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.0
    • 3.0.x
    • Other
    • None
    • PHP Environment: PHP 5.2.0, Apache/2.2.3, Mac OS X Server
      Database: MySQL(i) 5.1.11-beta

      The links to [ Moderate Forum | Moderate Topic | Moderate Post ] all put the user on the main page, instead of to the specific section.
      See diff...

      *** /phpBB2/mcp.php  Mon Apr  2 14:30:23 2007--- /forum/mcp.php   Tue Apr 10 05:58:16 2007****************** 227,235 ****  // Generate urls for letting the moderation control panel being accessed in different modes  $template->assign_vars(array(        'U_MCP'                 => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main'),!       'U_MCP_FORUM'   => ($forum_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&f=$forum_id") : '',!       'U_MCP_TOPIC'   => ($forum_id && $topic_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&t=$topic_id") : '',!       'U_MCP_POST'    => ($forum_id && $topic_id && $post_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&t=$topic_id&p=$post_id") : '',  ));    // Generate the page, do not display/query online list--- 227,235 ----  // Generate urls for letting the moderation control panel being accessed in different modes  $template->assign_vars(array(        'U_MCP'                 => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main'),!       'U_MCP_FORUM'   => ($forum_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&mode=forum_view&f=$forum_id") : '',!       'U_MCP_TOPIC'   => ($forum_id && $topic_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&mode=topic_view&t=$topic_id") : '',!       'U_MCP_POST'    => ($forum_id && $topic_id && $post_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&mode=post_details&t=$topic_id&p=$post_id") : '',  ));    // Generate the page, do not display/query online list

            DavidMJ DavidMJ
            Highway of Life David Lewis [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: