Nightwalker
Full Member
Everything Happens at Night
Posts: 138
Nightwalker said 0 great things
|
Post by Nightwalker on Dec 12, 2010 20:39:36 GMT -8
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 reported posts message & links for mods Written by Nightwalker as requested by Splittykins You may edit but leave header please */
var getstosee= /^(Mod 1|Mod 2|Mod 3)$/;
if(getstosee.test(pb_username)){ document.getElementById('reported_posts_message').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>
|
|