Баги TorrentPier II closedsticky

Started by PheRum on 2011-06-30 15:49 — 1655 replies, 268504 views

#21
[26-Jul-2011 14:26:08] PHP Notice: Undefined index: value in E:\nimp\htdocs\test.ru\ajax\edit_user_profile.php on line 17

[26-Jul-2011 14:26:08] PHP Notice: Undefined index: value in E:\nimp\htdocs\test.ru\ajax\edit_user_profile.php on line 132
#22
includes/function_torrent.php
560
if($bb_cfg['announce_type'] != 'xbt')

точно знак "не равно" должон?
#23
[26-Jul-2011 14:26:08] PHP Notice: Undefined index: value in E:\nimp\htdocs\test.ru\ajax\edit_user_profile.php on line 17

[26-Jul-2011 14:26:08] PHP Notice: Undefined index: value in E:\nimp\htdocs\test.ru\ajax\edit_user_profile.php on line 132
это когда вылазит?
#24
Доступ: Зависит от загрузки сервера: Нет
Когда отправляешь пустой запрос
#25
В posting_attach.tpl меняйте L_FILE_NAME на L_FILENAME
#26
http://code.google.com/p/torrentpier2/source/detail?r=166
#27
Если открыть тему с название/содержание "test", прикрепить торрент и потом его обновить, через [Изменить] не выйдет.

Теперь надо сначала снести, а потом залить новый... нормального решения через [изменить] нет?...

Остался "Если // Birthday - false, а у пользователя проставлены значения - видно, а должно быть скрыто."
#28
functions_torrent.php не правильно определяет тип анонсера уставленного по умолчанию.
    // XBTT unique passkey
    if($bb_cfg['announce_type'] != 'xbt')
    {
        $info_hash = pack('H*', sha1(bencode($tor['info'])));
        $passkey = substr('00000000'. dechex($userdata['user_id']), -8) . substr(sha1($bb_cfg['torrent_pass_private_key'] .' '. $passkey_val .' '. $userdata['user_id'] .' '. $info_hash), 0, 24);
        $announce = $bb_cfg['announce_xbt'] .'/'. $passkey .'/announce';
    }
    else
    {
        $announce = strval($ann_url . "?$passkey_key=$passkey_val&");
    }
по идеи должно быть вот так

    // XBTT unique passkey
    if($bb_cfg['announce_type'] == 'xbt')
    {
        $info_hash = pack('H*', sha1(bencode($tor['info'])));
        $passkey = substr('00000000'. dechex($userdata['user_id']), -8) . substr(sha1($bb_cfg['torrent_pass_private_key'] .' '. $passkey_val .' '. $userdata['user_id'] .' '. $info_hash), 0, 24);
        $announce = $bb_cfg['announce_xbt'] .'/'. $passkey .'/announce';
    }
    else
    {
        $announce = strval($ann_url . "?$passkey_key=$passkey_val&");
    }
#29
ну да)
#30
_Xz_, будет ли переписана галерея?