Quote:
Originally Posted by jwocky
Any idea how to add quote functionality to this ?
|
I did. On line 3233 or around there, there is this line:
Code:
<div id="post_message_$post[postid]">$post[message]</div>
Add this line following that:
Code:
<a href="#" onClick="vbform.message.value = '[MYQUOTE]' + document.getElementById('post_message_$post[postid]').innerHTML + '[/MYQUOTE]\n\n';vbform.message.focus();return false;"><img align=right border=0 src="images/buttons/quote.gif"></a>
NOTE!!! - this post here didn't let me put in code with the [Q U O T E] tag, so I had to rename it MYQUOTE instead. Replace MYQUOTE with QUOTE in your template...
Works pretty good for now...
-Wayne