Version: , by Afterburner
Developer Last Online: Oct 2003
Version: 2.0.x
Rating:
Released: 07-10-2001
Last Update: Never
Installs: 7
No support by the author.
Deutsch:
Ich bin zur?ck mit meinem ersten Hack f?rs VB (in der Vergangenheit habe ich nur die Hacks f?rs UB2K geschrieben)
Dieser Hack zeigt die Usernamen von Administratoren (ID:6) Supermoderatoren (ID:5) Moderatoren (ID:7) und registrierten Membern (ID:2) in der Onlineliste farbig an.
English:
I am back with my first VB Hack. (I wrote only hacks for the UB2K in the past )
If you use this hack you have colored usernames of Administrators (ID:6) Supermoderators (ID:5) Moderators (ID:7) and Members (ID:2) in your Onlinelist.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
This can be made more efficient. Example: change this code...
Code:
if ($farbe == 2 ) {
$username = "<font color=blue>".$username."</font>"; // Color for Member
}
if ($farbe == 5 ) {
$username = "<font color=darkred>".$username."</font>"; // Color for Supermoderator
}
if ($farbe == 6 ) {
$username = "<font color=red>".$username."</font>"; // Color for Administrator
}
if ($farbe == 7 ) {
$username = "<font color=green>".$username."</font>"; // Color for Moderator
}
...into this...
Code:
switch ($farbe) {
case 2:
$color = "blue";
break;
case 5:
$color = "darkred";
break;
case 6:
$color = "red";
break;
case 7:
$color = "green";
break;
}
$username = "<font color=\"$color\">$username</font>";
I didn't look at the code in significant detail, but I think this can be used in both instances...both times you use that if/else code above, that is. At the very least, you can put it in a function to save some space.
<td bgcolor="#F1F1F1" align="left" onMouseover="this.style.backgroundColor='#AEDEFF'" onMouseout="this.style.backgroundColor='#EEEEEE'"><ilayer width="100%"><layer width="100%" onMouseover="this.bgColor='#AEDEFF'" onMouseout="this.bgColor='#EEEEEE'"><a href="forumdisplay.php?s=&forumid=4"><font face="verdana, arial, helvetica" size="2" ><b>FreeTV,MoreTV, Pubs, PCTV</b></font></a>
<br><font face="verdana,arial,helvetica" size="1" >Hier k?nnt ihr alles posten was mit FreeTV, MoreTV, Pubs und PCTV zu tun hat</font></layer></ilayer></td>
If the HTML Site of your board is generated
the important code
in the <td> tag you have to insert:
<td bgcolor="#F1F1F1" align="left" onMouseover="this.style.backgroundColor='#AEDEFF'" onMouseout="this.style.backgroundColor='#EEEEEE'"><ilayer width="100%"><layer width="100%" onMouseover="this.bgColor='#AEDEFF'" onMouseout="this.bgColor='#EEEEEE'"><a href="forumdisplay.php?s=&forumid=4"><font face="verdana, arial, helvetica" size="2" ><b>FreeTV,MoreTV, Pubs, PCTV</b></font></a>
<br><font face="verdana,arial,helvetica" size="1" >Hier k?nnt ihr alles posten was mit FreeTV, MoreTV, Pubs und PCTV zu tun hat</font></layer></ilayer></td>
If the HTML Site of your board is generated
the important code
in the <td> tag you have to insert: