• Hey there!
    This plugin works perfect for me on my site, I’ve been running it for almost a year now and I’m very happy with it, except for one thing!

    When I try to change the settings to display all time combined with average daily views, the message Sorry. No data so far. displays.

    It works like a charm with all time combined with total views. All other combinations seems to work as it should as well (Last 30 days + Average daily views etc…)

    The site in question is https://webbhjalp.se (in Swedish, top 6 popular posts on the right, at the moment last 30 days + average daily views.)

    Any idea what the problem might be?

    Thanks for a great plugin!

    // Jens.

    https://www.ads-software.com/extend/plugins/wordpress-popular-posts/

Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter jenseo

    (@jenseo)

    No problem, glad I could help!
    Take care!
    // Jens.

    This is very encouraging. I just logged back on to this thread after receiving a notice to check the thread.

    I found the code that Hector named, selected it and replaced it.

    He wrote: Please open wordpress-popular-posts.php, find this code (around line 717):

    $thumb = “ID).”\” title=\””. $title_attr .”\”>” . get_the_post_thumbnail($wppost->ID, array($tbWidth), array(‘class’ => ‘wpp-thumbnail’, ‘alt’ => $title_attr, ‘title’ => $title_attr) ) .” <!– $tbWidth $tbHeight–>”;

    … and change it for:

    $thumb = “ID).”\” title=\””. $title_attr .”\”>” . get_the_post_thumbnail($wppost->ID, ‘thumbnail’, array(‘class’ => ‘wpp-thumbnail’, ‘alt’ => $title_attr, ‘title’ => $title_attr) ) .”“;

    I did that, however, there are still no thumbnails visible.

    One of the entries above said to be sure to enable thumbnails. I checked and my theme is Twenty Ten, which has this line near the top:
    // This theme uses post thumbnails
    add_theme_support( ‘post-thumbnails’ );

    Do I need to add a size line of code as well? (You said for example,// Enable post thumbnails
    add_theme_support(‘post-thumbnails’);
    set_post_thumbnail_size(80, 80, true);

    Now I am going to check this which was suggested by Jens:
    https://www.ads-software.com/extend/plugins/regenerate-thumbnails/

    It is a bit late so maybe I’ll sleep on it. Maybe things will be different tomorrow.

    Cheers// Ralph

    One final question: What size were the thumbnails prior to the deletion of Tim Thumb?

    I found those to be good. If I do a custom size, I’d like to have it be what you used to have, because it left room for enough text (though I’d like an option for more text if possible).

    Thanks!

    Plugin Author Hector Cabrera

    (@hcabrera)

    Default size was 15×15 if I remember correctly.

    Thanks, Hector. As I noted above, I changed the code:

    I found the code that Hector named, selected it and replaced it as I described above:

    He wrote: Please open wordpress-popular-posts.php, find this code (around line 717):

    $thumb = “ID).”\” title=\””. $title_attr .”\”>” . get_the_post_thumbnail($wppost->ID, array($tbWidth), array(‘class’ => ‘wpp-thumbnail’, ‘alt’ => $title_attr, ‘title’ => $title_attr) ) .” <!– $tbWidth $tbHeight–>”;

    … and change it for:

    $thumb = “ID).”\” title=\””. $title_attr .”\”>” . get_the_post_thumbnail($wppost->ID, ‘thumbnail’, array(‘class’ => ‘wpp-thumbnail’, ‘alt’ => $title_attr, ‘title’ => $title_attr) ) .””;

    I did that, however, there are still no thumbnails visible.

    I just downloaded and used the Regenerate Thumbnails plug-in that had been mentioned above, and I then uploaded one of the posts, and still no thumbnails appear.

    Should I make other changes?
    Thank you for your managing this big event.
    //Ralph

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hey Ralph,

    You gotta add each thumbnail using the Featured Image functionality on each post listed as popular by my plugin. Otherwise, WPP will keep displaying the default thumbnail image.

    Thanks for the rapid feedback. I will have time in a short while to check and see if I can find a designated image link on all my posts. I looked earlier and could not find that control (I had seen it earlier on postings).

    My question is that WPP is not displaying any thumbnail image.

    Here is the site: https://naturalconnectionshealthcare.com/blog/

    I looked in the Media folder and perhaps I do not have permission to even see where the thumbnails are located. They are being generated because that media list is constructed of thumbnails.

    I will delete the image on one of my postings and then reinstall and maybe that will do the trick. Gotta eat dinner first. This is like a video game, invigorating. Thanks for the wisdom, Héctor!

    No luck. I deleted the image on the Play As Medicine entry. Then uploaded it again, designated it as the featured image, then clicked save and it showed where it was supposed to show.

    But on the Popular Posts menu it does not show up.

    Sigh. Ready for new ideas.

    I checked Properties on the blog posting’s thumbnail “ghost” and it had this identifier for the non-visible thumbnail:
    https://naturalconnectionshealthcare.com/blog/wp-content/plugins/wordpress-popular-posts/scripts/timthumb.php?src=https://naturalconnectionshealthcare.com/blog/wp-content/uploads/2010/11/play_cover-150×150.jpg&h=50&w=50&zc=1

    Does that help you think about what might be amiss in generating and attaching thumbnails?
    Thanks

    Oh… I just read the text and it says timthumb.php

    So an exorcism is in order. Right? How do I clean up the landscape?

    Plugin Author Hector Cabrera

    (@hcabrera)

    I already replied to this in another thread, however just in case someone else read this thread: the issue described by drwilson is resolved with WPP v2.1.6.

    For the sake of completion and to compliment Héctor:

    The Exorcism is complete. No more “ghost” thumbnails; TimThumb has disappeared and my blog is now alive and functioning perfectly now that I updated with WPP v2.1.6.

    Best of the Fall and Year-End to all.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi jenseo,

    A short update on the original issue posted here (avg. views not displaying data). Today I finally sat down in front of my computer, found out why that setting wasn’t working and fixed it. I will continue to test the patch in the next couple of days to make sure everything works as expected and then push a plugin update. Shouldn’t take too long.

    hi everyone

    this post is related to my issue

    i add more then one pic in post and when i share post on facebook via sharethis buttons,i only see 1 pic in thumbnail….mostly 1st pic of the post..its happend with my 2 sites

    my other site showing all pics in thumbnail

    plz its serious issue for me…i hope someone help me

    Site link: fbgamingzoon.com

    Thankyou

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi gaming zone,

    I’m sorry, how is that related with the topic of the thread (“All-time average daily views problem”)? Also, what does that have to do with the WordPress Popular Posts plugin?

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘[Plugin: WordPress Popular Posts] All time -> average daily views problem’ is closed to new replies.