allen
Junior Poster
Posts: 5
|
Post by allen on Jun 30, 2011 5:46:29 GMT
|
|
|
Post by (/iPokemon/) on Jun 30, 2011 5:46:45 GMT
Stick this in the Global Headers.
<style type="text/css"> input, select { background-color: white; /* background color */ border: 1px dashed black; /*1px = width dashed = type black = color color: black; /* text color */ } </style>
Edit it by how I commented it!
|
|
allen
Junior Poster
Posts: 5
|
Post by allen on Jun 30, 2011 6:25:05 GMT
Cmt the other code you told me to use is not doing what I want. I want to hide the chat from guests only. When I am logged in now I can't see the chat.
|
|
rubix
Elite Level 1
Rage[M:4750]
Posts: 670
|
Post by rubix on Jun 30, 2011 6:43:19 GMT
<span id="hide_cbox" style="display: none;">
(INSERT CHAT HERE)
</span> <script type="text/javascript"> <!-- if(pb_username != 'Guest') document.getElementById("hide_cbox").style.display = ''; //--> </script>
This should work.
|
|
allen
Junior Poster
Posts: 5
|
Post by allen on Jun 30, 2011 7:44:39 GMT
Why didn't this code below work? Hide your [shoutbox, cbox, chatroom etc.] from Guests
This will enable you to hide anything currently in your Header/Footer from guests:
<span id="hidden_content" style="display: none;"> Place any content to hide here, eg. your shoutbox code. </span> <script type="text/javascript"> <!-- if(pb_username != 'Guest') document.getElementById('hidden_content').style.display = ''; //--> </script> |
|
|
rubix
Elite Level 1
Rage[M:4750]
Posts: 670
|
Post by rubix on Jun 30, 2011 7:51:32 GMT
Did you replace the red text with the whole chat box code?
<span id="hidden_content" style="display: none;"> Place any content to hide here, eg. your shoutbox code. </span> <script type="text/javascript"> <!-- if(pb_username != 'Guest') document.getElementById('hidden_content').style.display = ''; //--> </script>
|
|
allen
Junior Poster
Posts: 5
|
Post by allen on Jun 30, 2011 16:11:02 GMT
Yes I put the chat code in place of that. When I am logged in I can't see the chat box now. I will try the other code you posted was just wondering why the other one didn't work when it says thats what it is for.
|
|