MyBB Community Forums

Full Version: [How To] Disable Reputation deletion for Mod's?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can i make it so where Mod's are not able to delete users reputation?

If so, how do i do it?
You've to edit a core file to do this;

Open ./reputation.php file and find; (around line # 348)
	if($mybb->usergroup['cancp'] != 1 && $mybb->usergroup['issupermod'] != 1 && $existing_reputation['adduid'] != $mybb->user['uid'])
and replace it with;
	if($mybb->usergroup['cancp'] != 1 && $mybb->usergroup['issupermod'] == 1 && $existing_reputation['adduid'] != $mybb->user['uid'])
Thank you!
Alright i added this in. It was on line 424 and it didn't work. After adding this, my mod's are still able to delete rep