Okay, thanks!
What I did now is to insert the following code in the JavaScript parts of the
newreply and
newthread (editpost, pm ...) template etc.
Just insert this snippet
theform.submit.disabled=true; before the
return true; part.
E.g.:
PHP Code:
<script language="javascript">
<!--
var postmaxchars = $postmaxchars;
function validate(theform) {
if (theform.message.value=="") {
(...)
return false; }
else { theform.submit.disabled=true; return true; }
} else { theform.submit.disabled=true; return true; }
}
function checklength(theform) {
(...)
//-->
</script>
Here are the templates where the code resides:
showthread_replybox (Quick reply hack vB2)
editpost, newreply, newthread, priv_sendprivmsg, priv_forwardmultiple, priv_sendtobuddies
hth