![]() |
Yes.
|
Hi,
Thanks for the great hack...:rolleyes: Is it possible to show today's visitors as well? Thanks again! |
Hi, Paul M. I am using 3.0.7, I am trying to show last 24 hours instead of today but it doesn't work, only show today.
Index.php - $cutoff = TIMENOW - (substr($tnow,8,2)*3600 + substr($tnow,10,2)*60 + substr($tnow,12,2)); //$cutoff = TIMENOW - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## // I did try remove the comment line // infront $cutoff. Any clue or am I doing wrong? Thx |
Quote:
i.e. those two lines become ; Code:
$cutoff = TIMENOW - 86400 ; |
Hi Paul,
Do u think that I can use this hack an display visitors as well, or should I use another one? Thanks |
I don't really understand what you mean by "display visitors", do you mean guests ?
If so then you cannot do it, no record is kept of guests. |
yeap I meant guests (i seperate them in 2 groups users and visitors)...
ok, thanks anyway... |
Hi Paul, thanks for help, I followed what you said.
But "Last 24 hours" text doesn't show, just "visited today"... Now index.php shows: $tnow = date('YmdHis',TIMENOW - $vboptions['hourdiff']); $cutoff = TIMENOW - 86400 ; |
Quote:
|
oh okay, I've edited the template. No problem so far. This is great mod hack! Thank you :)
|
All times are GMT. The time now is 03:57 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:
|