anyone know how to add an invision power board ledgend to the bottum of where it says active members, it would be grate help if anyone could tell me how! thanks!
Printable View
anyone know how to add an invision power board ledgend to the bottum of where it says active members, it would be grate help if anyone could tell me how! thanks!
soz Bud i int got a clue what u mean & im a expert with forums:|
i need vb:@
i mean like a thing that has the name colour at the bottem
like
Admin Moderator Special member
Ranks in different Colour phpbb that is M8y and
thingy that can mean over 5400055 things
It's really quite simple.
Log in to your Invision Admin Center. Under Users and Groups you will find "Manage User Groups".
Edit, for example, Administrator.
A part of the Global Settings will look like this:
http://img63.exs.cx/img63/8088/tempipbc7bh.png
Now merely choose which color you want, and input <span style='color:yourcolor'> in the [Prefix] box. In the [Suffix] box you can close the tag; </span>
To show which color means which group, I believe it depends on your skin.
here is the code this goes in the board wrappers footer.
<script>
/*
Colors Key and Users Online Modification
By Webworldx
Code created for iF. Do not redistribute
*/
var Users = ["Administrator","Management","Moderator","Memb er"]
var Colors = ["FF0000","0000FF","228b22","232c38"]
var inputUsers=""
for (a=0;a<Users.length;a++){
inputUsers+="[<b><font color=#" + Colors[a] + ">" + Users[a] + "</font></b>] "
}
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].innerHTML= tCell[i].innerHTML.replace(/<\/div>/i,"<br/><br/><b></b>" + inputUsers + "</div>")
var eSplit = tCell[i].innerHTML.split(/<DIV/i)[0].split(' guests,')
var memArray=new Array();
memArray[0]=eSplit[0]
eSplit=eSplit[1].split(' members,')
memArray[1]=eSplit[0]
eSplit=eSplit[1].split(' anonymous')
memArray[2]=eSplit[0]
eSplit = tCell[i].innerHTML.split(/<DIV/i)[0]
tCell[i].innerHTML = tCell[i].innerHTML.replace(eSplit,"(<img src='http://67.18.37.15/html/sys-img/item.gif'><font color=purple> Guests</font> - " + memArray[0] + ") (<img src='http://67.18.37.15/html/sys-img/item.gif'><font color=purple> Members</font> - " + memArray[1] + ") (<img src='http://67.18.37.15/html/sys-img/item.gif'><font color=purple> Hidden Users</font> - " + memArray[2] + ")")
tCell[i].align="center"
var xFind = tCell[i].getElementsByTagName('DIV')
for (x=0;x<xFind.length;x++){
if (xFind[x].className=="thin"){
xFind[x].innerHTML="<b><i>Active Users : </i></b>" + xFind[x].innerHTML
}}}}
</script>
bits in red you can edit
what is this about can i change the colour of ma name?Quote:
Originally Posted by jamie4k
ehh [<b><font color=#" + Colors[a] + ">" + Users[a] + "</font></b>]
i know how to make name colours but i want a ledgent...
what the thing at the bottom to say what coulrs mean what if so then thats it put it in the footer in the board wrappers.
Oh thanks!
I have been looking for this code and I couldn't find it anywhere!
;) Thanks