this code allows you to choose a maximum number of images in the signature,
i noticed VB has this feature so i thought ZB should have it
Preview: None
Quote:
<script>
/*Limit images in the signature
by Godkillah
phantom-designs.net*/
var limit=3 //how many images are allowed in the signature
if(location.href.match(/\/home\/\?c=32/i)){
document.forms['posting'].onsubmit=function(){
sig=document.forms['posting'].post.value.toLowerCase()
if(sig.split('\[img\]').length>limit){
alert("You have got to many images in your signature, you're only allowed to have "+limit+" images")
return false
}}}
</script>
|
should be pretty self explaining,
add to footer,
enjoy