Conforums Support
Board Enhancements >> Hacks >> Hide info center from guests
http://support.conforums.com/index.cgi?board=code&action=display&num=1155978493

Hide info center from guests
Post by Garet on Aug 19th, 2006, 04:08am

This will hide the info center from guests
Main Footers

<script type="text/javascript">
<!--
if(location.href.match(/com\/?((index\.cgi)?\??(action=(logout|home))?(#.+)?)?$/)){
var td=document.getElementsByTagName("td")
if(td[2].innerHTML.match("Welcome Guest")){
var table=document.getElementsByTagName("table")
for(z=0;z<table.length;z++){
if(table[z].innerHTML.match("Info Center") && table[z].className.match("bordercolor")){
table[z].style.display="none"
}}}}
//-->
</script>