Great hack, and I've gone live with this on my ~400 online users forum.
I notice that posts are fetched again when they are edited, but it's not reflected on the actual post. Could you add the "edited by"?
Also; I think you should add an option to display a message/gfx in the pulled post. This will make it clearer for the reader what exactly happended. I hacked it myself, but I think this is something that should be in the product.
There should also be an indicator in the thread telling the user that this thread is a live thread, and the thread should also be updated to reflect that the user is no longer active or the thread is no longer active if this should occur while the user is idling on the thread.
For those interested, this is what I added.
The english might be bad, the styles should be in classes in the style and the text should be in phrases -- but you get what you pay for
---
In postbit_legacy (if you are not using this you are on your own):
Code:
---- after:
<!-- message -->
<div id="post_message_$post[postid]">
---- add:
<if condition="$post['livetopic']">
<fieldset style=" padding: 5px; margin-bottom: 20px; background-color: #FFF8DD; border: 1pt dashed red;">
<img alt="live topic" src="/forum/images/statusicon/thread_livetopic.gif" title="live topic"/> <span style="font-weight: bold;">This post has been added by another user.</span> <br /><br />
Since this is an active topic, this post has been automatically added to the thread while you were reading it. If you are replying to this thread you might want to read this post before doing so.
</fieldset>
</if>
In <forumdir>/includes/livetopic_hooks.php
Code:
---- before:
if ($post['attach'])
{
---- add:
$post['livetopic'] = 1;
---
Screenshot-text in Norwegian, but I'm assuming you all read that flawlessly.