Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[ADDON] Add a star for your VIPs and don
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-12-23 15:05:04
print , echo do the same thing mate
Unknown User
2009-02-22 21:49:59
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.  ;)
Unknown User
2009-02-22 23:00:49
same thing for me !
Unknown User
2009-02-23 14:00:24
Worked it out for users online- If u change the $row to $user it works. change the one's i have bolded.
or i suppose u can just change the $user to $row. ur choice

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();
?>
Unknown User
2009-02-24 01:17:26
in functions.php the code you have sent dont function because in config.php we have not meet nothing
Unknown User
2009-02-24 15:39:06
"RockyST, post: 54240":
in functions.php the code you have sent dont function because in config.php we have not meet nothing


I don't get u- u don't require the use of config.php. only functions.php and your user online block or ur login block or shoutbox.
Unknown User
2009-02-24 23:16:51
right but don't function ...
Unknown User
2009-02-25 15:37:22
"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:

try this:

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, ";
Unknown User
2009-02-26 11:07:32
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
Unknown User
2010-01-31 19:49:41
works ok thanks
Unknown User
2010-02-15 17:41:30
"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

the same, i dont see this code: "$a = mysql_query("SELECT class, FROM `users` WHERE id = $row[userid] ");" !
Unknown User
2010-09-05 05:15:51
I know this is an old mod, but the work done and particulary the way you did the instructions in this post is awesome work.

BIG thanks buddy, much appreciated.
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728