PDA

View Full Version : colored thread starter -in forumdisplaybit


snyx
08-18-2002, 08:20 PM
anyone tried this on there forums or could help me with the code :)

-myles

snyx
08-19-2002, 02:14 AM
okay I tried this, but im getting them all blue (witch is default) so somthing isnt working, could anyone help me out :)

if ($userinfo['usergroupid'] == '6') {
$thread['postedby'] .= "<a href='member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]'><font color='#cc0000'><b><i>$thread[postusername]</i></b></font></a>";
}
else if ($userinfo['usergroupid'] == '7') {
$thread['postedby'] .= "<a href='member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]'><font color='green'><b>$thread[postusername]</b></font></a>";
}
else if ($userinfo['usergroupid'] == '5') {
$thread['postedby'] .= "<a href='member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]'><font color='green'><b>$thread[postusername]</b></font></a>";
}
else {
$thread['postedby'] .= "<a href='member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]'><font color='blue'>$thread[postusername]</font></a>";
}

snyx
08-19-2002, 07:26 AM
heeeeeeeeeeeeelp! :(
plz guys its killin me!!