#21
Не знаю что на что заменить displaying_torrent.phpНу вообще вот он: https://github.com/torrentpier/torrentpier/blob/master/library/attach_mod/displaying_torrent.php
Не знаю что на что заменить displaying_torrent.phpНу вообще вот он: https://github.com/torrentpier/torrentpier/blob/master/library/attach_mod/displaying_torrent.php
$peers_cnt = $seed_count = $leech_count = 0;https://github.com/torrentpier/torrentpier/blob/master/library/attach_mod/displaying_torrent.php#L20
// SQL for each mode
if ($s_mode == 'count')
{https://github.com/torrentpier/torr...ibrary/attach_mod/displaying_torrent.php#L301найти и заменить
if ($s_mode != 'full' && $seeders)
{https://github.com/torrentpier/torr...ibrary/attach_mod/displaying_torrent.php#L542найти и заменить
$tmp[0]['username'] = (int) @$peers[0]['leechers'] + @$peers[0]['tor_leechers'];
$tmp[1]['username'] = (int) @$peers[0]['seeders'] + @$peers[0]['tor_seeders'];https://github.com/torrentpier/torr...ibrary/attach_mod/displaying_torrent.php#L399найти и заменить if ($bb_cfg['bt_allow_spmode_change'] && $s_mode != 'full' && $seed_count || $leech_count)https://github.com/torrentpier/torr...ibrary/attach_mod/displaying_torrent.php#L585