print , echo do the same thing mate
if ($usersonlinerecords == "") {
echo "No Users Online";
} else {
foreach ($usersonlinerecords as $id=>$user) {
if ($user["class"] == 4 || $user["donated"] > 0) { $star = " <img src=images/star.gif border=0>";
} else {
$star = "";
}
echo "<a href='account-details.php?id=$user[id]'>$user[username]</A>$star, n";
}
}
end_block();
?>
"RockyST, post: 54240":in functions.php the code you have sent dont function because in config.php we have not meet nothing
"kardklub, post: 54195":if ($user["class"] == 3 || $user["donated"] > 0) { $star = " <img src=images/star.gif border=0>"; } else { $star = ""; }
print("<a href=\"account-details.php?id=".$user["id"]."\"><font style=\" color:
".$color."\">".$user["username"]."</font></a>$star, ");
Sorry to be a pain- but what would this line of code be changed to in tt2.05- cause i have
echo "<a href='account-details.php?id=$row[id]'>$row[username]</A>, \n";
This is for users on line.
thanks
Kardklub
p.s i have had a mess about but i kept getting no stars or everyone with stars. :lol:
if ($row["class"] == 3 || $row["donated"] > 0) { $star = " <img src=images/star.gif border=0>"; } else {
$star = ""; }
echo "<a href='account-details.php?id=$row[id]'><font style='color:
".$color."'>$row[username]</font></a>$star, ";
"sonny67, post: 54336":i dont see this code in the shoubox.php using v 2.04 i just want to add the star for donors only my shoutbox php file is un modified any help would be appreciated thanks itried to up my shout php but it wount upload may be a board fault dunno
No users online
Torrents
Members
Online