Blaze
New Member
Posts: 64
inherit
129984
0
Nov 14, 2011 3:57:56 GMT -8
Blaze
64
August 2008
obieglo
|
Post by Blaze on Dec 19, 2005 8:41:44 GMT -8
Forum URL: roxg.proboards80.comHi I'm looking for a way to disable the invisibility option except for the administrators (main admin alone is good too). There was a thread about it here, but I have to make my own. Can someone please help me? Thanks in advance. Blaze.
|
|
#eb7100
1480
0
1
May 3, 2024 4:39:21 GMT -8
Craig
208,877
September 2001
cmdynasty
|
Post by Craig on Dec 19, 2005 8:47:18 GMT -8
In your main page footer, use this:
<script type="text/javascript"> <!-- if (pb_username != 'admin') { document.modifyForm.invisible.parentNode.parentNode.parentNode.style.display='none'; document.modifyForm.invisible.value=0; } // --> </script>
|
|
Blaze
New Member
Posts: 64
inherit
129984
0
Nov 14, 2011 3:57:56 GMT -8
Blaze
64
August 2008
obieglo
|
Post by Blaze on Dec 19, 2005 8:50:27 GMT -8
Thank you Craig.
|
|
#eb7100
1480
0
1
May 3, 2024 4:39:21 GMT -8
Craig
208,877
September 2001
cmdynasty
|
Post by Craig on Dec 19, 2005 8:51:55 GMT -8
NP
|
|