WordPress.org

Ready to get started?Download WordPress

Forums

WP SlimStat Shortcodes
[resolved] [closed] Help with shortcode (7 posts)

  1. lechevo
    Member
    Posted 1 year ago #

    Hi

    Thanks for your plugin

    I need a help for the shortcodes to display these stats :

    Total unique visitors
    Uniques visitors of the day
    Total Page views
    Page views of the day
    Visitors online

    http://wordpress.org/extend/plugins/wp-slimstat-shortcodes/

  2. camu
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. darkagentblog
    Member
    Posted 1 year ago #

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

  4. camu
    Member
    Plugin Author

    Posted 1 year ago #

    Not yet, sorry.

  5. camu
    Member
    Plugin Author

    Posted 1 year ago #

    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

  6. domenico.aurora
    Member
    Posted 1 year ago #

    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?

  7. netbod
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.