inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Dec 12, 2010 20:19:35 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>
|
|