Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > xBTiT
Reply
  #1  
Old 26th February 2023, 08:27
dragon100 dragon100 is offline
Senior Member
 
Join Date: Feb 2023
Posts: 19
Default xbtitFM 2.1 - Strange problem
Hello! I have a strange problem in the Circling Last Torrents block because it only displays one torrent. When I click on it and go to torrent details, I noticed that it doesn't have a list of trackers. Maybe one of you knows why in this block it shows only this torrent without trackers and not others?
Attached Thumbnails
Screenshot_1.png   Screenshot_2.png  
Reply With Quote
  #2  
Old 27th February 2023, 09:39
crowni's Avatar
crowni crowni is offline
Senior Member
 
Join Date: Apr 2009
Bulgaria
Posts: 129
Default
Circling Last Torrents block if I'm not mistaken it is made not to show external torrents and without seed.It fetches via iframe from the file imageflow.php .It just needs to be redone.
Reply With Quote
The Following User Says Thank You to crowni For This Useful Post:
dragon100 (27th February 2023)
  #3  
Old 27th February 2023, 11:54
dragon100 dragon100 is offline
Senior Member
 
Join Date: Feb 2023
Posts: 19
Default
Quote:
Originally Posted by crowni View Post
Circling Last Torrents block if I'm not mistaken it is made not to show external torrents and without seed.It fetches via iframe from the file imageflow.php .It just needs to be redone.
Thank you for your response. I see. Do you know what exactly needs to be changed in this file?
Reply With Quote
  #4  
Old 27th February 2023, 15:43
crowni's Avatar
crowni crowni is offline
Senior Member
 
Join Date: Apr 2009
Bulgaria
Posts: 129
Default
Quote:
Originally Posted by dragon100 View Post
Thank you for your response. I see. Do you know what exactly needs to be changed in this file?



I haven't dealt with this for a long time and I don't have the source. I'll see where I can pull it from and I'll look in the file.

Bump: I think it's here



{
$active_seo = get_result("SELECT `activated`, `str`, `strto` FROM `{$TABLE_PREFIX}seo` WHERE `id`='1'", true, $btit_settings["cache_duration"]);
$res_seo=$active_seo[0];
}




Change the zero to a one and see if it works $res_seo=$active_seo[1];

Or here

if ($XBTT_USE)
{
$tseeds="`f`.`seeds`+ifnull(`x`.`seeders`,0)";
$tleechs="`f`.`leechers`+ifnull(`x`.`leechers`,0)" ;
$tcompletes="f.finished+ifnull(`x`.`completed`,0)" ;
$ttables="`{$TABLE_PREFIX}files` `f` LEFT JOIN `xbt_files` `x` ON `x`.`info_hash`=`f`.`bin_hash`";
}

Last edited by crowni; 27th February 2023 at 16:51.
Reply With Quote
The Following User Says Thank You to crowni For This Useful Post:
dragon100 (27th February 2023)
  #5  
Old 27th February 2023, 18:37
dragon100 dragon100 is offline
Senior Member
 
Join Date: Feb 2023
Posts: 19
Default
Quote:
Originally Posted by crowni View Post
I haven't dealt with this for a long time and I don't have the source. I'll see where I can pull it from and I'll look in the file.

Bump: I think it's here


Thank you very much for helping my friend. I am sending the file you provided.

Bump:
Quote:
Originally Posted by crowni View Post
I haven't dealt with this for a long time and I don't have the source. I'll see where I can pull it from and I'll look in the file.

Bump: I think it's here



{
$active_seo = get_result("SELECT `activated`, `str`, `strto` FROM `{$TABLE_PREFIX}seo` WHERE `id`='1'", true, $btit_settings["cache_duration"]);
$res_seo=$active_seo[0];
}




Change the zero to a one and see if it works $res_seo=$active_seo[1];

Or here

if ($XBTT_USE)
{
$tseeds="`f`.`seeds`+ifnull(`x`.`seeders`,0)";
$tleechs="`f`.`leechers`+ifnull(`x`.`leechers`,0)" ;
$tcompletes="f.finished+ifnull(`x`.`completed`,0)" ;
$ttables="`{$TABLE_PREFIX}files` `f` LEFT JOIN `xbt_files` `x` ON `x`.`info_hash`=`f`.`bin_hash`";
}

I changed 0 to 1 in $res_seo=$active_seo[1]

But it didn't help
Attached Files
File Type: php imageflow.php (8.8 KB, 0 views)
Reply With Quote
  #6  
Old 28th February 2023, 10:36
crowni's Avatar
crowni crowni is offline
Senior Member
 
Join Date: Apr 2009
Bulgaria
Posts: 129
Default
Try in this lines



if ($XBTT_USE)
{
$tseeds="`f`.`seeds`+ifnull(`x`.`seeders`,0)";
$tleechs="`f`.`leechers`+ifnull(`x`.`leechers`,0)" ;
$tcompletes="f.finished+ifnull(`x`.`completed`,0)" ;
$ttables="`{$TABLE_PREFIX}files` `f` LEFT JOIN `xbt_files` `x` ON `x`.`info_hash`=`f`.`bin_hash`";
}
Reply With Quote
  #7  
Old 28th February 2023, 13:20
dragon100 dragon100 is offline
Senior Member
 
Join Date: Feb 2023
Posts: 19
Default
Quote:
Originally Posted by crowni View Post
Try in this lines



if ($XBTT_USE)
{
$tseeds="`f`.`seeds`+ifnull(`x`.`seeders`,0)";
$tleechs="`f`.`leechers`+ifnull(`x`.`leechers`,0)" ;
$tcompletes="f.finished+ifnull(`x`.`completed`,0)" ;
$ttables="`{$TABLE_PREFIX}files` `f` LEFT JOIN `xbt_files` `x` ON `x`.`info_hash`=`f`.`bin_hash`";
}
I need to change 0 to 1 in `seeders`,0) leechers`,0) and completed`,0 ?

Bump:

Bump: I changed it like this but unfortunately it still displays only one torrent as before. Even when I added a new torrent it doesn't show it.


if ($XBTT_USE)
{
$tseeds="`f`.`seeds`+ifnull(`x`.`seeders`,1)";
$tleechs="`f`.`leechers`+ifnull(`x`.`leechers`,1)" ;
$tcompletes="f.finished+ifnull(`x`.`completed`,1)" ;
$ttables="`{$TABLE_PREFIX}files` `f` LEFT JOIN `xbt_files` `x` ON `x`.`info_hash`=`f`.`bin_hash`";
}
Reply With Quote
  #8  
Old 28th February 2023, 17:39
crowni's Avatar
crowni crowni is offline
Senior Member
 
Join Date: Apr 2009
Bulgaria
Posts: 129
Default
Try to put at least 4 torrents and have them be internal
Reply With Quote
  #9  
Old 28th February 2023, 18:37
dragon100 dragon100 is offline
Senior Member
 
Join Date: Feb 2023
Posts: 19
Default
Quote:
Originally Posted by crowni View Post
Try to put at least 4 torrents and have them be internal
I checked the list of trackers in the torrent that is displayed in the block and it has my link in the list of trackers http://dark-torrents.pl/announce.php and I would like it to display torrents typically on external trackers :)
Reply With Quote
  #10  
Old 3rd March 2023, 08:28
crowni's Avatar
crowni crowni is offline
Senior Member
 
Join Date: Apr 2009
Bulgaria
Posts: 129
Default
Quote:
Originally Posted by dragon100 View Post
I checked the list of trackers in the torrent that is displayed in the block and it has my link in the list of trackers http://dark-torrents.pl/announce.php and I would like it to display torrents typically on external trackers :)

And on external torrents, does it count the seeds? is the scraper working properly for you?
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 11:53. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.