Hi guys,
I would like to disable negative rep for a certain group.
The concept is similar to mybbforums here.
So, is it the reputation template hack using any 1
a. Simple code
b. If else condition
or
Is it some other way to do it.
Kindly help, thanks.
(2016-05-21, 04:49 PM).m. Wrote: [ -> ]you can try using this method
Thanks for replying .m. this doesnt seem to be working on 1.8.7
Under reputations.php I found
if($mybb->settings['negrep'])
And I did replace it with
$group = "3,4,6,8";
$groups = explode(",",$group);
if($mybb->settings['negrep'] || in_array($mybb->user['usergroup'],$groups))
But no effect taking place. Kindly help.
^ checked the code on MyBB 1.8.7 & it is working for me.
in the Reputation settings, Allow Negative Reputation is set to No
& modified the code in reputation.php file
(2016-05-23, 05:07 AM).m. Wrote: [ -> ]^ checked the code on MyBB 1.8.7 & it is working for me.
in the Reputation settings, Allow Negative Reputation is set to No
& modified the code in reputation.php file
There, a miss re corrected out by you and its fixed.
I was missing to edit this here
" Reputation settings, Allow Negative Reputation is set to No "
Works fine, thanks again .m. for the quality support.