REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to disable negative rep for a certain usergroup?
#3
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.
Reply


Messages In This Thread
RE: How to disable negative rep for a certain usergroup? - by craig1985 - Jan 21, 2013, 07:51 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Avatar dim for each usergroup 1.6 > 1.8 (Plugin) X-Shadow 1 2,286 Jun 18, 2015, 11:12 AM
Last Post: Nasyr
  How to disable thread views count nightwolf 1 1,801 Mar 28, 2015, 10:06 AM
Last Post: Nasyr
  Using the additional usergroup image xBloodshed 0 758 Nov 02, 2013, 10:54 PM
Last Post: xBloodshed
  Remove rep - Authorization code mismatch... SysQ0re 0 1,120 Mar 16, 2013, 06:33 PM
Last Post: SysQ0re
  Custom Usergroup Permissions mrnapolean1 1 1,202 Oct 17, 2012, 03:20 AM
Last Post: DEFQON

Forum Jump:


Users browsing this thread: 1 Guest(s)