Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    Did you update both plugins?

    Thread Starter mth75

    (@mth75)

    Yep, i did.

    Plugin Author Jason Crouse

    (@coolmann)

    And you are not filtering yourself, are you? (In the settings)

    Thread Starter mth75

    (@mth75)

    Thats right

    Plugin Author Jason Crouse

    (@coolmann)

    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

    Plugin Author Jason Crouse

    (@coolmann)

    I will run some tests and let you know.

    Thread Starter mth75

    (@mth75)

    Thx, my website (still in development) is https://www.starry-night.nl, so you can look at it.

    Plugin Author Jason Crouse

    (@coolmann)

    I think I know what the problem is: your DB server is using a different timezone than your WordPress blog.

    Plugin Author Jason Crouse

    (@coolmann)

    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).

    Plugin Author Jason Crouse

    (@coolmann)

    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′]

    Plugin Author Jason Crouse

    (@coolmann)

    @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.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Currently Online ZERO as result’ is closed to new replies.