xbtitFM 2.1 - Strange problem
2 Attachment(s)
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?
|
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.
|
Quote:
|
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`"; } |
1 Attachment(s)
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 |
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`"; } |
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`"; } |
Try to put at least 4 torrents and have them be internal
|
Quote:
|
Quote:
And on external torrents, does it count the seeds? is the scraper working properly for you? |
All times are GMT +2. The time now is 06:57. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.