|
Post by kimmyjean on Jul 6, 2005 4:38:09 GMT -8
In the PB4 Version...admin are being seen by Global Moderators when they place themselves invisible. Is there a code that can be made that would block this capability? And in fact make the administrator actually invisible to all.....even the Globals?
Love and Peace Kimmy
|
|
|
Post by CD on Jul 6, 2005 8:22:34 GMT -8
Its possible, but it wouldn't be the easiest. also, you could just disable JS to see.
|
|
|
Post by CrAzY_J on Jul 6, 2005 9:05:02 GMT -8
<script type='text/javascript'> var TD=document.body.getElementsByTagName('td'); var Href=document.body.getElementsByTagName('a'); for(t=0;t<TD.length;t++){ for(a=0;a<Href.length;a++){ if(Href.item(a).href.match(/(username1|username2)/gi)){ if(TD.item(t).width=='20%'){ TD.item(t).innerHTML=TD.item(t).innerHTML.replace(/<b>online<\/b>/i,"offline"); }else{ Href.item(a).style.display='none'; }}}} </script>
CDDude will fix it if there are any errors or bugs
Last Edit: Jul 6, 2005 9:06:32 GMT -8 by CrAzY_J
|
|
|
Post by kimmyjean on Jul 6, 2005 19:11:24 GMT -8
Would you place this in the headers? O also assume the "username" would be the admins
Love and Peace Kimmy
|
|
|
Post by CD on Jul 6, 2005 21:50:22 GMT -8
Footers. When in doubt, place the code in the footers.
|
|
|
Post by kimmyjean on Jul 9, 2005 9:14:44 GMT -8
It freaked out a tad..............said that it had a fatal script error and would terminate my browser....which is firefox............it kept shutting down my browser so I cold not get any more info then that
Love and Peace kimmy
|
|
|
Post by CD on Jul 9, 2005 10:55:45 GMT -8
Link to your board.
|
|
|
Post by CrAzY_J on Jul 9, 2005 13:26:24 GMT -8
<script type='text/javascript'> var TD=document.body.getElementsByTagName('td'); var Href=document.body.getElementsByTagName('a'); for(t=0;t<TD.length;t++){ for(a=0;a<Href.length;a++){ if(Href.item(a).href.match(/viewprofile\&user=(username1|username2)/gi)){ if(TD.item(t).width=='20%'){ TD.item(t).innerHTML=TD.item(t).innerHTML.replace(/<b>online<\/b>/i,"offline"); }else{ Href.item(a).style.display='none'; }}}} </script>
|
|
|
Post by kimmyjean on Jul 11, 2005 14:57:42 GMT -8
|
|
|
Post by CD on Jul 11, 2005 15:09:53 GMT -8
Crazy's code there should work. Try that.
|
|