WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] [closed] Like button 'Loading...' (36 posts)

  1. tfindley
    Member
    Posted 1 year ago #

    I have enabled the new 'Like' button for my posts. When I view the post (both as a registered user and as a anonymous user) the button appears greyed out with the text 'Loading...' next to it.

    Firebug code reports the following:

    <div id="like-post-wrapper-6633141-1071" class="sharedaddy sd-block sd-like jetpack-likes-widget-wrapper jetpack-likes-widget-unloaded" data-name="like-post-frame-6633141-1071" data-src="http://widgets.wp.com/likes/#blog_id=6633141&post_id=1071&origin=http://tfindley.co.uk">
    <h3 class="sd-title">Like this:</h3>
    <div class="post-likes-widget-placeholder" style="height:55px">
    <span class="button">
    <span>Like</span>
    </span>
    <span class="loading">Loading...</span>
    </div>
    <span class="sd-text-color"></span>
    <a class="sd-link-color"></a>
    </div>
    </div>

    I can replicate this using Firefox and Chrome.
    WordPress has W3 Total Cache (with Amazon CDN) enabled, and Bulletproof Security.

    Regards

    http://wordpress.org/extend/plugins/jetpack/

  2. thGhostInnkeeper
    Member
    Posted 1 year ago #

    I have the same problem.

  3. tfindley
    Member
    Posted 1 year ago #

    What theme are you running? Mine is a GoodLayers theme (The Gallery).
    Also, what plugins have you got installed? There might be something we're both running that is causing this.

  4. thGhostInnkeeper
    Member
    Posted 1 year ago #

    My theme is Elemine and I've installed only Jetpack 2.2
    http://theghostinnkeeper.com/blog/uncategorized/hello-world/
    I had activated the gravatar-like plugin, but I deleted it as soon as I installed Jetpack.
    (My english is not good, sorry)

  5. notawoodpecker
    Member
    Posted 1 year ago #

    Mine's working in TwentyTen (with a child theme) and the Likes show up in the Notifications like they sued to on the .com version.

  6. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @thGhostInnkeeper I had a look at your site, and it seems that your theme doesn't include any closing </body> and </html> tags. Could you fix your theme, and let me know if that helps?

    @tfindley Could you post your site URL here, so I can have a look?

    If you want it to remain private, you can also contact us via this contact form:
    http://en.support.wordpress.com/contact/?jetpack=needs-service

  7. thGhostInnkeeper
    Member
    Posted 1 year ago #

    Hi Jeremy!
    I've checked: the tags are present - in the file footer.php
    Maybe the problem is in the single.php
    I'll try to verify. However, everything works fine - except the button.

  8. pawparazzo
    Member
    Posted 1 year ago #

    I'm experiencing the same issue with the Like button greyed out and showing only, "Loading ..." The issue is intermittent. Some pages show the Like "loading.." , others display the Like button properly.

    I have confirmed that our theme (using Avada theme) does have the closing </body> and </html> tags in place.

    This LIKE feature is a fantastic plus - sure would like to get it working properly. Any feedback is much appreciated.

  9. notawoodpecker
    Member
    Posted 1 year ago #

    This LIKE feature is a fantastic plus -

    Yeah, now if we could get included in the .com Reader .......

    I thought I read somewhere it was supposed to be working, but it isn't. Maybe it's a future thing.

  10. thGhostInnkeeper
    Member
    Posted 1 year ago #

    Problem solved!... At least, so it seems.
    I deactivated Jetapack. Then I turned off my theme (Elemin) and I chose another one (Twenty Twelve). I checked the button "Like this" was in place. Then I deactivated Twenty twelve and I reactivated Elemin.
    Now the Like button works.

  11. waffenss
    Member
    Posted 1 year ago #

    Mine work for post, but in my separate video section of theme is says loading constantly

  12. mortenandersen
    Member
    Posted 1 year ago #

    Same issue. Cannot get the Likes button to work. I have also checked that I have both the body and html closing tags.
    http://www.mortendalgaardandersen.com

  13. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @pawparazzo It seems you have managed to solve the issue; I was able to Like both of the pages you linked to in your latest post.

    @notawoodpecker Your posts will be included in the WordPress.com Reader, if WordPress.com users subscribe to your site. But your posts won't appear in the Topic Pages, since these pages only list WordPress.com posts.

    @waffenss Could you post your site URL here, so I can have a look?

    If you want it to remain private, you can also contact us via this contact form:
    http://en.support.wordpress.com/contact/?jetpack=needs-service

    @mortenandersen The Likes module doesn't seem to be active on your site at the moment. Could you try to go to the Jetpack menu, and activate the module?

  14. pawparazzo
    Member
    Posted 1 year ago #

    @Jeremy Herve: Thanks for the feedback - but - oddly, I am still seeing the "Like Loading.." on the one page that we listed above. When you indicated that you were able to LIKE both those links, I thought perhaps it was a browser issue (Was using Safari 6.0.2) .. so tried it on FireFox and Chrome - but no joy - the LIKE still indicates Loading..

    I see that you were able to LIKE the other page that did load properly, but the problem page does not show your "Like" and still displays "Loading.." for us. Strange indeed.

  15. tfindley
    Member
    Posted 1 year ago #

    @Jeremy Herve
    My site is: http://tfindley.co.uk
    the plugin is only enabled on posts, so go to news

    I tried @thGhostInnkeeper 's solution and that unfortunately did not work.

  16. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @pawparazzo Although I can click the Like button, when I reload the page my Like disappears. Strange... Could you try to disable all cache plugins on your site, and let me know if it helps?

    @tfindley Could you also try to disable your cache plugins?

    I noticed that both of you use CloudFront to serve some of the resources on your site, and I wonder if that could be what's causing the problem.

  17. tfindley
    Member
    Posted 1 year ago #

    @Jeremy Herve
    I've just tried disabling W3 Total Cache and then opened the site on a new browser session with no cache. No luck I'm afraid. Exactly the same issue in exactly the same way.

    I would offer to leave W3 disabled but due to the larger amount of media on my site I can't leave it disabled for long due to performance issues.

  18. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @tfindley Could you try disabling CloudFront for a few minutes?

  19. pawparazzo
    Member
    Posted 1 year ago #

    @Jeremy Herve: I have turned off a couple of plugins.

    1) WP Super Cache
    2) Shareaholic (This is where the Cloudfront resources were being generated from)

    Unfortunately - the "Like Loading.." issue still seems to persist with these plugins disabled.

  20. mortenandersen
    Member
    Posted 1 year ago #

    @Jeremy Herve

    I have re-enabled the Like button and disabled caching from Cloudflare and W3 Total Cache.

  21. mortenandersen
    Member
    Posted 1 year ago #

    Strange... I just tested Internet Explorer (64-bit) and it worked once, but now stopped working again. I have tried in Firefox and Chrome with no luck.

    Oh, and I checked that it worked on other sites and it does. So the problem is probably not browser related.

  22. mortenandersen
    Member
    Posted 1 year ago #

    Disabling the cache seemed to do the trick for me after a while. I have now successfully re-enabled Cloudflare and will try with W3 Total Cache later to see if it works.

    Could you please implement the css styles in the plugin, instead of fetching them from your server? It makes it just about impossible to style the Like button, e.g. if you want to make the font match your sites.

  23. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    I've let our Like experts know about the issue so that we can look into it in more detail.

    I'll keep you posted.

  24. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @pawparazzo Is this page a Custom Post Type? If so, that might explain the issue. Likes don't work well with Custom Post Types at the moment, so we'll need to work on a better way to handle Custom Post Types within Jetpack.

  25. pawparazzo
    Member
    Posted 1 year ago #

    @Jeremy Herve: Both of the sample pages that I included in my original comment are Avada Custom Post Types - They are both Portfolio posts from within our Theme (Avada).

    Gallery Page 1 [Like Breaks]
    Gallery Page 2 [Like Works]

    That's why I was confused that one of these pages consistently shows the like loading properly and the other does not.

  26. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks for the extra details. That explains the issue. We didn't work on Likes for Custom Post Types, that's why it doesn't fully work at the moment.

    I would recommend that you disable Likes on your Portfolio pages until we start supporting Likes on Custom Post Types.

  27. edelleye
    Member
    Posted 1 year ago #

    I had the same or similar issues with the Like button. When I made a totally new post, Like's worked. This was not the case with custom or migrated posts and pages, no matter what category they were listed under.

    However, when I went and simply updated each of the posts. Note, nothing had changed, but I updated anyway...the Like button came back. I did not get the past likes back...as in those that were received while it was a WordPress.com post, but the Like option appeared and is fully functional on all of the updated pages and posts.

    Edelleye.com

  28. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @edelleye Thanks for the report!

    Could you let me know how you imported these posts in the first place, so I can try to reproduce the problem?

    Could you also try to go to the Jetpack menu, and disconnect / reconnect to WordPress.com?

  29. edelleye
    Member
    Posted 1 year ago #

    I used the export to *.xml function within WordPress.com, then imported via WordPress plugin. Note, there were errors, some of the gallery content did not come over properly.

    I tried the disconnect, reconnect as suggested. It did not appear to have any affect...e.g. the Posts with bad Likes Button didn't change, the updated posts still had a functioning Like button, none of the WordPress.com Likes received transferred over to the post pages.

  30. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks so much for the extra details! I was able to reproduce the problem on a test blog. We'll work on a fix, and I will post again here as soon as we have a solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.