Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Years, 7 Months, 4 Weeks ago Remove Delete Forum and Delete User in ACP
#1
Solved: 2 Years, 7 Months, 4 Weeks ago
i want to remove delete forum from Forums&Posts and Delete User from Users&Groups in ACP.

It's possible? If yes,how?
Ty

or i want to disable these options - Delete Forum and Delete User
Reply
#2
Solved: 2 Years, 7 Months, 4 Weeks ago
forum owner as a super administrator can edit permissions of other administrators

see Admin Permissions guidance for more details.
it should be of some help though it was made for an older version of MyBB

forum admin panel >> users & groups >> admin permissions --> [specific admin permissions]

* Forums & Posts --> can manage forums --> select No
* Users & Groups --> can manage users --> select No
Reply
#3
Solved: 2 Years, 7 Months, 4 Weeks ago
But i want only remove Delete User and Delete Forum,not all section
I want to give access to those sections, but not delete anything

i know that with Can Manage Forums/Users from admin permission...
Reply
#4
Solved: 2 Years, 7 Months, 4 Weeks ago
(11-12-2016, 11:00 AM)AlexanderPep Wrote: But i want only remove Delete User and Delete Forum,not all section
I want to give access to those sections, but not delete anything

i know that with Can Manage Forums/Users from admin permission...

I don't think you will be able to do that without a plugin, also why will you give access to someone whom you can't trust for forum management Smile
Reply
#5
Solved: 2 Years, 7 Months, 4 Weeks ago
i can't delete some lines from remove these options?
Reply
#6
Solved: 2 Years, 7 Months, 4 Weeks ago
For forums:
You can make it get the no permission message if you go to line 1930 of /admin/modules/forum/management.php and add this code to it:
error_no_permission();
'

You can also get rid of line 2702.

For Users:
Go to line 1707 in /admin/modules/user/users.php. Add this code below the brace:
error_no_permission();

Add that same code to line [url;=https://github.com/mybb/mybb/blob/feature/admin/modules/user/users.php#L2645]2645[/url].

Remove line 3779
Reply
#7
Solved: 2 Years, 7 Months, 4 Weeks ago
Thanks
Solved
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)