WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Suggestion – Auto refresh after x seconds

[Resolved] Suggestion – Auto refresh after x seconds

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author janjonas

    @janjonas

    Hi,

    Thanks for your comment. It should not be that hard to implement this functionality. Nevertheless, it is a bit out of scope. I think this feature should be part of another plugin. Have you already tried to find this functionality in other plugins (for example this one: http://wordpress.org/extend/plugins/live-blogging/)?
    Please leave me a message if you do not find any plugin that provides the feature you are looking for and I will think of creating a new plugin.

    Best Regards,
    Jan

    Plugin Author janjonas

    @janjonas

    Hi Christian ,

    please try out the new developer version 0.12.0 from here http://downloads.wordpress.org/plugin/wp-ajaxify-comments.zip.
    This version includes an extended client-side JavsScript API.
    You can use the function
    WPAC.RefreshComments()
    to refresh the comments on the current page. To refresh the comments each x seconds you can add a custom JavaScript that calls the WPAC.RefreshComments() function periodically.

    Hope this helps …

    Maybe it’d be better to add a button you can click to refresh the comments so they don’t reload while someone is reading them?

    Plugin Author janjonas

    @janjonas

    Hi andy,

    this button should be part of your theme or your customizations because it needs to fit into the existing design/layout. At the moment such “layout features” are out of scope…

    Plugin Author janjonas

    @janjonas

    Functionality is out of scope…

    Plugin Author janjonas

    @janjonas

    The Auto-Update feature is now supported out-of-the-box in the current developer version 0.16.0 (http://downloads.wordpress.org/plugin/wp-ajaxify-comments.zip).

    Sorry for not getting back to you, Jan! But thanks for this update!
    I’ll test it in the near furture.

    Vaughan

    @vaughan-van-dyk

    Thanks so much Jan for going to the trouble of adding this, and Christian for describing it (I had to go through lots of search combinations to find how to describe what we’re looking for).

    I was wondering how I can test this, because I can’t see any refresh/change happening on comments unfortunately (using latest version). I’m using a localhost for now, and have set the idle time to 5000ms (5 sec). Should a message pop up saying it’s refreshing?

    Also, is idle time counted as user completely idle, or just idle on that page (i.e. if the user has the page open in another browser tab but isn’t working in that tab and working in another tab, will it still be idle there?)

    All the best.
    Vaughan

    Plugin Author janjonas

    @janjonas

    Hi Vaughan,

    the idle time is defined per “tab”, i.e. each tab has it’s own idle time counter that refreshes the comments on that tab/page.

    If the comments are refreshed you should see an overlay popup saying “Loading comments, please wait…”. Please turn on the plugin’s debig mode and check your browser console (F12) to see if there are any errors.

    If you have further questions, please open a new support thread or contact me here http://blog.janjonas.net/contact.

    Thanks
    Jan

    andmora

    @andmora

    The auto update doesn’t work because the plugin add to the url ?WPACFallback=1&WPACRandom=1380658258801. If I delete that part of the url, the auto update works perfectly

    Plugin Author janjonas

    @janjonas

    Could you please send me a link where I can reproduce the problem?

    Hi Jan, Vaughan and Christian,

    Hope it’s OK to jump in here. Do any of you know the best way I can have my blog page auto-refresh each time a subscriber clicks through to it? Here’s my recent post about this:

    http://wordpress.org/support/topic/plugin-subscribe2-need-auto-page-refresh-for-blog

    Many thanks indeed,

    Vivek

    Plugin Author janjonas

    @janjonas

    Hi Vivek,

    my plugin only takes car about comments. You can ue the “Auto update idle time” to automatically refresh the comments each x milliseconds. But refreshing the list of existing posts is out of scope. Sorry…

    Hi Janjonas,

    Thanks for clarifying this. I think what I’m looking for must be needed by everyone. Basically a way for all the pages of my WP.org site (not just the blog page) to update when a subscriber (I’m using the Subscribe2 plugin) receives an email notification due to a new blog entry I’ve written.

    If you have any suggestions on how best to do this, I’d be very grateful to know.

    Thanks again,

    Vivek

    This describes in a little more detail what I’m trying to do:

    http://wordpress.org/support/topic/seeking-auto-page-refresh-feature

    Thanks,

    Vivek

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Resolved] Suggestion – Auto refresh after x seconds’ is closed to new replies.