Don't know why this wasn't added, they probably just forgot :P
Requested [url="http://www.torrenttrader.org/index.php?showtopic=7721"]here[/url], taken from 1.08 code, adapted to 2.03.
in functions.php, find:
Tested & working @ TT2.03
This should probably be added to SVN too :)
Requested [url="http://www.torrenttrader.org/index.php?showtopic=7721"]here[/url], taken from 1.08 code, adapted to 2.03.
in functions.php, find:
$dispname = "<b>" . $smallname . "</b>";Below, add:// Start NEW! mod
$last_access = sql_timestamp_to_unix_timestamp($CURUSER["last_access"]);
$time_now = gmtime();
if ($last_access > $time_now || !is_numeric($last_access)) {
$last_access=$time_now;
}
if (sql_timestamp_to_unix_timestamp($row["added"]) >= $last_access){
$dispname = "<b>" . $smallname . "</b> <b><font color=red>(NEW!)</font></b>";
}else{
$dispname = "<b>" . $smallname . "</b>";
}
// end NEW! modTested & working @ TT2.03
This should probably be added to SVN too :)