Jump to content
xisto Community
Sign in to follow this  
Find3r

Invision Free Category Ranking A mod that shows the most used areas of your ipb

Recommended Posts

what this do:
A mod that shows the most used areas of your invisionfree board.

Go: 'Admin CP > Skinning & Styles > Board Wrappers > Footer:

Put:

<script><!--/* ------------------------------------------------------------------------------- *\| Ultimate Category Ranking System v0.6 || Created by Silvery hat hacker || Calculation based on Simple Math Equation - Basic Edition |\* ------------------------------------------------------------------------------- *///Ranking Bar Images SetBarLeft= "http://img165.imageshack.us/img165/8338/bar5l3kk.gif"BarCenter="http://img165.imageshack.us/img165/6384/bar56xy.gif"BarRight="http://img165.imageshack.us/img165/5070/bar5r6zb.gif"//-----This part of code coded by Forsaken - Some modified by Shacker-----iTable = document.getElementsByTagName("Table");for(i=0;i<iTable.length;i++){if( iTable[i].rows[0].cells.length=="5" && iTable[i].rows[0].cells[1].innerHTML.match(/Forum/i)){iTr = iTable[i].getElementsByTagName("Tr");iValue = new Array(0,0);for(x=1;x<(iTr.length-1);x++){if(iTr[x].cells[2].innerHTML.match(/(\d+)/i)){iValue[0] += parseInt(iTr[x].cells[2].innerHTML);};if(iTr[x].cells[3].innerHTML.match(/(\d+)/i)){iValue[1] += parseInt(iTr[x].cells[3].innerHTML);};};for(x=0;x<4;x++){iTr[iTr.length-1].insertCell(-1);};iCell = iTr[iTr.length-1].cells;iCell[0].colSpan = 1; iCell[2].className = "darkrow2"; iCell[3].className = "darkrow2"; iCell[4].className = "darkrow2";iCell[0].align = "right"; iCell[0].innerHTML = "<b>Rank:<b> ";for(x=0;x<1;x++){iCell[x+1].className = "row3";iCell[x+1].colSpan = 1;iCell[x+1].align = "left";// -----------------------------------End-----------------------------------------LRB= Math.round((iValue[1]+iValue[0])/10);iCell[x+1].innerHTML = "<img src='"+BarLeft+"'>"+"<img src='"+BarCenter+"' width="+LRB+" height=10><img src='"+BarRight+"'> "+LRB+" Points"};};};//--></script>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.