This is a short snippet to stop users that are not moderators from editing reported posts. It is really small and there are no setting or possibility to set that at report time. Might improve it at some later time, or someone else does that.
OPEN posting.php
FIND
Code: Select all
case 'edit':
if ($user->data['is_registered'] && $auth->acl_gets('f_edit', 'm_edit', $forum_id))
{
$is_authed = true;
}
Code: Select all
if ($post_data['post_reported'] && !$auth->acl_get('m_edit', $forum_id))
{
trigger_error($user->lang['NO_EDIT_REPORTED']);
}
OPEN language/en/posting.php
FIND
Code: Select all
'NO_DELETE_POLL_OPTIONS' => 'You cannot delete existing poll options.',
Code: Select all
'NO_EDIT_REPORTED' => 'You are not allowed to edit reported posts.',