Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Yuna Scatari Edition (YSE)
Reply
  #1  
Old 18th February 2021, 11:00
Elena Elena is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 111
Thumbs up Anti-collector torrent files
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

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>");}
///////////////////////////////////////////////////////
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 14:39. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.