"Users Online: 458 (163 members and 295 guests)"
My ass. I've only seen one other person post in the last half hour. The stats are apparently set to include members who logged in within the last hour or summat. I suggest it be lowered to the last 15 minutes, which is the standard for forums. If it's listing people who aren't online anymore, it looks good statistics-wise, but it's an utterly useless feature. So, a more strict time limit would be swell, please.
Results 1 to 22 of 22
- 02 Dec. 2009 08:08pm #1
Accurate Users Online Information
- 02 Dec. 2009 08:16pm #2
That was a problem even in the Old LG. xD
And trust me, its not last hour..
In the past 3 hours, LG is already dead. -.-
There's no way that there were 458 users online few hours ago. -.-
- 02 Dec. 2009 08:23pm #3
- 02 Dec. 2009 09:13pm #4
- 02 Dec. 2009 10:09pm #5
- 02 Dec. 2009 10:42pm #6
- 02 Dec. 2009 10:57pm #7
You obviously don't know how the "Users Online" statistics are generated...
Here's an example query:
SELECT COUNT(`id`) FROM `members` WHERE `last_visit` > SUB_DATE(NOW(), 5 MINUTES)
Although I believe 5 minutes is typed differently.
i.e. select the number of members who have visited the page in the last 5 minutes.
The "Remember Me" option just changes the expiry of the cookie to a year.
I would hope you have noticed that if you close your browser and open it again, you are still logged in. For the sake of statistics, you are not online during that time your browser is closed, which is why Users Online statistics are not generated that way.Last edited by GAMEchief; 02 Dec. 2009 at 11:00pm.
- 03 Dec. 2009 02:20am #8
GAMEchief just pwned you haha. I don't really understand how it works even though GAME just explained it since I am sort of new to programming and whatever. But regardless of how it works, I agree with the need for a more accurate system.
FoRspArTA from the old LG, back in the Golden Age.
[SIGPIC][/SIGPIC]
Check out my stuff:
Low on Runescape cash? Check out this Guide.
Got a retail WoW account? Add your character to the master list.
Always here to help. PM me if you need anything.
-I currently play Runescape, WoW (Retail), Gaia, and lots of Xbox.
- 03 Dec. 2009 03:03am #9
Well then there should be a list of how many people active (an acitive person is one who browses the forum and post atleast once in 15-20min)
- 03 Dec. 2009 03:11am #10
I wouldn't even include the requirement that they have to have posted, since it may be useful to PM someone who is online but isn't posting. But how long since they last visited the page definitely needs to be reduced, because with the current list, odds are, they aren't visiting the page, and you'd end up PMing someone who isn't even online, thus defeating the purpose of having Users Online in the first place.
- 03 Dec. 2009 01:13pm #11
Administrator Best Avatar Award
- Age
- 32
- Join Date
- Nov. 2009
- Location
- Buenos Aires, Argentina
- Posts
- 6,251
- Reputation
- 790
- LCash
- 200.00
The online members aren't that important.
What should be back is the latest posts thing in the "What's Going On?" part...
- 03 Dec. 2009 06:48pm #12
I agree. But the former would be easy to fix, as it's a single option in the Admin CP where you just change the number 60 [or whatever it is] to the number 15 (or less).
The latest posts section is a vB mod, and assuming it's not already installed, it would be a semi-pain in the ass to add. When I had a vB, I just downloaded a premodded version for that reason. It came with said mod, so I assume that's what LG did the previous time. Not sure why they didn't this time.
- 04 Dec. 2009 10:56pm #13
- 05 Dec. 2009 05:53am #14
- 05 Dec. 2009 06:37am #15
- 05 Dec. 2009 01:14pm #16
- 05 Dec. 2009 03:15pm #17
- 05 Dec. 2009 07:25pm #18
Did you not read my explanation? No, that's not the reason. A web server is unable to know if a web page is currently being viewed. Just the last time it was viewed.
Please, people need to stop posting in here unless they know how users online statistics are generated, because I'm tired of explaining it. >_<
I mean, no offense, 'cause I'm sure I thought the same thing before, but it's not the case, as I'm sure I've said at least three times now.
Well, i have control of the entire server. I have complete FTP control, cpanel control, and i have control of the VPS.
- 05 Dec. 2009 11:40pm #19
- 06 Dec. 2009 06:24am #20
Then that's because one of two things:
1) The user just happened to view that same page again.
2) The activity time set by LogicalGamers is 5 hours, which is what I've been asking to be reduced. Go back to the first page and view my example query. Replace "5 minutes" with "5 hours." The Users Online is being generated by gathering who has viewed any page in the last 5 hours. Which is most certainly not considered "online," as the user very well most likely isn't online 5 hours later. It's impossible for the server to know if they left the page open, or if they clicked "remember me." The way the server calculates this is by the last time the page was viewed, and if it's considering everyone who's viewed a page in the last 5 hours as "online," then it isn't hardly accurate.
Shit needs to be set to 5 minutes. I'm thinking it may be set to 24 hours to show all the members who've logged in that day; but doing that is pointless. It needs to show who's online now, so that they can be PM'd and the like.
- 06 Dec. 2009 01:01pm #21
- Age
- 30
- Join Date
- Nov. 2009
- Location
- Anaheim, California
- Posts
- 1,065
- Reputation
- 99
- LCash
- 200.00
You could use the PHP 5 Session file method, all you do is open the session files check the dates last written to and eliminate those older than X minutes/hours/etc.
Save's MySQL, it's load faster, and it is the same amount of accuracy because vBulletin call's session creation on every page load.
- 06 Dec. 2009 07:16pm #22