WordPress.org

Ready to get started?Download WordPress

Forums

Post Pay Counter
Possible to change the 24 hour visit rule? (5 posts)

  1. fantasyteamadvice
    Member
    Posted 9 months ago #

    My blog typically has repeat visitors many times per day, and I get paid for those ad views, and would thus like to pass along the payments to my authors.

    Is there a way to change the cookie settings so that it counts views more than once in a 24 hour period?

    http://wordpress.org/plugins/post-pay-counter/

  2. fantasyteamadvice
    Member
    Posted 9 months ago #

    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

  3. ste_95
    Member
    Plugin Author

    Posted 9 months ago #

    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.

  4. fantasyteamadvice
    Member
    Posted 9 months ago #

    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

  5. ste_95
    Member
    Plugin Author

    Posted 9 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.