Restrict 'Moderator' access to panel?

This add-on will allow you to give "moderators" access to manage users, and theire permissions, admin accounts are protected

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby kooky on Sun 02. Nov, 2003 22:45

not here :lol:
search on phpBB Hacks and phpBB.com
kooky
brilliant supporter
 
Posts: 1329
Joined: Tue 31. Dec, 2002 17:52
Location: Au pays des rêves

Postby Txzeenath on Sun 25. Apr, 2004 22:53

Make special ranks for whatever you are trying to do and use this

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_rank'] == 5 ) ? '<a href="modcp/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Mod_CP'] . '</a><br /><br />' : '');


Just replace the 5 in
Code: Select all
$userdata['user_rank'] == 5
to whatever your desired rank is.
Txzeenath
Poster
Poster
 
Posts: 2
Joined: Sat 10. Apr, 2004 01:36

Previous

Return to Moderator CP [2.0.17/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron