I just saw it
Attention
This test is thank you to give me your result
IN include/cron/
remplace your old weekly_clenups.php
by this
PHP Code:
<?
/***********************************************/
/*=========[TS Special Edition v.5.6]==========*/
/*=============[Special Thanks To]=============*/
/* DrNet - wWw.SpecialCoders.CoM */
/* Vinson - wWw.Decode4u.CoM */
/* MrDecoder - wWw.Fearless-Releases.CoM */
/* Fynnon - wWw.BvList.CoM */
/***********************************************/
if (!defined ('IN_CRON'))
{
exit ();
}
//////hit and run by fouini FIX/////////////////
require INC_PATH . '/functions_pm.php';
$seedT = 1 * 60 * 60; /// add your temp = hour ex: temp * 60 *60
$query = mysql_query ('SELECT s.id, s.torrentid, s.userid, s.seedtime, t.name, u.username FROM snatched s INNER JOIN torrents t ON (s.torrentid=t.id) INNER JOIN users u ON (s.userid=u.id) WHERE s.seeder = \'no\' and t.banned = \'no\' and s.seedtime < ' . $seedT . '');
while ($HR = mysql_fetch_assoc ($query))
{
$subject = 'Hit and run detect';
$msg = 'this torrent was not enough seeder : [URL=details.php?id=' . $HR['torrentid'] . ']' . htmlspecialchars ($HR['name']) . '[/URL]';
send_pm ($HR['userid'], $msg, $subject, 0);
mysql_query( "DELETE FROM snatched WHERE id = ".$HR['id']."" );
mysql_query( "UPDATE users SET timeswarned = timeswarned + 1 WHERE id = ".$HR['userid']."" );
}
//////
?>
after just wait... or run several times this files in tracker setting/Manage cron job