Great hack!
Also, if you want to be able to support smilies with the quick reply form you can by:
1. Add this to the head tags of your showthread template:
<SCRIPT LANGUAGE="JavaScript"><!--
function win(fileName) {
myFloater = window.open('','myWindow','scrollbars=yes,status=n o,width=300,height=250')
myFloater.location.href = fileName;
}
//--></SCRIPT>
2. Then simply add this wherever you would like the link to show up at on the form:
<A HREF="javascript:win('http://www.YOUR-LINK-TO/misc.php?action=getsmilies')">Smilie Codes</A>
Be sure to change YOUR-LINK-TO to the correct path to your misc.php file.
This will bring up a small popup with all of your smilies that the users can simply click ont to add to their reply just like they can do in the regular reply form.
|