• Resolved FurySting

    (@furysting)


    First I am wondering if there is a way to easily trim the trailing slash on a page hit url? I have been looking for when exactly you store the page hit in the database so I could look for a trailing slash and trim it. Not super nessecary but would make the onscreen reports on top hits look better for me. It could be a redirect from my pretty permalinks doing the slash hits too.

    My other question is on Daily Average Page Views. (slim_p4_01) For some reason MAX(ts1.count) is returning nothing which makes the chart go to 15000 possible. Programatically it looks correct and AVG(ts1.count) works fine. Fo now I jsut hard coded in ’75’ insread of MAX(ts1.count) so I can see the chart better.

    Anyway, neither is a big deal and probably something I have wonky in my code elsewhere. But if something strikes a chord please let me know.

    Thanks,
    John

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

Viewing 1 replies (of 1 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    The trailing slash is not added by SlimStat. But there’s an hook that you can use to modify all the information right before it’s stored into the database:

    apply_filters('slimstat_filter_pageview_stat', $stat, $browser, $content_info);

    where $stat contains all the info about that pageview.

    Not sure about Daily Average Page Views… I’ll look into that.

    Camu

Viewing 1 replies (of 1 total)
  • The topic ‘Two questions’ is closed to new replies.