Great little mod, I made a few badly needed changes to it.. The most important change I made was this:
outputinfo.php
find:
PHP Code:
if ((!$CURUSER OR $usergroups['canshout'] != 'yes'))
{
exit ('<div style="background: #FFECCE; border: 1px solid #EA5F00; padding-left: 5px;">' . $lang->global['shouterror'] . '</div>');
return 1;
}
Change to:
PHP Code:
if ((!$CURUSER OR $usergroups['canstaffpanel'] != 'yes'))
{
exit ('<div style="background: #FFECCE; border: 1px solid #EA5F00; padding-left: 5px;">Nice try! You are not authorized to use the Staff Shout!</div>');
return 1;
}
Otherwise anyone can see staffbox, by going to /staffbox/outputinfo.php