Topic: Disallow moderators to ban some user groups exept admins
can i do it and HOW can i do it?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → Disallow moderators to ban some user groups exept admins
can i do it and HOW can i do it?
I'm afraid you can't.
it's a pity... vip-users will not appear at my forum
Just instruct your moderators to not ban people in that user group?
Well, if you want a quick and dirty hack to do this:
admin_bans.php
FIND
// Make sure we're not banning an admin
if (isset($group_id) && $group_id == PUN_ADMIN)
message('The user '.pun_htmlspecialchars($ban_user).' is an administrator and can\'t be banned. If you want to ban an administrator, you must first demote him/her to moderator or user.');
AFTER, ADD
// Make sure we're not banning a VIP
if (isset($group_id) && $group_id == [VIP group])
message('The user '.pun_htmlspecialchars($ban_user).' is a VIP and can\'t be banned.');
where [VIP group] is the id of the group that VIPs are
ok, it's great. thanks
PunBB Forums → PunBB 1.2 troubleshooting → Disallow moderators to ban some user groups exept admins
Powered by PunBB, supported by Informer Technologies, Inc.