[Resolved] Suggestion – Auto refresh after x seconds
Great plugin Jan!
I can think of several ways to using this if the list of comments would update itself after x seconds, thus creating a commenting experience similar to e.g. Facebook.
How difficult would that be?
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.
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
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?
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…
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.
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.
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.
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
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:
Many thanks indeed,
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…
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.
This describes in a little more detail what I’m trying to do:
- The topic ‘[Resolved] Suggestion – Auto refresh after x seconds’ is closed to new replies.