PDA

View Full Version : Online Users Problem



NeutralizeR
05-21-2007, 04:15 PM
Hi,

After vBadvanced upgrade, online users module has an issue...

Online Users: 122
120 members, 1.527 guests

It doesn't include the guests and it adds +2 to member count.

I also noticed that vBadvanced still executes the queries for the modules even when they are disabled.

Brian
05-21-2007, 04:19 PM
Can you post a link to the page where you're seeing this?

The query for the online users module will still be executed if you have the buddy list module enabled since both of those use the same query. Otherwise though it will not be executed if both modules are turned off.

Our Sponsors
 

NeutralizeR
05-21-2007, 04:52 PM
Can you post a link to the page where you're seeing this?

The query for the online users module will still be executed if you have the buddy list module enabled since both of those use the same query. Otherwise though it will not be executed if both modules are turned off.
http://www.msxlabs.org/index.php

Brian
05-21-2007, 05:18 PM
Thank you. It looks like I moved the total users count below the section where it formats the numbers and adds commas (or periods depending on the language) for the other counts without thinking, so that formatting is throwing off the total count if one of them is above 1,000. I've just applied the fix to the files here, so if you'll download the package again and replace your modules/onlineusers.php file with the new one, that should take care of the problem.

Our Sponsors
 

NeutralizeR
05-21-2007, 05:24 PM
Thanks :)