Ranking
Original Post
How do views and currently being viewed threads work?
So the veiw 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.
Also I'd like to ask how the currently viewing on that comes up on each board works because tonight there were
https://i.gyazo.com/ae58ab1702ba8ba1...27feebade2.png (including invisible users)
That many people on but there were still around 60 viewing the clan discussion board.
“Aaah rum zum zum aaah rum zum zum booly booly booly booly booly rum zum zum”
Well, I think views are by IP because I couldn't increase it using alt, nor using different browsers or logging out.

For viewing, I believe it works the same as on each account, it's just based on the last sub the user viewed within a certain time.
If you have minions in your avy or sig DO NOT REPLY TO MY POSTS
Originally Posted by Pimp View Post
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.

pretty sure how many times a thread has been clicked because i don't think 200+ thousand people have viewed this thread
https://gyazo.com/152403b2f733dde07e7014a3f61aa315
Must have a reset timer, or require at least 1 new post.

Or again, could be IP based since most ISPs don't use static IPs. (though that means there is somewhere a list of all IPs that visited each thread, not sure about that...)
If you have minions in your avy or sig DO NOT REPLY TO MY POSTS
still looking for a straight answer, these ideas seem reasonable but I'd like to exactly know
“Aaah rum zum zum aaah rum zum zum booly booly booly booly booly rum zum zum”
It didn't increase using a vpn on my phone, so not sure whether IP matters.

I did just view this thread on an alt, and it went from 206 to 209 when I viewed it, so I'm not really sure either.
Hi
Rapid Threads Lmod.
Got any questions? Feel free to ask!

[SIGPIC][/SIGPIC]
anyone have the exact answer?
“Aaah rum zum zum aaah rum zum zum booly booly booly booly booly rum zum zum”
According to google:

Looking at the code, it seems to add one every time showthread.php is called, so for your example that would be 3 views.

showthread.php (line 517):
// *********************************************************************************
// 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.

A dev can go ctrl+f through showthread.php and confirm.
If you have minions in your avy or sig DO NOT REPLY TO MY POSTS