Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Quoting?
This discussion has been closed.
Comments
extension != messy hack
:D
Get it here
HT Forum thread
Helpful, although I dont think it does the same as what you did.
Shameless plug I know...
And I can write the javascript for the quote buttons if you'd like.
$tempPost = str_replace("\r", " \n \\", addslashes($Row["Body"])); $sReturn .= "<script> function QuoteUser(who,what) { document.frmPostComment.Body.value = document.frmPostComment.Body.value + '<blockquote><p><strong>' + who + ' said:</strong>\\n' + what + '</p></blockquote>\\n\\n'; } </script><div class=\"CommentBlockUser\"><a id=\"QuoteUser_".$Comment->AuthUserID."_Comment_".$Comment->CommentID."\" href=\"javascript:QuoteUser('" . $Row["AuthUsername"] . "','" . $tempPost . "');\">quote post</a></div>";
unfortunately it breaks if a post contains an href using ""s but if it is posted like so it is ok:
<a href='http://www.domain.co.uk'>domain</a>