Viewing 15 replies - 1 through 15 (of 45 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there,

    Just checked your site and it appears that thumbnails are being generated using a different method than the one built-in in the plugin, so my guess is that you’re using either WPP’s filter hooks or a modified version of WPP.

    Thread Starter Amilus

    (@amilusc)

    Hi, thank you for your prompt reply!

    I used the following code to achieve the popular post layout on my site:

    <?php wpp_get_mostpopular("range=weekly&limit=1&excerpt_length=180&stats_date=1&thumbnail_width=700&thumbnail_height=485&post_type='post'&stats_category=1&stats_views=0&post_html='<li>{thumb}</li><li>{title}{summary}{stats}</li>'"); ?>
    </div>
    <div id="most-liked-side">
    <?php wpp_get_mostpopular("range=weekly&limit=3&thumbnail_width=130&thumbnail_height=130&post_type='post'&post_html='<li>{thumb}</li><li>{title}</li>'"); ?>
    </div>

    How should I modify it to get it right?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Please forget what I said before, I had just woken up and didn’t check your site’s code properly.

    I’ll look into it and post back later.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    A backtick is just the character itself, next to your 1 key. Not the word “backticks”. ??

    Plugin Author Hector Cabrera

    (@hcabrera)

    Thanks for the quick help, Otto!

    Thread Starter Amilus

    (@amilusc)

    Thanks Samuel!

    Thread Starter Amilus

    (@amilusc)

    Also does the MPP thumbnail work with gif image?
    One of my posts featured image is in gif format and cannot be displayed on MPP:

    See the 3rd most liked on the most liked side bar on the index:
    https://a-unefille.com/

    the gif thumbnail works fine in the grid and in the post. but not showing in MPP.

    Thanks!

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright, just checked on my test site and both the thumbnail and the post title are using the correct URL. I am, however, using a much newer version of the plugin. Could you please try WPP v.3.2.0 Beta 1 and let me know if it fixes the issue?

    How to:

    1. Backup your site, including the database (not really necessary but better safe than sorry).
    2. Go to Plugins and disable WordPress Popular Posts 3.1.0 (do not uninstall it or else you’ll lose your popular posts data!)
    3. Download the latest beta version from here and upload it to your site either using WordPress’ built-in zip uploader (wp-admin > Plugins > Add New > Upload plugin), or via FTP to your wp-content/plugins folder (but make sure you unzip the plugin first).
    4. Go to Plugins and enable WordPress Popular Posts 3.2.0 Beta 1 (hover on the Activate link, the URL will display wordpress-popular-posts-3.2.0-beta-1 in it).
    Thread Starter Amilus

    (@amilusc)

    Hi Hector,
    thanks for your great help!
    I followed the steps and now the thumbnail url problem is seen to be fixed!
    However I now have 2 WPP plug-ins on my plug-in list, and both of them are shown the same version 3.1.1 (one activated and one deactivated). Can I delete the deactivated one or must I keep it there?

    The 2nd problem is that the WPP thumbnail isn’t showing the gif featured image.
    Does WPP thumbnail support gif file?

    Many thanks again!

    Thread Starter Amilus

    (@amilusc)

    P.S. Another problem is that now the WPP on the right side only shows 2 posts instead of 3 posts.

    I haven’t changed any of my code mentioned above.
    May I know what is causing this problem?

    Thank you in advanced!

    Plugin Author Hector Cabrera

    (@hcabrera)

    Can I delete the deactivated one or must I keep it there?

    You can delete it via FTP. Don’t use the delete link, otherwise you’ll also lose WPP’s data in the process.

    The 2nd problem is that the WPP thumbnail isn’t showing the gif featured image.
    Does WPP thumbnail support gif file?

    GIF files should be fine. I’ll look into it.

    Another problem is that now the WPP on the right side only shows 2 posts instead of 3 posts.

    I haven’t changed any of my code mentioned above.
    May I know what is causing this problem?

    Can’t tell for sure. I’ll come back in a few hours after a good night sleep.

    Thread Starter Amilus

    (@amilusc)

    Hi Hector,

    The first problem has been solved, the top 3 posts are all being displayed now.

    However I still could not figure out the non-shown gif thumbnail problem.
    The gif featured image functions well everywhere else but not in WPP…

    Plugin Author Hector Cabrera

    (@hcabrera)

    Just checked the issue you mentioned with GIF images and it works for me – I even used the same one from your article. Try recreating the thumbnails:

    1. Go to wp-admin > Settings > WordPress Popular Posts > Tools.
    2. Click the Empty image cache button.
    3. Visit your home page so WPP generates the thumbnails of the popular posts on the list again.
    Thread Starter Amilus

    (@amilusc)

    Hi Hector,

    I followed your step to empty the image cache.
    After the first refresh on my homepage the gif thumbnail shows the default no thumbnail image, then the 2nd try it is again the non-display image file.

    I tried to re-upload the gif file to featured image, also tried to use a random gif file I saved from tumblr, but still the same problem.

    I also tried to put the gif file as the first image in the post, and switch the thumbnail setting to “first image” instead of featured image. Still the same.
    It works perfectly when it’s a still jpg file though.
    (I empty the image cache each time before testing all the above methods).

    Please help ??

    Plugin Author Hector Cabrera

    (@hcabrera)

    Since I’m unable to reproduce the problem, I’d need access to your site in order to figure out what’s wrong over there and fix it.

    If you’re OK with that, get in touch with me via hcabrerab at gmail.

Viewing 15 replies - 1 through 15 (of 45 total)
  • The topic ‘Thumbnail URL does not support on multi-language site’ is closed to new replies.