Ger wrote: ↑
Tue Jun 12, 2018 9:54 am
Doing this properly -for instance taking other users posting at the same time into account like David63 mentioned- will prove quite a headache. I have investigated that for my Live Topic Update extension and chose not to ajaxify that since there isn't a proper way to do it from an extension. It would require building almost a copy of
into the extension, handling all notifications, permissions, events, etc.
Also, a page refresh isn't the end of the world IMO.
Get last post id on page & check if max posts per page is hit, check db for last post id of topic, if they match then ajax, if not then page refresh?
Could be an ok solution to semi ajaxify it, would get around rebuilding viewtopic.php.
I believe mybb has some sort of ajax quick reply, it's kinda nice. iirc it's actually the method I described above.