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
[MOD] colored upload & download stat
Controls ·  Search New posts · Mark unread

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

Unknown User
2008-10-06 14:31:59
is my first mod  ;)  sorry for newbie and for my english  ;)

in login_block find:

 print ("<center><img width=80 height=80 src=$avatar></center><br>" . DOWNLOADED . ": $userdownloaded<br>" . UPLOADED . ": $useruploaded<BR>" . ACCOUNT_PRIVACY_LV . ": $privacylevel<BR>". RATIO .": $userratio<BR>Seeding Bonus: <a href='mybonus.php'>$seedbonus</a>");
replace with:


print ("<center><img width=80 height=80 src=$avatar></center><br>" . DOWNLOADED . ":<font color=\"red\"> $userdownloaded<br><font color=\"black\">" . UPLOADED . "<font color=\"green\">: $useruploaded<font color=\"black\"><BR>" . ACCOUNT_PRIVACY_LV . ": $privacylevel<BR>". RATIO .": $userratio<BR>Seeding Bonus: <a href='mybonus.php'>$seedbonus</a>");



this show the "upload" in green and "download" in red

:)
Unknown User
2008-10-07 16:34:55
thanks
Unknown User
2008-12-01 22:58:01
thanks, works fine :D
Unknown User
2009-05-31 11:15:44
Good idea, but in action failed horribly for me, I did however borrow those little snippets to change the color and that worked fine. The reason it didn't work is because you code like mine is modified to do something different, you from the looks of it have a seed bonus and stuff added to that block, which I don't, I also have a black background and half of the stuff in that block got blacked out...

Something simpler would have been to say

find

$userdownloaded

before add

<font color=\"red\">

example

<font color=\"red\"> $userdownloaded

Mostly because I didn't really want the other text to change colors, but thanks for the insight anyways :)
Unknown User
2010-03-02 22:11:17
"ImYourVirus, post: 58138":
Good idea, but in action failed horribly for me, I did however borrow those little snippets to change the color and that worked fine. The reason it didn't work is because you code like mine is modified to do something different, you from the looks of it have a seed bonus and stuff added to that block, which I don't, I also have a black background and half of the stuff in that block got blacked out...
Something simpler would have been to say

find

$userdownloaded

before add

<font color=\"red\">

example

<font color=\"red\"> $userdownloaded

Mostly because I didn't really want the other text to change colors, but thanks for the insight anyways  <_<

You need to close the tag at the end.

Old

<font color=\"red\"> $userdownloaded

New

<font color=\"red\"> $userdownloaded</font>

If not all other text is red too
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