Here is what i've done, as far as I recall. While the installationtext asks to look in includes/page_tail.php for
- Code: Select all
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
my line was looking like this (actually a bit different, for I had the link also visible for Mods an Junior Admins. But it boils down to this

)
- Code: Select all
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="' . append_sid("admin/index.$phpEx") . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
So instead of replacing it with
- Code: Select all
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : (( $userdata['user_level'] == MOD ) ? '<a href="modcp/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Mod_CP'] . '</a><br /><br />' : '');
I changed that code to this
- Code: Select all
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="' . append_sid("admin/index.$phpEx") . '">' . $lang['Admin_panel'] . '</a><br /><br />' : (( $userdata['user_level'] == MOD ) ? '<a href="' . append_sid("modcp/index.$phpEx") . '">' . $lang['Mod_CP'] . '</a><br /><br />' : '');
Take note of the changed (old) href linkage. I absolutely can't tell if this will work with phpBB 2.0.3. But give it a try
But don't forget to backup!!!!