|
Post by Nightwalker on Nov 6, 2010 3:27:46 GMT
This makes a popup box that makes sure the people want to report something or if they are spamming warns them. Preview:Global Footer:<script type="text/javascript"> // Alert Before Reporting if(/^(search2|display)$/.test(pb_action)) { var i = document.links; for(var x = 0; x < i.length; x ++) if(i[x].href.indexOf("action=reportpost") > -1) i[x].onclick = function() { return confirm("This feature is used for reporting posts that do not follow the rules of the forum or the proboards TOS. If you misuse this feature you will be warned or banned. To proceed click ok, otherwise click cancel") } } </script> Support: NightCodes
|
|