Post by Majortopio on Dec 18, 2005 8:15:21 GMT
<script>
/* Member Key By Majortopio
http://phazondesigns.proboards50.com
This header must stay intact at all times */
var td = document.getElementsByTagName('td');
//Admin Color
var acolor = ""
//G-mod Color
var gcolor = ""
//Moderator Color
var mcolor = ""
//Member Color
var membcolor = ""
for(t=0;t<td.length;t++){
if(td[t].className == "catbg" && td[t].colSpan == "2" && td[t].innerHTML.match(/Users Online/i)){
td[t+2].innerHTML+="<center><font color="+acolor+">Administrator</font> - <font color="+gcolor+">Global Moderator</font> - <font color="+mcolor+">Moderator</font> - <font color="+membcolor+">Member</font></center>";
}}
</script>
This code adds:
Administrator - Global Moderator - Moderator - Member
color coded, like in PD.
Instructions:
Find:
//Admin Color
var acolor = ""
//G-mod Color
var gcolor = ""
//Moderator Color
var mcolor = ""
//Member Color
var membcolor = ""
Well, it's pretty self explainatory. Just write in the hex decimal you want the admin, gmod, moderator, and member to appear in. Most likely the color they are on your forum
If you want to add more, write after:
var membcolor = ""
write:
var ? = ""
Make up a variable name, it can be anything.
Then find:
td[t+2].innerHTML+="<center><font color="+acolor+">Administrator</font> - <font color="+gcolor+">Global Moderator</font> - <font color="+mcolor+">Moderator</font> - <font color="+membcolor+">Member</font></center>";
And find the '</font>' tag. You can add one in any order you want.
So, write:
- <font color="+VARIABLENAME+">NAME OF GROUP</font>
After ANY </font> tag. Just click on the '>' and hit space once, write in that little line there ^ insert your variable name, and name of group wher I tell you, and voila! A new member group is added to the key
----
Yea, one more bad code!
Well, sorry for the bad instructions