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
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
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...
(2016-11-12, 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
i can't delete some lines from remove these options?
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