View Single Post
  #5  
Old 8th February 2009, 17:16
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
in outside.php find
PHP Code:
                if (!entry_exists($scrape,"files(dictionary)","Scrape")) {
                        return 
bterror(_bttrackerdata,_btscrapeerror,false);
                } elseif (!
entry_exists($scrape,"files/".$infohash_hex."(Dictionary)","Scrape")) {
                        return 
bterror(_bttorrentnotregistered,_btscrapeerror,false);
                } else {
                        
#Check seeder
                        
$seeders entry_read($scrape,"files/".$infohash_hex."/complete(Integer)","Scrape");
                        
#if ($seeders <= 0 AND $force_upload) return bterror(_btnoseedersontracker,_btnoseedersontracker,false);
                        
if ($seeders <= AND !$force_upload) return bterror(_btnoseedersontracker,_btscrapeerror,false);
                        
$leechers entry_read($scrape,"files/".$infohash_hex."/incomplete(Integer)","Scrape");
                        
$completed entry_read($scrape,"files/".$infohash_hex."/downloaded(Integer)","Scrape");
                } 
and replace it with
PHP Code:
                if (!entry_exists($scrape,"files(dictionary)","Scrape")) {
                        return 
bterror(_bttrackerdata,_btscrapeerror,false);
                } elseif (!
entry_exists($scrape,"files/a".$infohash_hex."(Dictionary)","Scrape")) {
                        return 
bterror(_bttorrentnotregistered,_btscrapeerror,false);
                } else {
                        
#Check seeder
                        
$seeders entry_read($scrape,"files/a".$infohash_hex."/complete(Integer)","Scrape");
                        
#if ($seeders <= 0 AND $force_upload) return bterror(_btnoseedersontracker,_btnoseedersontracker,false);
                        
if ($seeders <= AND !$force_upload) return bterror(_btnoseedersontracker,_btscrapeerror,false);
                        
$leechers entry_read($scrape,"files/a".$infohash_hex."/incomplete(Integer)","Scrape");
                        
$completed entry_read($scrape,"files/a".$infohash_hex."/downloaded(Integer)","Scrape");
                } 
lol sorry this was done for PMBT 1.2 I forgot to update that part
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote