MyBB Central

Full Version: How to disable negative rep for a certain usergroup?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just like HF, I want it so that only some usergroups can give negative reps.
Is this a plugin or is there something in the acp to toggle?
I've only seen a global setting.
I believe this can only be done with a plugin. Negative reputation can be disabled globally, but your only capable of modifying the increment of reputation able to be given or taken for custom groups.

I'm not quite sure what the plugin is although. I'll keep looking.
You can do it through the reputation.php

Find (without quotes):
"if($mybb->settings['negrep'])"

And change it to (without quotes):
"$group = "3,4,6,8";
$groups = explode(",",$group);
if($mybb->settings['negrep'] || in_array($mybb->user['usergroup'],$groups))"

Just change the 3,4,6,8 with the groups that you want to allow to be able to give neg rep.

You must remember though that doing core file edits, if you upgrade the forum, you will need to change the code again after upgrading.
You can do it with a plugin.
Lol, you don't need an plugin xD,
User & Groups > Groups > The group you want to edit > Users & Permissions > Reputation System Wink

There you have full control of the Mybb reputation permissions Tongue
Still haven't found an easy way to do this.
I also saw the only global configuration. I am no longer (
I feel powerfully about it and love learning more on this
you enjoy our carrier the entire manner. So, hopefully, you pick out us and notice all of the benefits we offer
I enjoy reading through your article post,