So the view system on toribash how does it work, is it just based off of how many times a thread as been clicked or does it get 1 veiw per account that's on it.
Looking at the code, it seems to add one every time showthread.php is called, so for your example that would be 3 views.
// *********************************************************************************
// update views counter, moved after seo re-direct.
if ($vbulletin->options['threadviewslive'])
{
// doing it as they happen; for optimization purposes, this cannot use a DM!
$db->shutdown_query("
UPDATE " . TABLE_PREFIX . "thread
SET views = views + 1
WHERE threadid = " . intval($threadinfo['threadid'])
);
}
else
{
// or doing it once an hour
$db->shutdown_query("
INSERT INTO " . TABLE_PREFIX . "threadviews (threadid)
VALUES (" . intval($threadinfo['threadid']) . ')'
);
}
Because in most vBulletin forums, a cron job updates thread view after predetermined time (usually 30-60minutes). So a view that you have made, won't be visible till the next cron update.
If the administrator has set the option in the adminCP for instant thread counter updates,
then the changes will be visible immediately.
But hardly you would see any admin do that;
as instant updates for counters are server resource intensive.