My forum has installed the super moderator mod by rawly
I was gonna install today the moderator cp mod to my forum and when i tried using EM it said it couldnt find a part of the code.
After that, i got the page_tail.php file i found out that insted of :
- Code: Select all
#
#-----[ FIND ]------------------------------------------
#
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
#
#-----[ REPLACE WITH ]------------------------------------------
I Have:
- Code: Select all
$admin_link = '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><a href="' . append_sid("super_mod/index.$phpEx") . '">' . $lang['Super_Mod_panel'] . '</a><br /><br />';
}
else if ( $userdata['user_level'] == SUPER_MODERATOR )
{
$admin_link = '<a href="' . append_sid("super_mod/index.$phpEx") . '">' . $lang['Super_Mod_panel'] . '</a><br /><br />';
}
So, how can i make the mod cp work with this super modarator mod?

