Follow us on Facebook and Twitter!

Auto update on new comments
I have just added this script to my page, it works perfectly.

Once my page is up and running i would expect a few comments a minute, it would be great to have it automagiclly update itself with the latest comments.

Im using it as a tagwall, with the comment getting sent to a scrolling text display.. and the page displays the previous messages for others to see

So yeah, is it possible for it to continuously check for new comments at an interval of say 10 seconds, and just slot it in above the previous one without hitting refresh or reloading the whole page?


Hi Chris,

Yes it's possible and would be a great feature. However it's quite an extensive change so it may be a while before something like this is added.
Have you completed the interview?
in the mean time, is it possible to remove the #cmtx_form that gets tacked onto the end of the address.. so they can hit reload without it trying to resend form data again and giving then the error saying the message is already sent?
I haven't tested this but I believe the browser will resend the form data whether the #cmtx_form anchor is in the URL or not.

To make sure just open /upload/includes/language/english/form.php and change this (line 28):

PHP Code:

To this:

PHP Code:
Have you completed the interview?
Yep your right.. it got rid of the #cmtx_form but the browser still tries to resend the data.. oh well

Possibly Related Threads…
Thread Author Replies Views Last Post
  Require a minimum length for comments moreno84 2 834 24-Aug-2016, 09:23 AM
Last Post: moreno84
  Auto-pruning old comments and instant approval link via email sfcheng 5 1,596 25-Apr-2016, 10:09 PM
Last Post: MikeDo
  Change Comments Form's elements links to local jackson 5 2,594 08-Feb-2015, 07:01 AM
Last Post: jackson
  delete multiple comments minetick 0 1,414 25-Apr-2012, 02:45 PM
Last Post: minetick
  Latest comments list utaka 5 3,398 31-Dec-2010, 09:05 AM
Last Post: Static
  Closing Comments & Multiple Admins aaddllii 6 3,380 10-Aug-2010, 10:13 PM
Last Post: Steven

Forum Jump:

Users browsing this thread: 1 Guest(s)