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
User Posts

Go to Profile

It is your PHP version. You need to change the <? at the beginning into <?php
I've moved the definition of the colors to the CSS, which allows to asign different colours depending on the Theme (e.g. Dark or Light Theme as well as other styles (bold, underline, font ...).

In addition, I've added a "title" to the element, which takes the translation of the user class from the language files and will show when the mose hover the user name. So for example it will show "Member" with English language and "Membre" with french language.

Here my code example.

In backend/functions.php

case 1: // Member
$col = "member"; $title = T_("MEMBER");
break;

and

return unesc("<span class='".$col."' title='".$title."'>".$name."".$star."".$warn."".$disabled."</span>");

in the CSS for the class:

.member {
color: #00AA00; /* Green */
}

Which in my case just defines a colour (I've tried a loat with shadows to enhance contrast, but the results were not satisfying. CSS experts certainly can make a lot with that).

Finally I want to express a big thank you to the contributors here MVP, BigMax, Tiloup, TorrentialStorm, ArcticWolf and all those I've forgotten to name, which with their modifications allow me to adapt my site to what I've in mind for it. I'm currently in the middle of it and as a side effect learn PHP (the trial, error, google, correct, ... way).
If I understand the MVP code correctly, a staff member can delete his account while being not logged in. I've added alogin only condition ...
Thank you!
Bitcoin? — 2014-07-10 13:13:06 in General Chat
I'm interesed in this. How much bitcoin s would you need me to be available for testing?
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: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728