If there are posts in the meantime, we can check that when saving the draft and offer to fetch them then and fetch them AJAXively. It works extremely well for XenForo...
Yes, but you may not 'notice' the new posts, though... In general, you'd want to be informed that there have been more posts.
Also, don't forget that if you have 15 posts on a page, and you post a quick reply, you'll get the post on the same page, so if you're copying the URL of the page to show a friend, they may not see the post you were pointing to, because it's really on the next page, etc...
Short summary about infinite scrolling: I thought I had the 'perfect' UX for this, and implemented it. I was quite happy with it. Then I did some further research, and noticed that another forum software (Discourse) bragged about having infinite scrolling, but it seems like it only does it for topic lists, not for topic pages, so they took the easy way out, I'd say... Unfortunately, from my countless experiences, and observation of other non-forum implementations, I can only say one thing: infinite scrolling is only possible if you have one of these two implementations: either an app setup using a customized JS framework like Backbone.js (which would force a forum system to rewrite its JS entirely), or a setup where you know *beforehand* what the contents of the post will be, and you can control it... Because if you can control it, then you can easily get away with incremental rewrites of your JS to apply to the new posts, and you're good. It is doable for Wedge, *even* for video embeds, but this is where the limitation is: we have no way to know what plugins will do to posts, and while it's unrealistic to expect many plugins to apply JS to a post (and if they do, the author might be aware of things to do to update for the infinite scroll's new posts), and thus it might break at any point, which is not good...
:-/So, two possible solutions, I'd say...
- Rewrite the current JS more thoroughly, to 'ensure' everything will work fine, and expect plugin authors to be aware of this.
- Give up on Ajax loading of new posts, and instead turn my infinite scroller into a generic helper function. This is my fallback idea, and it makes sense: detect 'Previous' and 'Next' links, and if the mouse wheel shows intent to go to Prev/Next, automatically follow these links, which would be applicable to *any* page with a pageindex, such as the topic lists, topic pages, member lists, etc...
I don't really see myself do *both*, but it's also doable, I guess...
To begin with -- what do you think of this fallback solution, is it any good to you..?
The thing is, using iframes and whatnot is really not the best way when you're dealing with individual posts.
I tried iframes as content holders... And I gave up. It sucks, in so many ways. Then I tried iframes as temporary content holders, until I can move their contents to the main page, and destroy the iframe. Problem is: while the events get copied properly, the event's targets stay in the iframe. e.g., if you click 'Delete' on a post, the confirm box shows up in the iframe, not in the main page...
That was a real bummer, for me...
Still, I'm counting on your insights, maybe you're less lost than I am, eh..
;)