![]() |
i double checked and the
Active users today figure is resetting itself based on my server time ? it's 5 pm where I am and it was reset to zero just now.. i checked and my server time is 12 am.... probably no way to fix that since every member would then see a different figure from different time zones ? or can you define in the script the reset time or allow vB admins to define that time ? i.e. based on the vB admin's GMT offset time.. |
Eva is absolutely right, the same thing happens to me, so I figure it must be set to the server's time.
|
Quote:
our server is in the same timezone as the members and so that was not importend for me and i didn't consider that. i will see to fix it, so that showing to the members the active today figure according to there members-timezone and the todayrecord to the selected timezone in the vbb-options. |
Great hack, I love the concept. :D
One thing, you might want to consider indexing the lastactivity column in the user table, otherwise the query scans a HUGE table (several thousands sometimes! :eek:) |
Quote:
i will consider this in the next release of this hack, because the next release needs changes in the database for count guests. ;) |
Just installed this here btw, works great. :)
|
@all with the timezoneproblem of this hack:
i am not sure if this changes fix the problem, because our server is in the same timezone as the members and so i can't test it. please test the changes for me. :D find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
<font size="3">important: please notice</font>
the fix for the timezone problem has changed at this moment, please check your code if you have this fix installed before. |
Does this only count members or can it count guests too?
|
Ok, I did everything in the instructions, and nothing happened. I did the one on the seperate page. Anyways, nothing changed on the main page, and if I go to onlinetoday.php, it is just a blank white page.
|
Quote:
|
yeah, I did
|
Quote:
i will release a new version of this hack in the near future, which counts members and guests. guests will be differentiated through their ip, that means two guests with the same ip will be counted as one guest and a guest with different ips (surfing the web through a proxy-server) will be counted as more guests. |
Quote:
|
OK, I figured out how to work it, kind of. I don't understand what templates are, and how template sets work. The reason why it wasn't working was because the style set I was using, had the template set Hyren Village selected, and the templates I made for the hack were in default template set. But when i switch my style to default, the layout changes. Should I put those templates you make (for the hack) in every template set?
|
Quote:
|
Hi genial,
Iinstalled the updated code. No way of knowing if it does work until tonight, but it looks like it's working. The numbers did change. Just one IMPORTANT NOTE for potential installers: Remove the "color" variable from the first code change if you do NOT have the color hack installed (or whatever that color variable is for) - otherwise your index.php will not work as you will get a database error! :) Will let you know if there are any problems. Thanks! |
On second thoughts, I don't think the updated code is working. On the "visitors who have visited today" I am seeing members who was on definitely yesterday according to my timezone, and not since. I think you are using the DEFAULT timezone for VB - not the server one, but the default one, not the member's own timezone.
Server time zone: GMT -6 VB default: GMT 0 My timezone: GMT +10 Instead of using GMT -6 which was what it was using, it is now using GMT 0 (I think). Anyone else with the same problem? |
Quote:
i have fixed this little mistake in the posted code. ;) i will check the fix for the timezone problem tomorrow, if i find time for. :D |
|
working well over here. great hack!
a couple of screenshots: > how it looks on the forumhome page > how it looks when the new window pops up :) |
hi, guys!! how can i let the second version(Version with usernames on extra site) work for my vb 2.01??
the first version works fine, but the second version I got nothing show up in Onlineday.php. I found some codes in onlinetoday.php is only for vb 2.21. That may be the problem. so can any one help me with the problem?? thank you guys so much!!! Here is the pic. what I got : |
Quote:
|
Quote:
PHP Code:
PHP Code:
PHP Code:
i hope so it will work well. please give me your feedback about it. |
Quote:
Is there any setting to modify (traslation) to make the daytime interval synchronized to my time and not to server one ? Thanks a lot Otherwise I think it'll not useful to me ... :( |
Hi genial,
No, your time fix did not work. It looked as though it was okay when a user is unregistered, but when I log on as a registered user, there was 0 number shown. Not sure why to be honest - your fix should have worked. I reverted back to the original fix. |
i have one problem the - Most users ever online on a day was - it keeps changing from day to day.
|
Great Hack!
Thank you :) |
Could you make it so guests count as well? :)
|
errr Great hack! as I said before!
But now I changed it to where the users lists is located on another page, and All it doseit tell me how many people have been online. but dose not include a list of people? anyhelp thanks!!!!!!! |
Quote:
|
the second version??
so just redownload that zip? allright I will try this again |
Quote:
1. All names of the Users who where online today are listed on the Forum-Home just below the "Curent Active Users" 2. All names of the Users who where online today are listed on a separate Site (onlinetoday.php) That's what I meant with the "second version"! :p And it seems, you have installed the second version...because you don't see the names on the Forum Home !!! So, upload onlinetoday.php and open it....you can see the names there (and first, follow all instructions in "who-was-online-today-with-extra-window.txt" !) |
heh didn't see your second post! :zzz:
anyways thanks bud, got it working, :) If you ever need anything give me a holla :cool: |
this seems like a great hack.. but when i try to install it on index.php i get a error
Parse error: parse error in /home/lbo/public_html/forums/index.php on line 267 thats what happend i am running 2.2.1 some one please help me |
im running 2.2.1 and it works perfectly,
post line 267 |
Awesome hack...thx!
|
Thank you for the great hack. :)
I would like to make a request of anyone who might be able to answer. I?d like to make the onlinetoday.php file also show invisible users to my mods, but I am unable to do so on my own. Can anyone provide the code that would allow usergroup 7 to see invisible users in onlinetoday.php? |
Sounds like a good idea!
|
Quote:
search for this line in the hack: PHP Code:
PHP Code:
|
All times are GMT. The time now is 06:09 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:
|