Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 12, 2011 3:19:09 GMT
Main FooterHide Info Centre to Guests Without Message<script type = "text/javascript"> //Hide Info Centre to Guests - ZINC if(pb_username=='Guest'){ document.getElementsByTagName("table")[8].style.display = "none"; } </script> Hide Info Centre to Guests With Message<script type = "text/javascript"> //Hide Boards to Guests - ZINC if(pb_username=='Guest'){ var dog = document.getElementsByTagName("table")[8]; dog.innerHTML = "<center><h1>Sorry, but you must login to view the info centre!</h1></center>"; } </script> Change <center><h1>Sorry, but you must login to view the info centre!</h1></center> with your own message. Enjoy
|
|
Cam!
VIP
[M:5000]
Posts: 780
|
Post by Cam! on Dec 13, 2011 3:09:04 GMT
Both codes work great, but I feel you should display the message better in the second code. It doesn't seem to be organized very well, and the text is unnecessarily large. I feel you should display the info center, but the actual content won't be there, it will just be the message.
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 13, 2011 3:29:32 GMT
Both codes work great, but I feel you should display the message better in the second code. It doesn't seem to be organized very well, and the text is unnecessarily large. I feel you should display the info center, but the actual content won't be there, it will just be the message. Well, you can change the message to how ever small or big you want, I just think that people might want to notice it's there when they try the code out. I'll try your second suggestion ;D
|
|
Cam!
VIP
[M:5000]
Posts: 780
|
Post by Cam! on Dec 15, 2011 3:42:30 GMT
Not everyone knows how to make those types of edits though. You should explain that.
|
|