![]() |
You maybe need to do this:
Open onlinetoday.php and search: PHP Code:
PHP Code:
|
It worked, thank you very much. It says Number of avtive users today is 4 and the most ever online in a day is 5 on Today (which would mean a guest was on, right?) That is where the extra number comes up? Is there any way not to make it count guests?
|
The Hack does not count Guests.
The fact that the record today is higher than the number today is a bug which you cannot avoid. Because the number of today users is generated dynamically based on each users local time and the record number of online users can be set by any user and is stored fixed in the database. So a user in an other timezone can set an higher record than an other user in an other timezone actually will get. Hm, I hope you understand, what I'm trying to say :) |
I'm really lost on this one. take a look at waht I mean and maybe it will make more sense to me. Also, notice that on the main page at the bottom the Number of Avtive users today is different than it is on the page it links to. Why is that?
My Site Let me know what you think. I doubled checked everything and I must have missed something. |
You can't do anything against your first Problem as I wrote in my last Posting.
>>Also, notice that on the main page at the bottom the Number of Avtive users today is different than it is on the page it links to I have updated the instructions of the Hack. To fix this, you also have to change the line in index.php (same changes you have done in onlinetoday.php) |
Thank you (again). Everything seems to be in working order now. I guess I still don't quite fully understand the difference in most users ever line being different, but if you say that is normal and how it works, then I will leave it at that and not hurt myself trying to figure it out anymore. :) One last question, is there way to color the names like in Currently active Users for the Admin, Mod and Super Mod? I tried the one that was posted in this thread a ways up, but that was for the same page version and I couldn't get it to work.
Thanks again for a great hack and sorry about all of the problems. :) |
hey Mystic, I just installed the extra page version. The weird thing is it says "Number of Active Users Today: 0
Most users ever online on a day was 169 on Jun 05, 2002." It shows up correctly for some people (i.e. not zero). Do you know what's wrong? My forum |
Quote:
And maybe it needs some time to show a value>0 for each user. Mystics |
It's working for me now also (although not 100% correct).
Now it says: "Number of Active Users Today: 750 Most users ever online on a day was 811 on Today. " Thanks for the cool hack. :) |
To explain the difference between the two numbers:
"Number of Active Users Today" is generated dynamically according to your time zone. "Most users ever online on a day" is a static value saved in the database; each user can update this value, and according to the time zone of each user, User #1 maybe can have more people online on his "Today" as User #2 (because they are in different time zones) I hope anybody could understand this ;) Mystics |
All times are GMT. The time now is 06:32 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:
|