Skip to:

Re: Which filter/action hook should I use?

What I think you should do is use a bit of nifty javascript, like so:

<a href="" onclick="somequote( /* post_id */ ); return false;">Quote</a>

Then the somequote function finds the li with id post-#, extracts the post text (this depends somewhat on the page HTML but should work) and puts it in the post box at the bottom. The somequote function can also use the DOM probably to take out blockquotes. Quoting people isn’t something that needs bookmarking, at least not for my tastes, and reloading the page is annoying. But then quoting people is usually annoying anyway. You’re on a forum, why do you have to quote someone else’s post if other people can see it just above? Meh, personal preference :P

Skip to toolbar