WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP SlimStat Shortcodes] Help with shortcode

[Resolved] [Plugin: WP SlimStat Shortcodes] Help with shortcode

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jason Crouse
    Participant

    @coolmann

    this is currently not supported by WP SlimStat Shortcodes, thank you for pointing it out. I have added it to my todo list.

    Cheers,
    Camu

    PS: a vote for my plugin(s) would be a nice way to say thank you.

    darkagentblog
    Member

    @darkagentblog

    have you solved this problem already? i would be happy to use this function on my site

    Plugin Author Jason Crouse
    Participant

    @coolmann

    Not yet, sorry.

    Plugin Author Jason Crouse
    Participant

    @coolmann

    Hi there,

    all the filters have been added to the new version of my plugin.

    Total unique visitors (or Total Unique IPs)

    [slimstat f='count-all' w='ip']

    Uniques visitors of the day

    [slimstat f='count' w='ip' lf='strtotime equals today']

    Total Page views

    [slimstat f='count-all' w='*']

    Page views of the day

    [slimstat f='count' w='*' lf='strtotime equals today']

    Visitors online is usually interpreted as visitors in the last 5 minutes (300 seconds) or so:

    [slimstat f='count-all' w='*' lf='WHERE:NOW() - dt < 300']

    A vote for my plugin would be a nice way to say thank you!

    Have fun
    Camu

    domenico.aurora
    Member

    @domenicoaurora

    Hi Camu,
    after installing the latest version of the plugin WP Slimstats, I see a wrong number of visits today using the code:
    [slimstat f='count' w='*' lf='strtotime equals today']
    I see the total number of rows stored in a database.
    Can you check please?

    Hi Camu

    I have installed WP SlimStat v3.0, WP SlimStat Shortcodes v2.1 (and WP SlimStat Dashboard Widgets v3.0) on a self-hosted WP site. Unless I am making a newbie error, I have the same problem as domenico.aurora above. I get the same results from

    [slimstat f='count-all' w='ip']

    and

    [slimstat f='count' w='ip' lf='strtotime equals today']

    The shortcodes you gave above for total page views and page views of the day also give the same result. This should not be the case for my site.

    In case it is relevant, my WordPress date looks correct in the settings. Further, when I generate a few test page views, the dt field in the database does look consistent with the strtotime for today.

    Please let me know if you need any further info and thank you very much for your work on these plugins.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: WP SlimStat Shortcodes] Help with shortcode’ is closed to new replies.