WordPress.org

Ready to get started?Download WordPress

Forums

Slick Social Share Buttons
[resolved] Stats not working (4 posts)

  1. firebird75
    Member
    Posted 1 year ago #

    Hello,

    In the Slick Social Buttons Statistics page, the options "Show count" and "Count + Heatmap" aren't working. The latest one "Show buttons" is working fine. I have tried with several browsers (FF 11, IE 9) and I have the same result.

    Also, the delicious counter doesn't seem to be working on the homepage.

    Thanks a lot for your help!

    Olivier

    http://wordpress.org/extend/plugins/slick-social-share-buttons/

  2. remix4
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    The is probably due to your server not allowing allow_url_fopen in your php settings.

    Some hosts may block this for security reasons. if you can access your php.ini file make sure that you set the following:

    allow_url_fopen = On

    Otherwise contact your hosting company and request the above.

  3. firebird75
    Member
    Posted 1 year ago #

    Hi,

    You are 100% right! I needed to add a php.ini file into wp-admin to allow this to work.

    I have one small code improvement suggestion for file dcwp_stats.php on line 127, you might want to replace :
    $dcssb .= $this->get_dcssb_default('show_home') == true ? $this->slick_stats_home() : '';
    with this :
    if (get_option('show_on_front') != "page")
    $dcssb .= $this->get_dcssb_default('show_home') == true ? $this->slick_stats_home() : '';

    This would allow to avoid the situation where if the homepage is a post with a post type of page, it would show up twice in the stats, once as the homepage and once as the page.

    Then another nice feature would be to allow to track history and thus be able to see what recent changes have been but I understand that it might represent some work :)

    Many thanks for your prompt support!

  4. remix4
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Thanks for the suggestion

    Unfortunately tracking would be quite a major update since the counts arent actually stored in the WordPress database. The closest we have so far is our top social share posts plugin, which does maintain count data but not historic so it can only give you counts relative to other posts or total counts across posts or networks.

    The main problem is the relatively heavy load that's potentially required to check all counts on a regular basis.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic