How do I go about disabling the Delete Attachment for registered users in the User CP - Miscellaneous - Manage Attachments - Delete Selected Attachments
[
attachment=25993]
Thanks in advance
Bogaduck
Open ./usercp.php and find;
if($mybb->input['action'] == "attachments")
{
and ADD the following ode just AFTER that line;
if ($mybb->user['usergroup'] == "2")
{
error_no_permission();
}
It'll disable that page for Normal registered users only.
Thanks Yaldaram, not quite what I was after but I'm happy with what you have submitted, much appreciated.
Thanks again
Bogaduck