Где можно изменить включаемую в скачиваемый с трекера торрент-файл служебную информацию о раздаче:
Я так понимаю искать надо где-то в /tracker/ ? Или нет?
Комментарий (описание) в торрент файле
-
Li
- Благодарил (а): 8 раз
Сообщение
Комментарий (описание) в торрент файле
/download/file.php
Код: Выделить всё
$dict['comment']="{$user->lang['TORRENT_CREATED_FOR']}: {$config['server_name']}\r\n"
."{$user->lang['TORRENT_SUBJECT']}: {$tracker_url}/viewtopic.{$phpEx}?p={$attachment['post_msg_id']}#p{$attachment['post_msg_id']}\r\n"
."{$user->lang['AUTHOR']}: {$attachment['username']} {$tracker_url}/memberlist.$phpEx?mode=viewprofile&u={$attachment['poster_id']}\r\n"
."{$user->lang['DOWNLOAD_FOR']}: {$user->data['username']} {$tracker_url}/memberlist.$phpEx?mode=viewprofile&u={$user->data['user_id']}"; // change torrent comment
$dict['comment.utf-8']="{$user->lang['TORRENT_CREATED_FOR']}: {$config['server_name']}\r\n"
."{$user->lang['TORRENT_SUBJECT']}: {$tracker_url}/viewtopic.{$phpEx}?p={$attachment['post_msg_id']}#p{$attachment['post_msg_id']}\r\n"
."{$user->lang['AUTHOR']}: {$attachment['username']} {$tracker_url}/memberlist.$phpEx?mode=viewprofile&u={$attachment['poster_id']}\r\n"
."{$user->lang['DOWNLOAD_FOR']}: {$user->data['username']} {$tracker_url}/memberlist.$phpEx?mode=viewprofile&u={$user->data['user_id']}"; // change torrent comment
-
Li
- Благодарил (а): 8 раз
Сообщение
Комментарий (описание) в торрент файле
Спасибо, пошел правитьPPK писал(а):/download/file.php
Вернуться в «Вопросы, ответы и примеры решений»