|
Post by Nightwalker on Nov 6, 2010 3:30:23 GMT
This code will not allow users to use things like bold Size or most of the other things people use to make their posts hard to read. If they put any of it in the post they will get an alert. CB: Yes Editing: You can edit what the code lets you do. Edit this line. If you want to add something put it were the red H is. Remember to add a | after it. \[(center|right|blockquote|move|b|left| H(glow|size|color|shadow)[^\]]+)\]/i)){ Footer:<script type="text/javascript"> <!-- /* Alert If Not using Default Posting Template by Nightwalker */ if(document.postForm){ document.postForm.onsubmit=function(){ if(document.postForm.message.value.match(/\[(center|right|blockquote|move|b|left|(glow|size|color|shadow)[^\]]+)\]/i)){ alert("please use the default posting template when you post on this board."); return false; }}} //--> </script> Support: NightCodes
|
|