PDA

View Full Version : invision power board ledgend



andrewdale3
10-12-2004, 10:24 PM
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!

Bukker
12-12-2004, 12:42 AM
soz Bud i int got a clue what u mean & im a expert with forums:|

i need vb:@

andrewdale3
12-12-2004, 01:54 AM
i mean like a thing that has the name colour at the bottem

like

Admin Moderator Special member

Bukker
12-12-2004, 02:12 AM
Ranks in different Colour phpbb that is M8y and

thingy that can mean over 5400055 things

Lord Zero
12-12-2004, 10:28 AM
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.

jamie5k
12-12-2004, 11:26 AM
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","Member"]
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

miss-t
12-12-2004, 12:52 PM
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","Member"]
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?
ehh [<b><font color=#" + Colors[a] + ">" + Users[a] + "</font></b>]

andrewdale3
12-12-2004, 03:56 PM
i know how to make name colours but i want a ledgent...

jamie5k
12-12-2004, 05:07 PM
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.

Homesrfan
18-12-2004, 10:19 PM
Oh thanks!
I have been looking for this code and I couldn't find it anywhere!
;) Thanks

Want to hide these adverts? Register an account for free!