if you follow the How to:
- Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
includes/page_tail
#
#-----[ FIND ]------------------------------------------
#
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
#
#-----[ REPLACE BY ]------------------------------------------
#
$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 />' : '');
that should work
the archive contains the 2.0.3 and 2.0.4 pre-edited files into zip archive
and the 2.0.5 files into some directories
if you use them that should work
i have tested them on my test forum with phpBB 2.0.4 and 2.0.5
i assume the files work
Which template(s) do you use ?
into your file overall_footer.tpl you should have this:
- Code: Select all
{ADMIN_LINK}
it is this variable that displays the link for admin and mod

