Support » Plugin: Post Pay Counter » Possible to change the 24 hour visit rule?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Also, I’m not a big fan of the fact that when I update one of the settings (such as which users to include in the count) it resets all of my authors views to 0.

    I’m worried that something may happen, and all of the payment information will disappear

    Plugin Author Ste_95

    (@ste_95)

    As for the cookie expiration time, you change by hand line 380 of post-pay-counter.php.

    As of now, it is:
    setcookie( 'post_pay_counter_view-'.$_REQUEST['post_id'], 'post_pay_counter_view-'.home_url().'-'.$_REQUEST['post_id'], time()+86400, '/' );
    You can change 86400 with the duration in seconds you would like.

    As for your second question, it should be noted that only certain settings change trigger a stats regeneration. I understand this may not be the exact wished behaviour, and it will be fixed in future releases for sure (not more than a couple of months with a whole redesign).

    Hope this helps.

    Ok, thanks, changed it to 600… I will see if that is too short of a timeframe.

    Another question, not sure how to phrase it properly, so tell me if it is confusing.

    My writers have been writing articles for nearly a year now, but it seems that the default “stats” screen only shows articles written in the current month. I would like to pay my authors every month for ALL page views that hit their articles, not just for the articles published that month.

    It seems I may have to go in and adjust the time frame to view since my blog started, every time that I want to pay my writers. Is that accurate? I hit the update buttons a number of times, but all that seemed to accomplish was resetting the pageviews to 0

    KJ
    http://fantasyteamadvice.com

    Plugin Author Ste_95

    (@ste_95)

    I understand what you mean. First, keep in mind that the plugin only records visits since when you install it, not before. Secondly, as of now it is not available an accurate and precise visits system, you can not distinguish between visits from this month and the previous ones, they all get grouped together. Future version 2.0 (coming hopefully as soon as Christmas) will add Google Analytics integration and everything will ve much better. Sorry for the delay.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Possible to change the 24 hour visit rule?’ is closed to new replies.