amwproductions
@amwproductions
7 years ago
185 posts
Hi jamroom

We found on dashboard that we see 27 users online and if we go on users online we see 3 lines?
IMG_2981.PNG.jpg
IMG_2981.PNG.jpg  •  223KB


updated by @amwproductions: 07/03/17 11:21:06PM
michael
@michael
7 years ago
7,714 posts
how many do you see when you click SHOW BOTS?

Could be the bots are being included in the dashboard count.
amwproductions
@amwproductions
7 years ago
185 posts
Hi michael i click show bots notthing changes, i see 37 online users and on online users we see 3 lines and i click bots and each here only 3 lines of users?
michael
@michael
7 years ago
7,714 posts
here on jamroom.net its showing 29 users online on the dashboard and that lines up quite closely with the users online which doesnt include the SHOW BOTS. When I open up SHOW BOTS there are a lot more than the number in the dashboard.

This is the query that gets that number for the dashboard:
 $tbl = jrCore_db_table_name('jrUser', 'session');
    $req = "SELECT COUNT(DISTINCT(session_user_ip)) AS online FROM {$tbl} WHERE session_updated > (UNIX_TIMESTAMP() - " . intval($length) . ") AND session_user_name NOT LIKE 'bot:%'";

So its the same table that the users online is gotten from that the count is gotten from.
amwproductions
@amwproductions
7 years ago
185 posts
Hmmm ah ok

Thank you

Tags