09-25-2020, 10:31 PM
(This post was last modified: 09-25-2020, 11:27 PM by Der Geist der Maschine.)
Somewhere in the infinity of the the MyBB code, there must a "-1" that needs to get replaced with a "-0" so that giving a negative rating does not decrease the reputation count. How difficult can that be?
From Upload/reputation.php
Are you sure that one can not disable giving negative reputations?
This 8 year old thread for an older mybb version https://community.mybb.com/thread-124436.html suggests
ACP>Configuration>settings>Reputation>Allow Negative Reputation>check no
From Upload/reputation.php
Code:
// The user is trying to give a negative reputation, but negative reps have been disabled.
if($mybb->get_input('reputation', MyBB::INPUT_INT) < 0 && $mybb->settings['negrep'] != 1)
{
$message = $lang->add_negative_disabled;
if($mybb->input['nomodal'])
{
eval("\$error = \"".$templates->get("reputation_add_error_nomodal", 1, 0)."\";");
}
else
{
eval("\$error = \"".$templates->get("reputation_add_error", 1, 0)."\";");
}
echo $error;
exit;
}
Are you sure that one can not disable giving negative reputations?
This 8 year old thread for an older mybb version https://community.mybb.com/thread-124436.html suggests
ACP>Configuration>settings>Reputation>Allow Negative Reputation>check no