This is a mod I wrote for my tracker because we have been having issues with one of our members downloading torrent files and using a hacked client to download the torrent without announcing to the tracker making IP bans and other methods of finding out who its (they are using a different IP address in the hacked client) useless.
This mod creates a Site Log entry every time a user downloads a torrent file so you can keep track of who has what torrent and compare it to the active peer list to see who might be cheating using a hacked client.
Known torrenttrader versions this works for:
2.06
2.08
may also work for older version and all in between as well as most svn versions
download.php
Find
As you can see from the code it will also make links for the torrent and the user that is added to the log entry. I can add pictures if anyone wants but I think the code speaks for itself and hopefully this will come in handy for someone.
This mod creates a Site Log entry every time a user downloads a torrent file so you can keep track of who has what torrent and compare it to the active peer list to see who might be cheating using a hacked client.
Known torrenttrader versions this works for:
2.06
2.08
may also work for older version and all in between as well as most svn versions
download.php
Find
mysql_close();Add Before
//log download of torrent file
write_log("<b><font color='green'>Torrent File Downloaded:</font></b> <a href=\"".$site_config['SITEURL']."/torrents-details.php?id=$id\"><b>$name</b></a> was downloaded by <a href=\"".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."\"><b>".$CURUSER['username']."</b></a>.");
As you can see from the code it will also make links for the torrent and the user that is added to the log entry. I can add pictures if anyone wants but I think the code speaks for itself and hopefully this will come in handy for someone.