![]() |
Online Users Today
Hello,
I had a code that has worked for ages but for some reason today I noticed it was showing a completely OFF number, '13263'. Basically I have an OFF-vBulletin script that needs this information. It is called using the following: PHP Code:
|
Have you looked at your session table to see how many rows are in it? Could something have happened to the cron job that removes sessions? (Although, with the time being a factor in the query, that shouldn't matter.) Try running that query by yourself (in the admin panel or phpMyAdmin) and see what the result is.
|
Try change "SELECT COUNT(*)" to:
Code:
SELECT COUNT(*) AS `total` Code:
$onlineusercount = $result['total']; |
All times are GMT. The time now is 08:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|