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
Anti Hit & Run System
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Mods Completed

Unknown User
2013-03-02 22:37:51
Seems to work well on my dev site from more than 1 month with hard testing, so here it is

How does it works :

Every time a torrent is completed, user have to seed $ hours in an interval of $ days he start the download
after $ days he take 1 H&R if seedtime is < $ hours
to delete H&R, he just need to complete $ hours
when user take $ H&R, he is warn for $ days and he need to del 1 H&r min to del warn
after $ days warned, he is banned
when user take $ H&R he is banned directly

Write Log, Modcomment and email to user with reason when ban

You need SQL, function.php and announce.php modifications from 1st post MVP's snatchlist [url="http://www.torrenttrader.pw/index.php?/topic/16962-snatchlist/"]http://www.torrentt...962-snatchlist/[/url]

SQL

ALTER TABLE `snatched` ADD `hnr` enum('no','yes') NOT NULL DEFAULT 'no';
config.php

add above ?>
//H&R config
$site_config["hnr_deadline"] = 7*86400; // 7 days remaining
$site_config["hnr_seedtime"] = 36*3600; // 36 hours to seed
$site_config["hnr_warn"] = 3; // how many h&r to warn
$site_config["hnr_ban"] = 5; // how many h&r to ban
$site_config["hnr_disabled"] = 7*86400; // days to ban warned

change value with what you want

announce.php

find
if ( ($MEMBERSONLY) && (($seeder == 'no' && $torrent['freeleech'] == 0)) )

change for
if ( $MEMBERSONLY && $seeder == 'no' )

find
SQL_Query_exec("UPDATE users SET uploaded = uploaded + $upthis WHERE id=$userid") or err("Tracker error: Unable to update stats");

add underneath
SQL_Query_exec("UPDATE LOW_PRIORITY `snatched` SET `uload` = `uload` + '$upthis', `utime` = '".gmtime()."', `ltime` = `ltime` + '$elapsed' WHERE `tid` = '$torrentid' AND `uid` = '$userid'");

find
$elapsed = ($self['seeder'] == 'yes') ? $site_config['announce_interval'] - floor(($self['ez'] - time()) / 60) : 0;

change for
if ( $_GET[ 'event' ] != 'stopped' )
{
$elapsed = ($self['seeder'] == 'yes') ? $site_config['announce_interval'] - floor(($self['ez'] - time()) / 60) : 0;
}

cleanup.php

find
//REMOVE WARNING
$res1 = SQL_Query_exec("SELECT users.id, users.username FROM users INNER JOIN warnings ON users.id=warnings.userid WHERE type='Poor Ratio' AND active = 'yes' AND warned = 'yes' AND enabled='yes' AND uploaded / downloaded >= $minratio AND downloaded >= $downloaded");

change for
// REMOVE WARNINGS
$res1 = SQL_Query_exec("SELECT users.id, users.username, warnings.expiry FROM users INNER JOIN warnings ON users.id=warnings.userid WHERE type != 'Poor Ratio' AND type != 'HnR' AND warned = 'yes' AND enabled='yes' AND warnings.active = 'yes' AND warnings.expiry < '".get_date_time()."'");

find
//OPTIMIZE TABLES

add above (english version)
//===| HIT & RUN
$timenow = gmtime();
SQL_Query_exec("UPDATE snatched SET hnr = 'yes' WHERE completed = '1' AND hnr = 'no' AND uload < dload AND $timenow - $site_config[hnr_deadline] > stime AND $site_config[hnr_seedtime] > ltime");
SQL_Query_exec("UPDATE `snatched` SET `hnr` = 'no' WHERE `hnr` = 'yes' AND uload >= dload");
SQL_Query_exec("UPDATE `snatched` SET `hnr` = 'no' WHERE `hnr` = 'yes' AND ltime >= $site_config[hnr_seedtime]");
$a = SQL_Query_exec("SELECT DISTINCT uid FROM snatched WHERE hnr = 'yes'");

if ( mysql_num_rows($a) > 0 ) :
while ($b = mysql_fetch_row($a)) :
$c = SQL_Query_exec("SELECT COUNT( hnr ) FROM snatched WHERE uid = $b[0] AND hnr = 'yes'");
$d = mysql_fetch_row($c);
$count = $d[0];
$user = $b[0];

$length = $site_config["hnr_disabled"];
$expiretime = gmdate("d-M-Y H:i:s", $timenow + $length);

$e = SQL_Query_exec("SELECT type, active FROM warnings WHERE userid = '$user'");
$f = mysql_fetch_row($e);
$type = $f[0];
$active = $f[1];

# warn user
if ( $count >= $site_config["hnr_warn"] && $type != "HnR" ) :
$reason = "You're warned because you have accumulated ".$site_config['hnr_warn']." HnR";
$subject = "Warning for H&R";
$msg = "You're warned because you have accumulated ".$site_config['hnr_warn']." H&RnYou must to keep seeding for the torrents that you have downloaded.nAttention! If you do not remove at least 1 Hit & Run within 7 days, your account will be banned.nIt will be the same if you continue to accumulate Hits & Run.";

$rev = SQL_Query_exec("SELECT enabled FROM users WHERE id = $user");
$rov = mysql_fetch_assoc($rev);
if ($rov["enabled"] == "yes") :
SQL_Query_exec("UPDATE users SET warned = 'yes' WHERE id = $user");
SQL_Query_exec("INSERT INTO warnings (userid, reason, added, expiry, warnedby, type) VALUES ($user,'".$reason."','".get_date_time()."','".$expiretime."','0','HnR')");
SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES (0, $user, '".get_date_time()."', ".sqlesc($subject).", ".sqlesc($msg).", 0)");
endif;
endif;

# remove warning
if ( $count < $site_config["hnr_warn"] && $type == "HnR") :
$subject = "Your warning for H&R has been removed.";
$msg = "You have now less than ".$site_config['hnr_warn']." H&R.nYour warning for H&R has been removed.";
SQL_Query_exec("UPDATE users SET warned = 'no' WHERE id = $user");
SQL_Query_exec("DELETE FROM warnings WHERE userid = $user AND type = 'HnR'");
SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES (0, $user, '".get_date_time()."', ".sqlesc($subject).", ".sqlesc($msg).", 0)");
endif;

# ban user
if ( $count >= $site_config["hnr_ban"] ) :
$g = SQL_Query_exec("SELECT username, email, modcomment FROM users WHERE id = $user");
$h = mysql_fetch_row($g);
$modcomment = $h[2];
$modcomment = gmdate("d-M-Y") . " - Has been disabled because he accumulated: " .$count. " H&Rn " .$modcomment;
SQL_Query_exec("UPDATE users SET enabled = 'no', warned = 'no', modcomment = '$modcomment' WHERE id = $user");
SQL_Query_exec("DELETE FROM warnings WHERE userid = $user AND type = 'HnR'");
write_log("<a href='account-details.php?id=".$user."'><b>".$h[0]."</b></a> has been disabled because he accumulated <b>".$count."</b> H&R");

# send email
$subject = "Your account at $site_config[SITENAME] has been disabled";
$body = "You have been banned for the following reason:n
------------------------------
nYou have accumulated $count H&Rn
------------------------------
nYou can contact us by following this link:
".$site_config['SITEURL']."/contact.php
nnn".$site_config['SITENAME']." ".T_("ADMIN");
sendmail($h[1], "$subject", "$body", "From $site_config[SITEEMAIL]", "-f$site_config[SITEEMAIL]");
endif;
endwhile;
endif;

//Ban warned user
$timenow = gmtime();
$k = SQL_Query_exec("SELECT userid FROM warnings WHERE type = 'HnR' AND active = 'yes' AND UNIX_TIMESTAMP(expiry) < $timenow");
if ( mysql_num_rows($k) > 0 ) :
while ($l = mysql_fetch_row($k)) :
$m = SQL_Query_exec("SELECT username, email, modcomment FROM users WHERE id = $l[0] AND enabled = 'yes' AND warned = 'yes'");
$n = mysql_fetch_row($m);

$modcomment = $n[2];
$modcomment = gmdate("d/m/Y") . " - Banned because that the warning time for H&R has expired.n " .$modcomment;
SQL_Query_exec("UPDATE users SET enabled = 'no', warned = 'no', modcomment = '$modcomment' WHERE id = $l[0]");
SQL_Query_exec("DELETE FROM warnings WHERE userid = $l[0] AND type = 'HnR'");
write_log("<a href='account-details.php?id=".$l[0]."'><b>".$n[0]."</b></a> has been banned because that the warning time for H&R has expired.");

$subject = "Your account at $site_config[SITENAME] has been disabled";
$body = "You have been banned for the following reason:n
------------------------------
nThe warning time for H&R has expired.n
------------------------------
nYou can contact us by following this link:
".$site_config['SITEURL']."/contact.php
nnn".$site_config['SITENAME']." ".T_("ADMIN");
sendmail($n[1], "$subject", "$body", "From $site_config[SITEEMAIL]", "-f$site_config[SITEEMAIL]");
endwhile;
endif;
//===| END HIT & RUN

or add above (french version)
//HIT & RUN
$timenow = gmtime();
SQL_Query_exec("UPDATE snatched SET hnr = 'yes' WHERE completed = '1' AND hnr = 'no' AND uload < dload AND $timenow - $site_config[hnr_deadline] > stime AND $site_config[hnr_seedtime] > ltime");
SQL_Query_exec("UPDATE `snatched` SET `hnr` = 'no' WHERE `hnr` = 'yes' AND uload >= dload");
SQL_Query_exec("UPDATE `snatched` SET `hnr` = 'no' WHERE `hnr` = 'yes' AND ltime >= $site_config[hnr_seedtime]");
$a = SQL_Query_exec("SELECT DISTINCT uid FROM snatched WHERE hnr = 'yes'");
if ( mysql_num_rows($a) > 0 ) :
while ($b = mysql_fetch_row($a)) :
$c = SQL_Query_exec("SELECT COUNT( hnr ) FROM snatched WHERE uid = $b[0] AND hnr = 'yes'");
$d = mysql_fetch_row($c);
$count = $d[0];
$user = $b[0];

$length = $site_config["hnr_disabled"];
$expiretime = gmdate("Y-m-d H:i:s", $timenow + $length);

$e = SQL_Query_exec("SELECT type, active FROM warnings WHERE userid = '$user'");
$f = mysql_fetch_row($e);
$type = $f[0];
$active = $f[1];

//warn
if ( $count >= $site_config["hnr_warn"] && $type != "HnR" ) :
$reason = "Avertissement pour avoir accumulé ".$site_config['hnr_warn']." HnR.";
$subject = "Avertissement pour H&R";
$msg = "Vous avez été averti car vous avez accumulé ".$site_config['hnr_warn']." H&R.nNous vous invitons à consulter les règles sur le téléchargement.nAttention! Si vous n'effacez pas au moins 1 Hit & Run sous 7 jours, votre compte sera banni.nIl en sera de même si vous continuez à accumuler les Hits & Run.";

$rev = SQL_Query_exec("SELECT enabled FROM users WHERE id = $user");
$rov = mysql_fetch_assoc($rev);
if ($rov["enabled"] == "yes") :
SQL_Query_exec("UPDATE users SET warned = 'yes' WHERE id = $user");

SQL_Query_exec("INSERT INTO warnings (userid, reason, added, expiry, warnedby, type) VALUES ($user,'".$reason."','".get_date_time()."','".$expiretime."','0','HnR')");

SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES (0, $user, '".get_date_time()."', ".sqlesc($subject).", ".sqlesc($msg).", 0)");
endif;
endif;

//Unwarned
if ( $count < $site_config["hnr_warn"] && $type == "HnR") :
$subject = "Retrait d'avertissement HnR.";
$msg = "Vous avez désormais moins de ".$site_config['hnr_warn']." H&R.nVotre avertissement pour H&R a été retiré.";

SQL_Query_exec("UPDATE users SET warned = 'no' WHERE id = $user");

SQL_Query_exec("DELETE FROM warnings WHERE userid = $user AND type = 'HnR'");

SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES (0, $user, '".get_date_time()."', ".sqlesc($subject).", ".sqlesc($msg).", 0)");
endif;

//Ban
if ( $count >= $site_config["hnr_ban"] ) :
$g = SQL_Query_exec("SELECT username, email, modcomment FROM users WHERE id = $user");
$h = mysql_fetch_row($g);
$modcomment = $h[2];
$modcomment = gmdate("d/m/Y") . " - Banni pour " .$count. " H&R.n " .$modcomment;
SQL_Query_exec("UPDATE users SET enabled = 'no', warned = 'no', modcomment = '$modcomment' WHERE id = $user");

SQL_Query_exec("DELETE FROM warnings WHERE userid = $user AND type = 'HnR'");

write_log("Le membre <a href='account-details.php?id=".$user."'>".$h[0]."</a> a été banni. Raison : ".$count." H&R.");

$subject = "Votre compte sur $site_config[SITENAME] a été désactivé";
$body = "Vous avez été banni pour la raison suivante :n
------------------------------
nVous avez accumulé $count H&R.n
------------------------------
nVous pouvez nous contacter en suivant ce lien :
".$site_config['SITEURL']."/contact.php
nnn".$site_config['SITENAME']." ".T_("ADMIN");
sendmail($h[1], "$subject", "$body", "De: $site_config[SITEEMAIL]", "-f$site_config[SITEEMAIL]");
endif;
endwhile;
endif;

//Ban warned
$timenow = gmtime();
$k = SQL_Query_exec("SELECT userid FROM warnings WHERE type = 'HnR' AND active = 'yes' AND UNIX_TIMESTAMP(expiry) < $timenow");
if ( mysql_num_rows($k) > 0 ) :
while ($l = mysql_fetch_row($k)) :
$m = SQL_Query_exec("SELECT username, email, modcomment FROM users WHERE id = $l[0] AND enabled = 'yes' AND warned = 'yes'");
$n = mysql_fetch_row($m);

$modcomment = $n[2];
$modcomment = gmdate("d/m/Y") . " - Banni pour délai d'avertissement H&R expiré.n " .$modcomment;
SQL_Query_exec("UPDATE users SET enabled = 'no', warned = 'no', modcomment = '$modcomment' WHERE id = $l[0]");

SQL_Query_exec("DELETE FROM warnings WHERE userid = $l[0] AND type = 'HnR'");

write_log("Le membre <a href='account-details.php?id=".$l[0]."'>".$n[0]."</a> a été banni. Raison : Délai d'avertissement H&R expiré.");

$subject = "Votre compte sur $site_config[SITENAME] a été désactivé";
$body = "Vous avez été banni pour la raison suivante :n
------------------------------
nDélai avertissement H&R expiré.n
------------------------------
nVous pouvez nous contacter en suivant ce lien :
".$site_config['SITEURL']."/contact.php
nnn".$site_config['SITENAME']." ".T_("ADMIN");
sendmail($n[1], "$subject", "$body", "De: $site_config[SITEEMAIL]", "-f$site_config[SITEEMAIL]");
endwhile;
endif;
//END HIT & RUN

account-details

find
$numtorrents = get_row_count("torrents", "WHERE owner = $id");

add above
//h&r
$qry = SQL_Query_exec("SELECT COUNT(`hnr`) FROM `snatched` WHERE `uid` = '$id' AND `hnr` = 'yes'");
$res = mysql_fetch_row($qry);
$hnr = $res[0];

find
<?php echo T_("AVG_DAILY_DL"); ?>: <?php echo mksize($user["downloaded"] / (DateDiff($user["added"], time()) / 86400)); ?><br />

add above
<b>Hit & Run :</b> <?php echo $hnr; ?><br />

find
<?php
}
//team

add above
<tr><td><a href="snatched.php?uid=<?php echo $user["id"]?>"><b>Snatchs List</b></a></td></tr>

account.php

find
<?php print("<a href='mailbox.php'><b>".T_("YOUR_MESSAGES")."</b></a>");?>

add underneath
&nbsp;|&nbsp;
<?php print("<a href='snatched.php'><b>".T_("SNATCHLIST")."</b></a>");?>

delete your snatchlist.php or snatched.php and use the one attached

I use contact.php which is nothing to do with this H&R system so if you don't use it delete link in email part(cleanup.php)
I already use class_user() function so delete each in snatched.php if you don't use it
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6613"]snatched.php[/url]
snatched.php
Download
Unknown User
2013-03-02 23:03:36
i'm gonna try this as soon as possible and report here how its working.

thank you!
Unknown User
2013-03-02 23:30:42
hyaaaa thank you azuris i try this :D
Unknown User
2013-03-02 23:43:04
thank you azuris
Unknown User
2013-03-04 00:44:11
thank you azuris :D
Unknown User
2013-03-04 04:06:47
[size=18px]The [/size][size=18px]English[/size][size=18px] version for [/size][size=18px]cleanup.php[/size][size=18px]:[/size]



//===| HIT & RUN

$timenow = gmtime();

SQL_Query_exec("UPDATE snatched SET hnr = 'yes' WHERE completed = '1' AND hnr = 'no' AND uload < dload AND $timenow - $site_config[hnr_deadline] > stime AND $site_config[hnr_seedtime] > ltime");

SQL_Query_exec("UPDATE `snatched` SET `hnr` = 'no' WHERE `hnr` = 'yes' AND uload >= dload");

SQL_Query_exec("UPDATE `snatched` SET `hnr` = 'no' WHERE `hnr` = 'yes' AND ltime >= $site_config[hnr_seedtime]");

$a = SQL_Query_exec("SELECT DISTINCT uid FROM snatched WHERE hnr = 'yes'");



if ( mysql_num_rows($a) > 0 ) :

while ($b = mysql_fetch_row($a)) :

$c = SQL_Query_exec("SELECT COUNT( hnr ) FROM snatched WHERE uid = $b[0] AND hnr = 'yes'");

$d = mysql_fetch_row($c);

$count = $d[0];

$user = $b[0];



$length = $site_config["hnr_disabled"];

$expiretime = gmdate("Y-m-d H:i:s", $timenow + $length);



$e = SQL_Query_exec("SELECT type, active FROM warnings WHERE userid = '$user'");

$f = mysql_fetch_row($e);

$type = $f[0];

$active = $f[1];



# warn user

if ( $count >= $site_config["hnr_warn"] && $type != "HnR" ) :

$reason = "You're warned because you have accumulated ".$site_config['hnr_warn']." HnR";

$subject = "Warning for H&R";

$msg = "You're warned because you have accumulated ".$site_config['hnr_warn']." H&RnYou must to keep seeding for the torrents that you have downloaded.nAttention! If you do not remove at least 1 Hit & Run within 7 days, your account will be banned.nIt will be the same if you continue to accumulate Hits & Run.";



$rev = SQL_Query_exec("SELECT enabled FROM users WHERE id = $user");

$rov = mysql_fetch_assoc($rev);

if ($rov["enabled"] == "yes") :

SQL_Query_exec("UPDATE users SET warned = 'yes' WHERE id = $user");

SQL_Query_exec("INSERT INTO warnings (userid, reason, added, expiry, warnedby, type) VALUES ($user,'".$reason."','".get_date_time()."','".$expiretime."','0','HnR')");

SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES (0, $user, '".get_date_time()."', ".sqlesc($subject).", ".sqlesc($msg).", 0)");

endif;

endif;



# remove warning

if ( $count < $site_config["hnr_warn"] && $type == "HnR") :

$subject = "Your warning for H&R has been removed.";

$msg = "You have now less than ".$site_config['hnr_warn']." H&R.nYour warning for H&R has been removed.";

SQL_Query_exec("UPDATE users SET warned = 'no' WHERE id = $user");

SQL_Query_exec("DELETE FROM warnings WHERE userid = $user AND type = 'HnR'");

SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES (0, $user, '".get_date_time()."', ".sqlesc($subject).", ".sqlesc($msg).", 0)");

endif;



# ban user

if ( $count >= $site_config["hnr_ban"] ) :

$g = SQL_Query_exec("SELECT username, email, modcomment FROM users WHERE id = $user");

$h = mysql_fetch_row($g);

$modcomment = $h[2];

$modcomment = gmdate("d-M-Y") . " - Has been disabled because he accumulated: " .$count. " H&Rn " .$modcomment;

SQL_Query_exec("UPDATE users SET enabled = 'no', warned = 'no', modcomment = '$modcomment' WHERE id = $user");

SQL_Query_exec("DELETE FROM warnings WHERE userid = $user AND type = 'HnR'");

write_log("<a href='account-details.php?id=".$user."'><b>".$h[0]."</b></a> has been disabled because he accumulated <b>".$count."</b> H&R");



# send email

$subject = "Your account at $site_config[sITENAME] has been disabled";

$body = "You have been banned for the following reason:n

------------------------------

nYou have accumulated $count H&Rn

------------------------------

nYou can contact us by following this link:

".$site_config['SITEURL']."/contact.php

nnn".$site_config['SITENAME']." ".T_("ADMIN");

sendmail($h[1], "$subject", "$body", "From $site_config[sITEEMAIL]", "-f$site_config[sITEEMAIL]");

endif;

endwhile;

endif;



//Ban warned user

$timenow = gmtime();

$k = SQL_Query_exec("SELECT userid FROM warnings WHERE type = 'HnR' AND active = 'yes' AND UNIX_TIMESTAMP(expiry) < $timenow");

if ( mysql_num_rows($k) > 0 ) :

while ($l = mysql_fetch_row($k)) :

$m = SQL_Query_exec("SELECT username, email, modcomment FROM users WHERE id = $l[0] AND enabled = 'yes' AND warned = 'yes'");

$n = mysql_fetch_row($m);



$modcomment = $n[2];

$modcomment = gmdate("d/m/Y") . " - Banned because that the warning time for H&R has expired.n " .$modcomment;

SQL_Query_exec("UPDATE users SET enabled = 'no', warned = 'no', modcomment = '$modcomment' WHERE id = $l[0]");

SQL_Query_exec("DELETE FROM warnings WHERE userid = $l[0] AND type = 'HnR'");

write_log("<a href='account-details.php?id=".$l[0]."'><b>".$n[0]."</b></a> has been banned because that the warning time for H&R has expired.");



$subject = "Your account at $site_config[sITENAME] has been disabled";

$body = "You have been banned for the following reason:n

------------------------------

nThe warning time for H&R has expired.n

------------------------------

nYou can contact us by following this link:

".$site_config['SITEURL']."/contact.php

nnn".$site_config['SITENAME']." ".T_("ADMIN");

sendmail($n[1], "$subject", "$body", "From $site_config[sITEEMAIL]", "-f$site_config[sITEEMAIL]");

endwhile;

endif;

//===| END HIT & RUN

Unknown User
2013-03-04 10:54:34
TY BigMax i'll update 1st post (ban warned user is still in french)

i forgot something

cleanup.php

find



//REMOVE WARNING

$res1 = SQL_Query_exec("SELECT users.id, users.username FROM users INNER JOIN warnings ON users.id=warnings.userid WHERE type='Poor Ratio' AND active = 'yes' AND warned = 'yes' AND enabled='yes' AND uploaded / downloaded >= $minratio AND downloaded >= $downloaded");

change for




// REMOVE WARNINGS

$res1 = SQL_Query_exec("SELECT users.id, users.username, warnings.expiry FROM users INNER JOIN warnings ON users.id=warnings.userid WHERE type != 'Poor Ratio' AND type != 'HnR' AND warned = 'yes' AND enabled='yes' AND warnings.active = 'yes' AND warnings.expiry < '".get_date_time()."'");




1st post updated
Unknown User
2013-03-04 12:23:53
I don't know how I missed that part... I corrected it and updated my post.
Unknown User
2013-03-04 12:39:25
1st post updated ;)
Unknown User
2013-03-04 16:12:39
hi its seem to be great but i have a question in config.php im take the default setup my question after how many days the hit and run is comptabilised after the torrent stopped

thanks

//H&R config

$site_config["hnr_deadline"] = 7*86400; // 7 days remaining

$site_config["hnr_seedtime"] = 36*3600; // 36 hours to seed

$site_config["hnr_warn"] = 3; // how many h&r to warn

$site_config["hnr_ban"] = 5; // how many h&r to ban

$site_config["hnr_disabled"] = 7*86400; // days to ban warned

possible to explaind each line thanks :)
Unknown User
2013-03-04 16:42:02
with default:

when you complete a torrent you have to seed it 36 hours and you have 7 days to do it.

After 7 days if your ratio on this torrent <1 or seedtime < 36 hours, you take a H&R

when you take 3 H&R, you are warned

if you are warned for H&R for 7 days then you are ban

if you take 5 H&R (so 2 more when you are warn) you are ban directly

Already explain in first post
Unknown User
2013-03-04 17:19:36
ok the warn ship after 7 days if you dont seed the time of 36 hours?  thanks :)
Unknown User
2013-03-04 18:47:20
thanks azuris im tested this :)
Unknown User
2013-03-05 04:31:01
Might be a more appropriate sanction that instead of disabling the account to be subtracted the size of torrent recorded with H&R from the user upload.

That hurts and for account deactivation will work the low ratio system, if is the case.

Eventually it is reach the same result but at a more gentle way and will make the tracker more friendly...
Unknown User
2013-03-05 11:43:49
number of H&R of our account it's possible ?  :unsure:

EX : H&R : 3
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