Log in

View Full Version : Removing Announcements & Thread Options in modcp


Nathan2006
03-13-2006, 01:39 PM
Hello,

How can I remove Announcements & Thread Options from Mod CP?

Here is a pic to explain what I mean.

Thank you for any help :)

Daniel
03-13-2006, 10:03 PM
In your root/modcp/index.php folder find...

if (can_moderate(0, 'canannounce'))
{
construct_nav_option($vbphrase['add_new_announcement'], 'announcement.php?do=add');
construct_nav_option($vbphrase['forum_manager'], 'forum.php?do=modify');
construct_nav_group($vbphrase['announcements']);
construct_nav_spacer();
}
Delete it.

Find
if (can_moderate(0, 'canmassprune'))
{
$canmass = true;
construct_nav_option($vbphrase['prune'], 'thread.php?do=prune');
}
Delete it.

Nathan2006
03-13-2006, 11:22 PM
Thank you for your help Daniel :D

Its a lot better now ;)

Daniel
03-14-2006, 10:08 PM
No problem :)

Princeton
03-15-2006, 12:32 PM
the best way would be to modify the mods permissions

FORUM MANAGER / moderator dropdown - edit moderator permissions

Daniel
03-15-2006, 11:49 PM
You can't do that for a super moderator though (as far as I know).