![]() |
Thank you once again Paul. Very kind of you.
|
Hi Paul:
Well I have tried both $newmembers and $newusers and both give me wrong results. $newusers at this time shows me 8 and in the ADMIN Stats it say 35. If I use $newmembers it shows me a number in the thousands. Strange. |
The user that shows 8 - what timezone are they in ? (the hack takes into account your TZ settings, afaik, the ACP does not).
$newmembers is not used (as per the original hack) - I don't know why, maybe becasue the number format function screws it up ? |
My personal TimeZone is GMT -5 for New York. Showed 8 new members but after a new name showed up as registering, it still showed 8 which is what made me start to wonder. (I had them reversied before with the counts I mentioned)
If I use $newusers and it shows...83479 If I use $newmembers it shows...8 It is weird for the numbers have not changed from this morning. I am using your code in post 18. Code:
// Who Regeistered Today - using Paul Marsden's code |
Okay - as I said originally - it might work - I have never tested it - I'll try it out in a bit and see whats going on. :)
Edit: Actually, scrap that - I can see what's wrong with it - another line is missing - this is what happens when code is copied from one place to another. The missing line is Code:
$now = TIMENOW ; |
Ok, as I have said before....thanks Paul. ;)
This is how it was done in a VB2 hack... Code:
$numbersregmembers=$DB_site->query_first("SELECT COUNT(*) AS todayreg FROM user WHERE joindate > " . mktime(0,0,0,date("m"),date("d"),date("Y")) .""); |
Damn - you posted before I finished > see edit above. :)
|
Well...Hummm....
Registered Today: 8 Still the same as before. Bummmer and I thought that was it! |
That was it - it works fine here - I have tested it on my system.
|
Well it has went up to 9 now. Not sure what it is actually doing the math on. Are we sure it is not per hour? We do over a hundred a day.
|
All times are GMT. The time now is 07:19 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:
|