Staredit Network

Staredit Network -> Computers and Technical -> Forum Help.. Codes
Report, edit, etc...Posted by The_Effect on 2005-10-18 at 23:10:44
K, i started my own forum a few days ago and in the board statics it shows the Ranks of all the Ranks/Groups and all the members and active members in the past how do you do that i'd like to add that in my forum if anyone would help me it wold be greatly appriciated thanks.
Report, edit, etc...Posted by slayer766 on 2005-10-19 at 21:22:16
Well to add more like I have the GFX Staff, and Elite Member thing you should have a code similar to this or you can post yours up and I will tell you how to add:

CODE
<script>/*
Colors Key in Users Stats Box v1.2
Created by iFusion

*/

var irGroup = []
irGroup[0]=["Administration" , "COLOR" , "filter:glow(color=COLOR, strength=4); font-size: 12px; height: 2px;"]


var usersInput=""
for (i=0;i<irGroup.length;i++){
usersInput+="[<font style='" + irGroup[i][2] + "' color='" + irGroup[i][1] + "'>" + irGroup[i][0] + "</font>] "
}

var tCell = document.getElementsByTagName('TD')
for (i=0;i<tCell.length;i++){
if (tCell[i].width=="95%" && tCell[i].innerHTML.match(/anonymous members/i)){
tCell[i].getElementsByTagName('DIV')[0].innerHTML+="<br /><br />Key: " + usersInput
}}
</script>


To add more just add this:

QUOTE
irGroup[0]=["GROUP NAME" , "COLOR" , "filter:glow(color=COLOR, strength=4); font-size: 12px; height: 2px;"]


Right after this:

QUOTE
irGroup[0]=["Administration" , "COLOR" , "filter:glow(color=COLOR, strength=4); font-size: 12px; height: 2px;"]


Change the yellow 0 to a 1 because you have added another one up, and then to add more and more just keep copying that and changing the numbers in the bracket [ ]
Report, edit, etc...Posted by ... on 2005-10-20 at 09:07:12
He didn't specify what version or kind of board software it is. If you are using invisionfree, go to ifsz.com and they have the code for it.
Report, edit, etc...Posted by slayer766 on 2005-10-20 at 16:36:22
Yes the answer that I gave him is correct because he is using the same webhosting as me, which is InvisionFree.
Next Page (1)