i tryed to install this mod but nothing worked or i did something wrong, later on i tryed to get my backup back where i changed the script but now i get this parse error when i tryed to login as administrator and i dont see the forums permission anymore can someone help me??
its saying this line:
Parse error: parse error, unexpected '}' in c:\php\apache\htdocs\phpbb2\admin\admin_forumauth.php on line 211
and this is the line of 211:
$template->set_filenames(array(
'body' => 'admin/auth_select_body.tpl')
);
$select_list = '<select name="' . POST_FORUM_URL . '">';
for($i = 0; $i < count($forum_rows); $i++)
{
$select_list .= '<option value="' . $forum_rows[$i]['forum_id'] . '">' . $forum_rows[$i]['forum_name'] . '</option>';
}
$select_list .= '</select>';
$template->assign_vars(array(
'L_AUTH_TITLE' => $lang['Auth_Control_Forum'],
'L_AUTH_EXPLAIN' => $lang['Forum_auth_explain'],
'L_AUTH_SELECT' => $lang['Select_a_Forum'],
'L_LOOK_UP' => $lang['Look_up_Forum'],
'S_AUTH_ACTION' => append_sid("admin_forumauth.$phpEx"),
'S_AUTH_SELECT' => $select_list)
);
} <- 211 error
else
{
//

