Quote:
Originally Posted by CAGADA
how do I add user class color in torrenttable_functions.php?
Code:
".(isset($row["username"]) ? (($row["anonymous"] == "yes" && $CURUSER['class'] < UC_STAFF && $row['owner'] != $CURUSER['id']) ? "<font color='gray'><b><i>".$lang['torrenttable_anon']."</i></b></font>" : "
<a href='userdetails.php?id=".(int)$row["owner"]."'><b>".htmlsafechars($row["username"])."</b></a>") : "<i>(".$lang["torrenttable_unknown_uploader"].")</i>")." </div>";
i tried
Code:
<font color='#".get_user_class_color($user['class']) . "'>".htmlsafechars($row["username"])."</font>
but dont work
|
this will not work at all ive made the mod for the v3 its easy to add by one file only not 2 or 3