Quote:
Originally Posted by Blind Guardian
In the Admin CP, under the Plugin Manager in Plugins & Products, edit the "Cyb - Moderating Stats - MN" plugin and find the line of code as follows:
Code:
$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' $cybmodstats_timeperiod ");
Simply replace that entire line with this:
Code:
$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' AND dateline > $fromtime");
|
It didn't work for me - once it found someone who awarded infraction points, it copied those points to the rest of the list. See the attached screenshot.