|
#1
|
|||
|
|||
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?
|
#2
|
||||
|
||||
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.
|
The Following User Says Thank You to crowni For This Useful Post: | ||
dragon100 (27th February 2023)
|
#3
|
|||
|
|||
Thank you for your response. I see. Do you know what exactly needs to be changed in this file?
|
#4
|
||||
|
||||
Quote:
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. |
The Following User Says Thank You to crowni For This Useful Post: | ||
dragon100 (27th February 2023)
|
#5
|
|||
|
|||
Quote:
Thank you very much for helping my friend. I am sending the file you provided. Bump: Quote:
I changed 0 to 1 in $res_seo=$active_seo[1] But it didn't help |
#6
|
||||
|
||||
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`"; } |
#7
|
|||
|
|||
Quote:
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`"; } |
#8
|
||||
|
||||
Try to put at least 4 torrents and have them be internal
|
#9
|
|||
|
|||
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 :)
|
#10
|
||||
|
||||
Quote:
And on external torrents, does it count the seeds? is the scraper working properly for you? |
|
|