Looking at fixes. We found that owners looking at their own journal was effecting the view count, so we edited journal.php
We found the line:
$db->query_write("UPDATE " . TABLE_PREFIX . "journals SET journalviews=journalviews+1 WHERE journal_id='".intval($j)."'");
and added this line:
if ($vbulletin->userinfo['userid']!=$journalinfo['journalist_id'])
just before it:
Jim Deakin
|