Re: Which filter/action hook should I use?
Look again at this tonight I see all the magic would have to happen in “post-form.php” and unfortunately it would need a simple edit.
<textarea name="post_content" cols="50" rows="8" id="post_content" tabindex="3"></textarea>
would have to be edited to something like
<textarea name="post_content" cols="50" rows="8" id="post_content" tabindex="3"><? quote_post(); ?> </textarea>
Even though there is do_action( 'post_form_pre_post' );
just above it, there is no way to manipulate the textarea content without javascript. It’s a shame they didn’t think of that.
So quote_post() could just look for the added arg to the URL and insert the formatted quoted text in the textarea. Then a simple quote button on each post in the topic to trigger the new post.
ie.
?new=1"e_post=1873
If you don’t write it, I’ll take a shot at it.