Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=117)
-   -   0SEED / 0LEECH with UDP Blocked? (http://www.bvlist.com/showthread.php?t=9748)

Birkoff 31st January 2014 17:25

0SEED / 0LEECH with UDP Blocked?
 
Add this in your takeupload.php:

PHP Code:

mysql_query("UPDATE torrents SET seeders='1' WHERE seeders='0' AND ts_external='yes'"); //this query is for free hostings with UDP blocked!!!
mysql_query("UPDATE torrents SET leechers='1' WHERE leechers='0' AND ts_external='yes'"); //this query is for free hostings with UDP blocked!!! 


After:

PHP Code:

 if (file_exists (TSDIR '/' $cache '/latesttorrents.html'))
  {
    @
unlink (TSDIR '/' $cache '/latesttorrents.html');
  } 

Enjoy! :)


All times are GMT +2. The time now is 01:48.

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