Quote:
Originally Posted by Xenofox
Am i the only one who sees no infractions when limiting the time of the reports, instead of all time.?
|
No, you're not. I have the same issue, and had come here to try and find a solution myself.
Glancing at the code, I'd think it's a problem with the query not specifying the dateline properly, but I haven't tried tweaking the query to see if I can fix it yet.
Code:
$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' $cybmodstats_timeperiod ");
It might be that $cybmodstats_timeperiod is pulling from the mod log, and not the infaction log?