inherit
Proboards Legend
212
0
May 11, 2006 12:32:55 GMT -8
california
21,035
December 1999
california
|
Post by california on Jun 19, 2005 23:05:59 GMT -8
This script removes the title bar that says Forum Name | Topics | Posts | Last Post and in the # of topics and # of posts column, it adds the word "threads" and "posts" after the number. Main Footer <script type="text/javascript"> <!-- /* remove Forum Name | Topics | Posts... and add thread & post info by california */ var td=document.getElementsByTagName("td"); if(location.href.match(/\/?((index\.cgi)?\??(action=(ma.+ad|logout|home))?(#.+)?)?$/)){ for(i=0;i<td.length;i++){ if(td[i].width=="1%" && td[i].innerHTML.match(/\d/)){ if(td[i+1].width.match(/^(1|7)%$/)){ td[i].innerHTML+="<br />threads"; td[i].width="8%"; }else{ td[i].innerHTML+="<br />posts"; td[i].width="7%"; } } if(td[i].width=="8%" && !td[i].innerHTML.match(/thread/)){ td[i].width="4%"; } if(td[i].className=="titlebg" && td[i].innerHTML.match(/Forum Name/i)){ td[i].parentNode.style.display="none"; } } } //--> </script>It will say "1 threads" if you only have one topic or post. The solution: post another thread. If you are using a "Divide/Seperate Categories" code then this code should be placed below that code. If for some reason you don't want the words "threads" and "posts", leave out the blue part. I wouldn't really recommend this as the numbers in those two columns become completely meaningless and the column widths get all screwed up, but people still keep asking for it for some reason.
|
|