Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Yuna Scatari Edition (YSE) (http://www.bvlist.com/forumdisplay.php?f=22)
-   -   Anti-collector torrent files (http://www.bvlist.com/showthread.php?t=12340)

Elena 18th February 2021 11:00

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("
Error!
", "
You cannot download torrent files, because you have $count unfinished release downloads and you are not a VIP class!
");}
///////////////////////////////////////////////////////



All times are GMT +2. The time now is 08:57.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.