![]() |
Quote:
If that doesn't work, check your timezone settings, including the server. FYI: I have a little debug plugin that checks the TZ settings, but it's at home, and I'm at work. |
I know about the "first visit of the day" - I can assure you it is not that ;)
Must be my timezone settings then - I'll fiddle about and see if I can get it to work :ermm: Satan |
Aha - Upon further investigation, turning on the DST settings in the vB Options causes this to die :p
Satan |
thanks, pretty cool, working fine
does this get users on the last 24 hours or the current day? |
Quote:
Quote:
|
:P
you could make it so it shows the day Total users that have visited today (7/4/2005): 10 |
Quote:
PHP Code:
|
i wonder if this is getting members on the forum since midnight using my gmt settings... say my forum is at gmt -6, and my server is gmt, is the " since midnight users" being taken using gmt -6? it seems its resetting the list at my gmt midnight, but it shows alot of people that im not sure they visited after that
|
I don't quite follow you, but for each user, it should reset at their midnight.
|
their midnight? can I change it to the forum midnight?
|
Quote:
PHP Code:
PHP Code:
If you do this then you can comment the $tz line and the $now line as they will not be used for this if you go and use the forums time. |
Ok I install it... now I have a question, and sorry bcause Im new.... Where the XML file goes to?
|
You upload it as a plugin.
ACP > Plugin System > Download / Upload Plugins |
As always great work.
Installed on 3.5.0 beta 4. |
Thanks! Worked great. ^_^
|
Quote:
PHP Code:
edit: well I updated my version with the one in this thread and it seems to be working the way I wanted, thanks |
Quote:
Also, does this work according to the user's midnight or the server's? |
Quote:
Quote:
|
Quote:
|
Just one small point - the two questions are mutually exclusive.
If you uncomment the 24 hr option then obviously the midnight question is irrelevant (or vice versa). :) |
Quote:
|
Installed in two minutes, and working like a charm. Thanks a lot. :)
|
gr8!! ** Aman Clicks Installed **
|
shouldn't the 24 hour roll variable be TIMENOW rather than $now which is what you have? I installed this and it shows all users registered rather than from past 24 hours. Changing this to TIMENOW yields the correct result.
|
Quote:
|
I uncommented the 24 hour roll-over code and it isn't rolling over now like it should. I have 2 vistors from yesterday still showing up and online today.
|
Quote:
Other than that I don't understand what your problem is. You are bound to see visitors from yesterday since it goes back 24 hours (so at 6pm today, you will have visitors back to 6pm yesterday). |
Quote:
|
Quote:
1. Members who visited today (i.e. from midnight) - which is the default as supplied. 2. Members who visited in the last 24 hours - which requires you to uncomment an extra line. You appear to have uncommented the line for mode 2, but are expectiing mode 1. |
Installed!
thank you. |
Quote:
|
*clicks install* *clicks thankyou* :)
|
Much appreciated hack, and survived the template reverts for RC1. Thanks. :)
|
Quote:
|
Quote:
|
3.5 RC1 here....no problems.
good stuff :D <<< clicks INSTALL :) ;) |
Looks cool. Nice work :)
[high]* Chris_D clicked Install.[/high] |
Installed and works fantastic, Well with only 1 member it's hard to tell but in time hopefully the board will grow.
Thanks. |
Quote:
|
Paul this hack is lovely although is it possible to make it view to the administrators only? I really don't want it shown up to the other members except the admins.
|
All times are GMT. The time now is 05:23 AM. |
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:
|