dog199200 Guest | [F] Hidding A Boards Header & Footer From Guests (24th Feb 08 at 10:08am UTC) | | 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>
| |
|
Graham Support Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 1,642 Status: Offline Gender: Male Location: Sussex, UK Age: 40 Joined:
Additional Groups: Support Team
  
pmwww | Re: Hidding A Boards Header & Footer From Guests (24th Feb 08 at 10:54am UTC) | | 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? | |
|
dog199200 Guest | Re: Hidding A Boards Header & Footer From Guests (24th Feb 08 at 10:58am UTC) | | 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.. | |
|
Graham Support Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 1,642 Status: Offline Gender: Male Location: Sussex, UK Age: 40 Joined:
Additional Groups: Support Team
  
pmwww | Re: Hidding A Boards Header & Footer From Guests (24th Feb 08 at 11:10am UTC) | | Right. The easiest way really would be to disable access to guests unless some of the coders can come up with a better idea | |
|
dog199200 Guest | Re: Hidding A Boards Header & Footer From Guests (24th Feb 08 at 11:15am UTC) | | i have disabled access to guests, but the headers and footers still show... | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Hidding A Boards Header & Footer From Guests (24th Feb 08 at 12:12pm UTC) | | 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. | |
|
dog199200 Guest | Re: Hidding A Boards Header & Footer From Guests (24th Feb 08 at 12:56pm UTC) | | awesome that works | |
|