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
Uploader Rank
Controls ·  Search New posts · Mark unread

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

Unknown User
2011-01-17 09:19:50
after apply this code i get

Username:

Fatal error: Call to undefined function class_user() in /home/account.php on line 55
Unknown User
2011-01-17 09:46:54
"buzz_me, post: 69618":
after apply this code i get
Username:

Fatal error: Call to undefined function class_user() in /home/account.php on line 55
have you added cooly's class_user function , in function.php? if not it won't work
Unknown User
2011-01-21 06:27:55
I wonder how I'll solve this problem

Quote:
function class_user($name){

global $site_config;

$a ="SELECT u.class, u.donated, u.warned, u.rangclass, r.name, r.rangpic FROM `users` `u` INNER JOIN `rangclass` `r` ON u.rangclass=r.id WHERE username ='".$name."'";

$res = mysql_query($a);

$classy = @mysql_fetch_row($res);

switch ($classy[0]) {

case 8: // SYS:

$col = "#15CFCD";

break;

case 7: // ADMINISTRATORSYS:

$col = "#ff0000";

break;

case 6: // Administrator

$col = "teal";

break;

case 5: // Super Moderator

$col = "#3300CC";

break;

case 4: // Moderator

$col = "#006600";

break;

case 3: // VIP

$col = "#FFFF00";

break;

case 2: // Uploader

$col = "#33FF33";

break;

default: // User

$name = $name;

}

if ($classy[1]>0){

$star="<img src='".$site_config[sITEURL]."/images/star.gif' alt='donated' border='0'>";

}else{

$star="";

}

if($classy[2]=="yes"){

$warn="<img src='".$site_config[sITEURL]."/images/warn.gif' alt='warned' border='0'>";

}else{

$warn="";

}

if($classy[3]>0){

$rang="<img src='".$site_config[sITEURL]."/images/".$classy[5]."' alt='".$classy[4]."' border='0'>";

}else{

$rang="";

}

return unesc("<font color='".$col."'>".$name."".$star."".$warn."".$rang."</font>");

}
imagen1.png
imagen1.png
Unknown User
2011-01-22 09:48:21
i have found a bug here. if i apply cooly's class color function nd apply uploader rank . thn the user name color does not appear untill i give a uploader rank. If i assign a uploader rank thn user color according to class works

so i have removed aboved code nd applied original cooly's class color fun nd color is working :S

any solution?
Unknown User
2011-01-22 14:41:45
have you enabled another rank , it should just add medal to normal uploader color i believe
Unknown User
2011-02-27 17:10:14
im only get Uploader Rank:0 in account-details :S

and how work this?? it is admin that put on medals??
Unknown User
2011-03-08 00:31:33
paste your account-details.php pls
Unknown User
2011-06-03 16:07:10
it is possible to use this with a new code?

i want automatic

example:

500 uploaded torrents bronze medal

1000  -------//--------- silver medal

2000 gold

this was just a example

same with ratio uploaded

1tb uploaded bronze

2tb --//--      silver

3tb --//--      gold

i dont know how hard that is to code put i think that code will be awesome!
Unknown User
2011-09-05 12:20:44
"buzz_me, post: 69883":
i have found a bug here. if i apply cooly's class color function nd apply uploader rank . thn the user name color does not appear untill i give a uploader rank. If i assign a uploader rank thn user color according to class works

so i have removed aboved code nd applied original cooly's class color fun nd color is working :S

any solution?
If any one know how to fix it.please help on this mod :)
Unknown User
2011-10-09 13:41:54
thanks
Unknown User
2012-11-23 13:02:00
Quote:
i have found a bug here. if i apply cooly's class color function nd apply uploader rank . thn the user name color does not appear untill i give a uploader rank. If i assign a uploader rank thn user color according to class works
so i have removed aboved code nd applied original cooly's class color fun nd color is working :S

any solution?

guys can u solve this problem?
Unknown User
2012-11-27 11:21:34
is it possible to have this for 2.08 ver
Unknown User
2012-11-27 17:55:53
THANKS to ArcticWolf

IT WORKS on 2.08

go here: [url="https://www.torrenttrader.org/topic/17364-uploader-rank-208/"]https://www.torrenttrader.org/topic/17364-uploader-rank-208/[/url]
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728