|
Post by Nightwalker on Jun 24, 2010 14:57:21 GMT -6
This makes a popup box that makes sure the people want to report something or if they are spamming warnes them. Prevew: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> Edits:7/7/10~Made to work with search
|
|