Can i possibly get a code that will allow me to hide the header and footers of a select board from guests. I'm asking for this because i have a chatroom and i don't want guests to see it when they click into the board. Please don't tell me to just hide the board from guests because that don't work they can still see the headers and footers of that board...if it helps just in case you will have to edit the chatroom code, here it is:
Code:
- <center>
- <script type="text/javascript">
- <!--
- if(location.href.match('http://deluxeanimeforum.vforums.co.uk/board/chatroom/')){
- document.write('<applet code="Client.class" codebase="http://client11.addonchat.com/current/" archive="scclient_en.zip" width="600" height="425" alt="Java Chat Software - AddonChat" MAYSCRIPT>');
- document.write('<param name="room" value="288071">');
- document.write('</applet>');
- }
- // -->
- </script>
- </center>
Let me get this right...you want to try to hide the source code from people, or just allow the board to be hidden from guests?
i want it so that guest cant view the header or base of a select board.
http://deluxeanimeforum.vforums.co.uk/board/chatroom/
ok if you clicked the link, you should have seen a chat room. Well i want it so thaty guest can see that, only people that are logged in can see it..
Right. The easiest way really would be to disable access to guests unless some of the coders can come up with a better idea![]()
i have disabled access to guests, but the headers and footers still show...
how's this:
Code:
- <center>
- <script type="text/javascript">
- <!--
- if(vf_username != 'guest' && location.href.match('http://deluxeanimeforum.vforums.co.uk/board/chatroom/')){
- document.write('<applet code="Client.class" codebase="http://client11.addonchat.com/current/" archive="scclient_en.zip" width="600" height="425" alt="Java Chat Software - AddonChat" MAYSCRIPT>');
- document.write('<param name="room" value="288071">');
- document.write('</applet>');
- }
- // -->
- </script>
- </center>
I think htat's what yo uwant.
awesome that works