WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Slick Social Share Buttons] Stats not working

[Resolved] [Plugin: Slick Social Share Buttons] Stats not working

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author remix4
    Member

    @remix4

    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.

    firebird75
    Participant

    @firebird75

    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!

    Plugin Author remix4
    Member

    @remix4

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Slick Social Share Buttons] Stats not working’ is closed to new replies.