[Duplicate] No reputation settin field in ACP
#1
Hello,
there are three reputation fields in ACP -> edit grup:

- reputation power (for select)
- reputation limit per day (related to sender)
- reputation limit in thread


But... from reputation.php:

// Is the user giving too much reputation to another?
	if($mybb->usergroup['maxreputationsperuser'] != 0 && ($mybb->input['action'] != "do_add" || ($mybb->input['action'] == "do_add" && empty($mybb->input['delete']))))
	{
		$timesearch = TIME_NOW - (60 * 60 * 24);
		$query = $db->simple_select("reputation", "*", "uid='".$uid."' AND dateline>'$timesearch'");
		$numtoday = $db->num_rows($query);

		if($numtoday >= $mybb->usergroup['maxreputationsperuser'])
		{
			$message = $lang->add_maxperuser;
			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;
		}
	}


This "maxreputationsperuser" is reputation limit per day, but related to receiver, not sender.
There is no option to this setting in ACP and value is always the same.
Reply
#2
Seems like it's scheduled for 1.8.8: https://github.com/mybb/mybb/issues/2282
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)