This mod competently sends - wanting to pump a lot of torrent files, without downloading previous releases in his
client. By default, there is a resolution for only
6 (SIX) torrent files/handouts and a VIP access class. If you have a
VIP is the
UPLOADER,then change for yourself, mod corrected to the standard script Yunich. In general, everything is clear there, we rule the number and class of access under themselves!
Attention
download.php
To find:
Code:
$id = (int) $_GET["id"];
if (!is_numeric($id))
stderr($tracker_lang['error'],$tracker_lang['invalid_id']);
insert AFTER it here's this:
Code:
///////////////////////////////////////////////////////
$antivor = sql_query("SELECT COUNT(torrent) FROM snatched WHERE userid = ".sqlesc($CURUSER["id"])." AND finished = 'no'") or sqlerr(__FILE__, __LINE__);
$antivors = mysql_fetch_array($antivor);$count = $antivors[0]; /*/ By default, it is allowed to download no more than 6 torrent files if you have not downloaded the previous release downloads /*/
if(get_user_class() < UC_VIP && $count >= 6){stderr("<center>Error!</center>", "<center>You cannot download torrent files, because you have <b>$count</b> unfinished release downloads and you are not a <b>VIP</b> class!</center>");}
///////////////////////////////////////////////////////