Support » Plugins and Hacks » Infinite-Scroll » Sociable plugin breaks with Infinite-Scroll 2.6

  • Hi!

    I just updated to Infinite-Scroll 2.6 (from 2.5?.. I originally downloaded it just a few days ago), and noticed that the Twitter and G+ icons (which the Sociable plugin puts after each post) are only being displayed on the first visible posts. When Infinite-Scroll kicks in, the FB icon appears fine, but the Twitter icon is just a text link, and the G+ icon has disappeared.

    Here’s the site: http://www.keriwilk.com

    I’m using the Genesis framework with the Outreach theme.

    Is it possible to have the previous version sent to me? It seemed to be working perfectly for my purposes (very basic). Let me know if you’ve got any suggestions on how to get this up and running again, or if you know of any sociable media link plugins that are compatible with IS. Thanks in advance,

    Keri

    http://wordpress.org/extend/plugins/infinite-scroll/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Glenn Nelson

    (@glenn-nelson)


    Might be an issue involving the callback not working properly. This is a bug that I will be releasing a fix for in the next few hours.

    Thanks for the quick response! Looking forward to the resolution.

    Plugin Author Glenn Nelson

    (@glenn-nelson)


    @reefnet The new version was pushed last night. Try updating to the latest 2.6.1 – this may help solve your issue.

    i’m expiriencing something similar with Sharethis plugin on this page

    roge.dk

    and i just updated to 2.6.1

    Hi Glenn,

    Thanks for the quick response. Unfortunately, the problem persists 🙁

    Plugin Author Glenn Nelson

    (@glenn-nelson)


    @reefnet @mwinyi What, if any, callbacks/behaviors do you have? A screenshot might be helpful.

    I’m not really that familiar with web development, so I’m not really sure how to answer that. The only customization that I’ve done has been adding a few plugins to the site, but even when they’re all disabled, the problem is there. If you’re asking what callbacks I’ve specified in the Infinite-Scroll Options, the answer is none. Should I be entering the callback for the Sociable plugin? Screenshot of what – the problem on the front-end of my site, or the options screen of Infinite-Scroll?

    You can see the problem if you visit my site:

    http://www.keriwilk.com

    Thanks!

    Plugin Author Glenn Nelson

    (@glenn-nelson)


    @reefnet If you could post all of your settings, or a screenshot. Additionally could you post a list or screenshot of your plugins?

    Here is a screenshot of the plugins installed:
    Plugins-Installed

    And here are the Infinite-Scroll options (all default values):
    Infinite-Scroll-Options

    i don’t have any callbacks setup..

    here’s the list of plugins installed and activated:

    All in one Favicon
    Bloglovin Follow
    Contact Form 7
    Cudazi Scroll to Top
    Disable WordPress Core Updates
    GTranslate
    infinite Scroll
    SEO Ultimate
    ShareThis
    Simple Lightbox
    Spam Free WordPress

    besides share this, simple lightbox stops working as well, but they are already working on a fix.

    Plugin Author Glenn Nelson

    (@glenn-nelson)


    @mwinyi For the lightbox, it is a matter of having a callback that puts the proper event handlers on the right elements. Something like:

    $(“#lightbox-trigger”).lightbox({ /* options */ });

    As for the social media icons, those are generally activated via Javascript when the page loads. The solution would be to find what JS does the actual rendering of the elements into the social media buttons and adding that to the callback.

    the script looks like this <script charset=”utf-8″ type=”text/javascript” src=”http://w.sharethis.com/button/buttons.js”></script> so i assume that is what you are refering to right?..

    how would i do the callback then?.

    Plugin Author Glenn Nelson

    (@glenn-nelson)


    @mwinyi Not exactly. There is probably some function that would need to be called to render the elements the have been put on the page. The general setup for it is probably something like:

    $(function() {
      $(".button").social-button-render();
    });

    try this one, works for me

    var el = document.body; 
    
    //Google Plus
    if (typeof gapi !== "undefined") { gapi.plusone.go(el); }
    
    //Facebook
    if (typeof FB !== "undefined") { FB.XFBML.parse(el); }
    
    //Twitter
    if (typeof twttr !== "undefined") { twttr.widgets.load(); }
Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Sociable plugin breaks with Infinite-Scroll 2.6’ is closed to new replies.