|
Post by Nightwalker on Dec 12, 2010 22:16:55 GMT -6
This code removes the little box that has the reported posts in it for mods. It also removes the link from the admin panel.
Edit this line. Place here the USERNAMES of the mods that you want the link and table to show for. Place a | between every username.
var getstosee= /^(Mod 1|Mod 2|Mod 3)$/;
Top Of Global Header:
<style type="text/css"> #reported_posts_message { display: none; } </style>
Global Footer:
<script type="text/javascript"> <!-- /* Remove Report to Mod div for some mods Written by Nightwalker as requested by Splittykins You may edit but leave header please */
var getstosee= /^(admin)$/; var getdiv = document.getElementById('reported_posts_message')
if(getdiv){ if(getstosee.test(pb_username)) { getdiv.style.display = 'block'; }
if(!getstosee.test(pb_username) && pb_action == 'admin') { aAH = document.getElementsByTagName("a"); b=0; while(aAH[++b]) { if(aAH[b].href.match(/viewreportedposts/)) { aAH[b].style.display = "none"; } } } }
//--> </script>
|
|