Did you update both plugins?
And you are not filtering yourself, are you? (In the settings)
And the corresponding report in the admin is not empty?
Thread Starter
mth75
(@mth75)
The report gives the right value. I.m using the database plug-in btw
I will run some tests and let you know.
Thread Starter
mth75
(@mth75)
Thx, my website (still in development) is http://www.starry-night.nl, so you can look at it.
I think I know what the problem is: your DB server is using a different timezone than your WordPress blog.
I am looking at the issue.
Thread Starter
mth75
(@mth75)
I followed your suggestion:
What you need is something a little more elaborated, in this case:
[slimstat f=’count-all’ w=’*’ lf=’WHERE:UNIX_TIMESTAMP( CONVERT_TZ( NOW( ) , ‘+00:00’, ‘-05:00′ ) ) – dt < 300’]
Where -05:00 is your current timezone (UTC+??)
I live in a GMT+1 zone.
The result: 187 (i got almost no visitors and 2 registered users)
I wonder: the * as w parameter, select all column’s doesn’t it? I substituted the * parameter with ‘user’, result 2 (also wrong, only one user logged in), i substitutes the * also with ‘ip’ (all visitors and members in my opinion) result: 4 (should be 1).
There you go:
[slimstat f=’count-all’ w=’ip’ lf=’WHERE:UNIX_TIMESTAMP( CONVERT_TZ( NOW( ) , “+00:00”, “+01:00” ) ) – dt < 300′]
Single quotes needed to be replaced with double quotes, as single quotes delimit the filter expression as a whole.
Thanks camu this code resolve my online user issue.
[slimstat f=’count-all’ w=’ip’ lf=’WHERE:UNIX_TIMESTAMP( CONVERT_TZ( NOW( ) , “+00:00”, “+01:00” ) ) – dt < 300′]
@budnull, great! I’ll add it to the FAQs!
Thread Starter
mth75
(@mth75)
This no accurate result. I got 3 people in the dashboard stats, 1 as result from the short code.