Support » Plugins » [Live Blogging] Auto-updating not occuring

  • itsalltech1

    (@itsalltech1)


    Hello.

    I’m trying to setup the Live Blogging plugin on my WordPress site. Everything works fine, but auto-updating doesn’t work. For example, I’ll publish an update and wait five minutes for the update to automatically appear in the live blog. It doesn’t.

    If I refresh the page, the update is there.

    Any ideas/thoughts?

    Thanks.

Viewing 15 replies - 1 through 15 (of 31 total)
  • chrisnorthwood

    (@chrisnorthwood)

    Are there any errors in your JavaScript console?

    itsalltech1

    (@itsalltech1)

    The only possible related message:

    “ReferenceError: Can’t find variable: pollsL10n.” The rest are related to Google Ads…

    EDIT: Here is another one:

    “Uncaught ReferenceError: swfobj is not defined”

    chrisnorthwood

    (@chrisnorthwood)

    That doesn’t sound like an error relating to Live Blogging, but if it occurs, it could stop live blog updating occuring

    itsalltech1

    (@itsalltech1)

    So, how do you recommend I fix the issue?

    chrisnorthwood

    (@chrisnorthwood)

    Without knowing more info, my first bet would be to try and find the JavaScript bug in the other plugin and fix it.

    itsalltech1

    (@itsalltech1)

    I tried deactivating all of my plugins to no avail. Updates still are not being posted automatically.

    bplevyak

    (@bplevyak)

    I had the same problem today right after bumping up to 3.2. The only way to fix was to drop back down to the previous version, then auto-updating worked again.

    This plugin IS a life saver though, so THANK YOU. If there’s any way you’d consider some smart logic to auto cut off text early and toss the first hyperlink it finds as a short link at the end of the tweet, that would be SWEEEEET.

    itsalltech1

    (@itsalltech1)

    I am updated on WordPress 3.2, but I don’t have the time to downgrade back to WordPress 3.1.

    I wonder if we can track down what the issue is on WP 3.2?

    chrisnorthwood

    (@chrisnorthwood)

    I’ve just updated my blog to 3.2 to test – it appears the jQuery AJAX success function isn’t being called when you use the polling method. I’ll try and investigate further.

    One workaround is to use the Meteor server for updating until I fix the bug.

    itsalltech1

    (@itsalltech1)

    Sounds good. Any chance you have an ETA?

    bplevyak

    (@bplevyak)

    Chris, thanks. I can’t tell you how much I love this plugin.

    While you are in there, if you can check into a couple more requests…

    1. If I add a live blog entry and back-time it, can it show up at that stage when the page refreshes, rather than the time it was entered? I back-timed a couple but they just showed up with the proper time in the text, but not in the proper order (they just showed at the top).

    2. If you could figure out a way to make the auto-twitter grab the first link it finds in a live blog post, and turn it into a short bit.ly or otherwise link at the end, I know this is tough, that would be really neat. Right now it just ignores any http and only does text.

    chrisnorthwood

    (@chrisnorthwood)

    itsalltech1: No ETA I’m afraid. Perhaps sometime this month.

    bplevyak: I’m afraid your first point is answered by the FAQ here: http://wordpress.org/extend/plugins/live-blogging/faq/ – it’s not really something I have the time to commit to atm. Feel free to contribute patches though (I’m tempted to put it up on Github and use git-svn to get it back up the WordPress SVN repo).

    Number 2 is pretty tricky, but doable. However, my problem is that I don’t have much time to develop this plugin at the moment, even finding time for bug fixes is tricky, so I can’t promise that I’ll do this, or when it’ll be done.

    bplevyak

    (@bplevyak)

    I just appreciate you responding Chris. We’re gonna look into Meteor too. Totally understand what a rare commodity that FREE TIME is these days.

    Again thank you so much for even taking the time to reply to this thread. Even that shows you stand by your work, really cool.

    buddybonesbones

    (@buddybonesbones)

    I modified the plugin so that the polling works with wordpress 3.2.1.
    I haven’t done extensive testing, but it is working for me with my current setup of wordpress 3.2.1. I just thought I’d share here in case someone else would like a copy of my unofficial update.

    I’m not sure which of the following changes made it work but here are the two main things I did.

    remove the third parameter (id) from the javascript setTimout() calls and moved it into the first parameter (the function called by the timout) using a closure.

    change the jQuery.post() data type from ‘application/json’ to ‘json’ and then remove the line of code that converts the rsponse (because jquery does this automatically).

    that’s all.

    itsalltech1

    (@itsalltech1)

    Awesome news. Any chance you can just post the entire plugin with the update? THanks.

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘[Live Blogging] Auto-updating not occuring’ is closed to new replies.