Это уже дело кэша) обновится самОбновил, все отвалилось )))
Хотя в ручную обновляется, по крону вроде работает, но на главной все статично ..
Это уже дело кэша) обновится самОбновил, все отвалилось )))
Хотя в ручную обновляется, по крону вроде работает, но на главной все статично ..
Все работает как часики, спасибо!!!Починил, сейчас выложу как обновление. Спасибо за найденные ошибки.
// Список хостов
$cfg_ann[] = 'udp://tracker.opentrackr.org:1337/announce';
$cfg_ann[] = 'udp://tracker.auctor.tv:6969/announce';
$cfg_ann[] = 'udp://opentracker.i2p.rocks:6969/announce';
$cfg_ann[] = 'udp://open.demonii.com:1337/announce';
$cfg_ann[] = 'udp://open.tracker.cl:1337/announce';
$cfg_ann[] = 'udp://tracker.openbittorrent.com:6969/announce';
$cfg_ann[] = 'http://tracker.openbittorrent.com:80/announce';
$cfg_ann[] = 'udp://open.stealth.si:80/announce';
$cfg_ann[] = 'udp://tracker.torrent.eu.org:451/announce';
$cfg_ann[] = 'udp://exodus.desync.com:6969/announce';
$cfg_ann[] = 'udp://explodie.org:6969/announce';
$cfg_ann[] = 'udp://tracker1.bt.moack.co.kr:80/announce';
$cfg_ann[] = 'udp://tracker.theoks.net:6969/announce';
$cfg_ann[] = 'udp://tracker.skyts.net:6969/announce';
$cfg_ann[] = 'udp://tracker-udp.gbitt.info:80/announce';
$cfg_ann[] = 'udp://open.tracker.ink:6969/announce';
$cfg_ann[] = 'udp://movies.zsw.ca:6969/announce';
$cfg_ann[] = 'https://tracker.gbitt.info:443/announce';
$cfg_ann[] = 'http://tracker.gbitt.info:80/announce';
$cfg_ann[] = 'udp://uploads.gamecoast.net:6969/announce';
$cfg_ann[] = 'udp://tracker.opentrackr.org:1337/announce';
$cfg_ann[] = 'http://tracker.opentrackr.org:1337/announce';
$cfg_ann[] = 'udp://tracker.auctor.tv:6969/announce';
$cfg_ann[] = 'udp://opentracker.i2p.rocks:6969/announce';
$cfg_ann[] = 'udp://open.demonii.com:1337/announce';
$cfg_ann[] = 'udp://open.tracker.cl:1337/announce';
$cfg_ann[] = 'udp://tracker.openbittorrent.com:6969/announce';
$cfg_ann[] = 'http://tracker.openbittorrent.com:80/announce';
$cfg_ann[] = 'udp://open.stealth.si:80/announce';
$cfg_ann[] = 'udp://tracker.torrent.eu.org:451/announce';
$cfg_ann[] = 'udp://exodus.desync.com:6969/announce';
$cfg_ann[] = 'udp://explodie.org:6969/announce';
$cfg_ann[] = 'udp://tracker1.bt.moack.co.kr:80/announce';
$cfg_ann[] = 'udp://tracker.theoks.net:6969/announce';
$cfg_ann[] = 'udp://tracker.skyts.net:6969/announce';
$cfg_ann[] = 'udp://tracker-udp.gbitt.info:80/announce';
$cfg_ann[] = 'udp://open.tracker.ink:6969/announce';
$cfg_ann[] = 'udp://movies.zsw.ca:6969/announce';
$cfg_ann[] = 'https://tracker.gbitt.info:443/announce';
$cfg_ann[] = 'http://tracker1.bt.moack.co.kr:80/announce';
$cfg_ann[] = 'http://tracker.skyts.net:6969/announce';
$cfg_ann[] = 'http://tracker.gbitt.info:80/announce';
$cfg_ann[] = 'http://open.tracker.ink:6969/announce';
$cfg_ann[] = 'udp://uploads.gamecoast.net:6969/announce';
$cfg_ann[] = 'udp://tracker2.dler.org:80/announce';
$cfg_ann[] = 'udp://tracker.tiny-vps.com:6969/announce';
$cfg_ann[] = 'udp://tracker.moeking.me:6969/announce';
$cfg_ann[] = 'udp://retracker01-msk-virt.corbina.net:80/announce';
$cfg_ann[] = 'udp://p4p.arenabg.com:1337/announce';
$cfg_ann[] = 'udp://opentracker.io:6969/announce';
$cfg_ann[] = 'udp://new-line.net:6969/announce';
$cfg_ann[] = 'udp://epider.me:6969/announce';
$cfg_ann[] = 'udp://bt1.archive.org:6969/announce';
$cfg_ann[] = 'udp://bt.ktrackers.com:6666/announce';
$cfg_ann[] = 'udp://acxx.de:6969/announce';
$cfg_ann[] = 'udp://6ahddutb1ucc3cp.ru:6969/announce';
$cfg_ann[] = 'https://tracker.tamersunion.org:443/announce';
$cfg_ann[] = 'http://open.acgnxtracker.com:80/announce';
$cfg_ann[] = 'udp://tracker1.myporn.club:9337/announce';
$cfg_ann[] = 'udp://tracker.therarbg.com:6969/announce';
$cfg_ann[] = 'udp://tracker.t-rb.org:6969/announce';
$cfg_ann[] = 'udp://tracker.filemail.com:6969/announce';
$cfg_ann[] = 'udp://tracker.edkj.club:6969/announce';
$cfg_ann[] = 'udp://tracker.cubonegro.lol:6969/announce';
$cfg_ann[] = 'udp://tracker.0x7c0.com:6969/announce';
$cfg_ann[] = 'udp://thinking.duckdns.org:6969/announce';
$cfg_ann[] = 'udp://tamas3.ynh.fr:6969/announce';
$cfg_ann[] = 'udp://ryjer.com:6969/announce';
$cfg_ann[] = 'udp://open.u-p.pw:6969/announce';
$cfg_ann[] = 'udp://open.dstud.io:6969/announce';
$cfg_ann[] = 'udp://moonburrow.club:6969/announce';
$cfg_ann[] = 'udp://bt2.archive.org:6969/announce';
$cfg_ann[] = 'udp://6.pocketnet.app:6969/announce';
$cfg_ann[] = 'https://tracker.renfei.net:443/announce';
$cfg_ann[] = 'https://t1.hloli.org:443/announce';
$cfg_ann[] = 'http://tracker2.dler.org:80/announce';
$cfg_ann[] = 'http://tracker.renfei.net:8080/announce';
$cfg_ann[] = 'http://tracker.mywaifu.best:6969/announce';
$cfg_ann[] = 'http://tracker.edkj.club:6969/announce';
$cfg_ann[] = 'http://open.acgtracker.com:1096/announce';
$cfg_ann[] = 'udp://wepzone.net:6969/announce';
$cfg_ann[] = 'udp://tracker.tryhackx.org:6969/announce';
$cfg_ann[] = 'udp://tracker.therarbg.to:6969/announce';
$cfg_ann[] = 'udp://tracker.srv00.com:6969/announce';
$cfg_ann[] = 'udp://tracker.qu.ax:6969/announce';
$cfg_ann[] = 'udp://tracker.fnix.net:6969/announce';
$cfg_ann[] = 'udp://tracker.dler.org:6969/announce';
$cfg_ann[] = 'udp://tracker.anima.nz:6969/announce';
$cfg_ann[] = 'udp://su-data.com:6969/announce';
$cfg_ann[] = 'udp://r.l5.ca:6969/announce';
$cfg_ann[] = 'udp://public.tracker.vraphim.com:6969/announce';
$cfg_ann[] = 'udp://open.xxtor.com:3074/announce';
$cfg_ann[] = 'udp://oh.fuuuuuck.com:6969/announce';
$cfg_ann[] = 'udp://hz.is:1337/announce';
$cfg_ann[] = 'udp://free.publictracker.xyz:6969/announce';
$cfg_ann[] = 'udp://evan.im:6969/announce';
$cfg_ann[] = 'udp://bt.rer.lol:2710/announce';
$cfg_ann[] = 'udp://1c.premierzal.ru:6969/announce';
$cfg_ann[] = 'https://yolo.liberbear.com:443/announce';
$cfg_ann[] = 'https://www.peckservers.com:9443/announce';
$cfg_ann[] = 'https://tracker.yemekyedim.com:443/announce';
$cfg_ann[] = 'https://tracker.netmap.top:8443/announce';
$cfg_ann[] = 'https://tracker.loligirl.cn:443/announce';
$cfg_ann[] = 'https://tracker.lilithraws.org:443/announce';
$cfg_ann[] = 'https://tracker.gcrreen.xyz:443/announce';
$cfg_ann[] = 'https://tracker.cloudit.top:443/announce';
$cfg_ann[] = 'https://tr.burnabyhighstar.com:443/announce';
$cfg_ann[] = 'http://www.peckservers.com:9000/announce';
$cfg_ann[] = 'http://wepzone.net:6969/announce';
$cfg_ann[] = 'http://tracker.qu.ax:6969/announce';
$cfg_ann[] = 'http://tracker.files.fm:6969/announce';
$cfg_ann[] = 'http://tracker.dler.org:6969/announce';
$cfg_ann[] = 'http://tracker.bt4g.com:2095/announce';
$cfg_ann[] = 'http://t.overflow.biz:6969/announce';
$cfg_ann[] = 'http://region.nl1.privex.cc:6969/announce';
$cfg_ann[] = 'http://r.l5.ca:6969/announce';
$cfg_ann[] = 'http://ch3oh.ru:6969/announce';
$cfg_ann[] = 'http://1337.abcvg.info:80/announce';
$cfg_ann[] = 'udp://tracker.ddunlimited.net:6969/announce';
$cfg_ann[] = 'udp://tracker.artixlinux.org:6969/announce';
$cfg_ann[] = 'udp://torrents.artixlinux.org:6969/announce';
$cfg_ann[] = 'udp://mail.artixlinux.org:6969/announce';
$cfg_ann[] = 'udp://fh2.cmp-gaming.com:6969/announce';
$cfg_ann[] = 'udp://concen.org:6969/announce';
$cfg_ann[] = 'udp://bittorrent-tracker.e-n-c-r-y-p-t.net:1337/announce';
$cfg_ann[] = 'udp://aegir.sexy:6969/announce';
$cfg_ann[] = 'https://tracker.ipfsscan.io:443/announce';
$cfg_ann[] = 'http://uraniumhexafluori.de:1919/announce';
$cfg_ann[] = 'http://tracker1.itzmx.com:8080/announce';
$cfg_ann[] = 'http://bvarf.tracker.sh:2086/announce';
$cfg_ann[] = 'http://bittorrent-tracker.e-n-c-r-y-p-t.net:1337/announce';
// Tracker stats
'TORRENTS_STAT' => ($bb_cfg['tor_stats']) ? sprintf(humn_size($stats['size'])) : '',
'PEERS_STAT' => ($bb_cfg['tor_stats']) ? sprintf($lang['PEERS_STAT'], $stats['peers'], $stats['seeders'], $stats['leechers']) : '',
'PEERS_STAT1' => ($bb_cfg['tor_stats']) ? sprintf($stats['peers']+10) : '',
'PEERS_STAT2' => ($bb_cfg['tor_stats']) ? sprintf($stats['seeders']+10) : '',
'PEERS_STAT3' => ($bb_cfg['tor_stats']) ? sprintf($stats['leechers']+20) : '',
Да в index ничего менять и не надо. За построение статистики отвечает library\includes\datastore\build_stats.phpНее , на главной тихо, не подтягиваются не пиры не сиды
в index.php прописано так , вроде все переменные без изменений ..
PHP:// Tracker stats 'TORRENTS_STAT' => ($bb_cfg['tor_stats']) ? sprintf(humn_size($stats['size'])) : '', 'PEERS_STAT' => ($bb_cfg['tor_stats']) ? sprintf($lang['PEERS_STAT'], $stats['peers'], $stats['seeders'], $stats['leechers']) : '', 'PEERS_STAT1' => ($bb_cfg['tor_stats']) ? sprintf($stats['peers']+10) : '', 'PEERS_STAT2' => ($bb_cfg['tor_stats']) ? sprintf($stats['seeders']+10) : '', 'PEERS_STAT3' => ($bb_cfg['tor_stats']) ? sprintf($stats['leechers']+20) : '',
ДА я понимаю )))Да в index ничего менять и не надо. За построение статистики отвечает library\includes\datastore\build_stats.php
Изменений я там вообще не делал)) В любом случае файл build_stats.php в студию!) Будем изучатьДА я понимаю )))
В инстале такИзменений я там вообще не делал)) В любом случае файл build_stats.php в студию!) Будем изучать
// peers stat
$row = DB()->fetch_row("SELECT SUM(seeders) AS seeders, SUM(leechers) AS leechers, ((SUM(speed_up) + SUM(speed_down))/2) AS speed FROM ". BB_BT_TRACKER_SNAP);
$row2 = DB()->fetch_row("SELECT SUM(ext_seeder) AS seeders, SUM(ext_leecher) AS leechers FROM ". BB_BT_TORRENTS);
$data['seeders'] = number_format($row['seeders'] + $row2['seeders']);
$data['leechers'] = number_format($row['leechers'] + $row2['leechers']);
$data['peers'] = number_format($row['seeders'] + $row['leechers'] + $row2['seeders'] + $row2['leechers']);
$data['speed'] = $row['speed'];
// peers stat
$row = DB()->fetch_row("SELECT SUM(seeders) AS seeders, SUM(leechers) AS leechers, ((SUM(speed_up) + SUM(speed_down))/2) AS speed FROM ". BB_BT_TRACKER_SNAP);
$row2 = DB()->fetch_row("SELECT SUM(ext_seeder) AS seeders, SUM(ext_leecher) AS leechers FROM ". BB_BT_TORRENTS);
$data['seeders'] = ($row['seeders'] + $row2['seeders']);
$data['leechers'] = ($row['leechers'] + $row2['leechers']);
$data['peers'] = ($row['seeders'] + $row['leechers'] + $row2['seeders'] + $row2['leechers']);
$data['speed'] = $row['speed'];
Странно что с number_format не работает, это стандартная функция. Ну ладно, теперь всё работает как раньше?В инстале так
PHP:// peers stat $row = DB()->fetch_row("SELECT SUM(seeders) AS seeders, SUM(leechers) AS leechers, ((SUM(speed_up) + SUM(speed_down))/2) AS speed FROM ". BB_BT_TRACKER_SNAP); $row2 = DB()->fetch_row("SELECT SUM(ext_seeder) AS seeders, SUM(ext_leecher) AS leechers FROM ". BB_BT_TORRENTS); $data['seeders'] = number_format($row['seeders'] + $row2['seeders']); $data['leechers'] = number_format($row['leechers'] + $row2['leechers']); $data['peers'] = number_format($row['seeders'] + $row['leechers'] + $row2['seeders'] + $row2['leechers']); $data['speed'] = $row['speed'];
С number_format у меня на главную не выводится стата.
вернул как было раньше, стало нормально .
PHP:// peers stat $row = DB()->fetch_row("SELECT SUM(seeders) AS seeders, SUM(leechers) AS leechers, ((SUM(speed_up) + SUM(speed_down))/2) AS speed FROM ". BB_BT_TRACKER_SNAP); $row2 = DB()->fetch_row("SELECT SUM(ext_seeder) AS seeders, SUM(ext_leecher) AS leechers FROM ". BB_BT_TORRENTS); $data['seeders'] = ($row['seeders'] + $row2['seeders']); $data['leechers'] = ($row['leechers'] + $row2['leechers']); $data['peers'] = ($row['seeders'] + $row['leechers'] + $row2['seeders'] + $row2['leechers']); $data['speed'] = $row['speed'];
ДА , все работает... Спасибо !!!Странно что с number_format не работает, это стандартная функция. Ну ладно, теперь всё работает как раньше?