|
Post by shae on May 12, 2013 11:06:35 GMT -8
Well I never thought I'd be asking for help, but here I am... Oddly, I can't seem to make any MYO BOARD code work on my forum. I've tried re-positioning it throughout the global footer code, I've tried several different kinds of codes, and nothing seems to be working. I was thinking it was possibly another code interfering with it, but I'd have no clue what to play around with and remove without screwing up the coding x__x
Site found here.
|
|
|
Post by katya on May 12, 2013 11:23:18 GMT -8
It looks to me like you have the myo mod listed twice in the footers. Remove the second one and see if it works?
|
|
|
Post by shae on May 12, 2013 11:34:37 GMT -8
Ahh, I must've over-looked that! ^^'' I'll get rid of the second one and see what happens.
edit: Unfortunately, that didn't change anything...
|
|
|
Post by konya on May 12, 2013 14:45:49 GMT -8
If you have any other codes that modify the forum listing, it won't work. You need to get rid of these.
<script> //Remove "Topics and Posts" column from main page //wooper var TD = document.getElementsByTagName("TD") for(i=0;i<TD.length;i++){ if(TD[i].width == "1%" && TD[i+1].width == "1%") { TD[i].style.display ="none"; TD[i+1].style.display ="none"; TD[i-1].colSpan = '3'; } } </script>
<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>
<script type="text/Javascript"> // Sub-Boards in Own Cell v1.1 by Chris // Code may not be redistributed without permission from the creator.
var board_text = "<b>Sub-Boards:</b> "; // Text that will be shown before the actual sub-board listings var ignores = [ // Board's with these IDs are ignored when running this code "boardid1", "boardid2", "boardid3" // <-- Last line doesn't have a comma ];
var aTD = document.getElementsByTagName("TD"); var aSE = document.getElementsByTagName("SELECT");
if(location.href.match(/action=home/i) || !location.href.match(/action=/i)){ var mat = new RegExp("("+ignores.join("|")+")", "i"); var forumClass = document.getElementById("forumjump").options; for(a=0;a<aTD.length;a++){ if(aTD[a].width=="66%" && aTD[a].className.match(/windowbg/i) && aTD[a].innerHTML.match(/\((\d+) sub-boar(d|ds)\)/i)){ var boardName = aTD[a].getElementsByTagName("A")[0].href.split("board=")[1]; var subNum = parseInt(RegExp.$1); var d = ""; for(b=6;b<forumClass.length;b++){ if(forumClass[b].value.match(new RegExp("board="+boardName+"$","i"))){ for(c=1;c<=subNum;c++){ if(c == 1){ d += "<font size='1'>"+board_text+"<a href='"+forumClass[b+c].value+"'>"+forumClass[b+c].innerHTML.split("--- ")[1]+"</a></font>"; } else { d += ", <font size='1'><a href='"+forumClass[b+c].value+"'>"+forumClass[b+c].innerHTML.split("--- ")[1]+"</a></font>"; } } break; } } aTD[a].innerHTML = aTD[a].innerHTML.replace(/\((\d+) sub-boar(d|ds)\)/i,""); if(boardName.match(mat)) continue; aTD[a-1].rowSpan = 2; var c = aTD[a].parentNode.parentNode.insertRow(aTD[a].parentNode.rowIndex+1).insertCell(0); c.colSpan = (aTD[a].parentNode.cells.length-1); c.className = "windowbg"; c.innerHTML = d; } else if(aTD[a].innerHTML.match(/Info Center/i) && aTD[a].className == "bordercolor"){ break; } } } </script>
|
|
|
Post by shae on May 12, 2013 16:07:47 GMT -8
Ahh, thanks so much!
|
|