Written for zetaboards
simply disables posting if the post does not have enough characters
Original Request:
Board Message
Add anywhere under the board
Quote:
<script>
/*minimum characters per post
by godkillah from phantom-designs.net*/
var MinimumCharacters=15
var Message="Your post requires at least 15 characters"
if(location.href.match(/\/post\//i)){
document.forms.posting.onsubmit=function(){
characters=document.forms.posting.post.value.lengt h
if(characters<MinimumCharacters){
alert(Message)
return false
}else{
return true
}}}
</script>
|
edit what is red, should be pretty much selfexplaining,
enjoy