Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 12, 2011 3:06:58 GMT
Main Footer
Hide Boards From Guests WITHOUT MESSAGE
<script type = "text/javascript"> // Hide Boards to Guests - ZINC if(pb_username=='Guest'){ document.getElementsByTagName("table")[7].style.display = "none"; } </script>
Hide Boards From Guests WITH MESSAGE
<script type = "text/javascript">// Hide Boards to Guests WITH Message - ZINC if(pb_username=='Guest'){ var dog = document.getElementsByTagName("table")[7]; dog.innerHTML = "<center><h1>Sorry, but you must login to view the boards!</h1></center>"; } </script>
Edit: <center><h1>Sorry, but you must login to view the boards!</h1></center> with your message.
Enjoy
|
|
CåñåÐå™
Senior Poster
[M:0]
v5 Beta Tester
Posts: 74
|
Post by CåñåÐå™ on Dec 14, 2011 4:50:16 GMT
Hide Boards From Guests WITH MESSAGE <script type = "text/javascript">// Hide Boards to Guests WITH Message - ZINC if(pb_username=='Guest'){ var dog = document.getElementsByTagName("table")[7]; dog.innerHTML = "<center><h1>Sorry, but you must login to view the boards!</h1></center>"; } </script>
Edit: <center><h1>Sorry, but you must login to view the boards!</h1></center> with your message. Enjoy I just put this code on my forum , and now i can't log back in because it is not allowing the login table to show? celebrity222.proboards.com/
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 14, 2011 7:27:57 GMT
Sorry D:
|
|
CåñåÐå™
Senior Poster
[M:0]
v5 Beta Tester
Posts: 74
|
Post by CåñåÐå™ on Dec 15, 2011 2:59:46 GMT
Cool i got it back online , thanks Luke.
|
|
Cam!
VIP
[M:5000]
Posts: 780
|
Post by Cam! on Dec 15, 2011 3:40:32 GMT
This definitely wasn't your best code Luke. You should fix it, as it will be a good code if it works properly.
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 15, 2011 9:25:22 GMT
This definitely wasn't your best code Luke. You should fix it, as it will be a good code if it works properly. I can see why the other coders didn't make their codes this way xP
|
|