This commit is contained in:
Roman Kelesidis 2025-05-04 11:14:52 +03:00
commit 73e3c860e3
2 changed files with 3 additions and 1 deletions

View file

@ -197,7 +197,8 @@ $bf['user_opt'] = [
'dis_post_edit' => 13, // [PROHIBITIONS] Block editing own posts / topics 'dis_post_edit' => 13, // [PROHIBITIONS] Block editing own posts / topics
'user_dls' => 14, // [SETTINGS] Hide list of "Current downloads" in my profile 'user_dls' => 14, // [SETTINGS] Hide list of "Current downloads" in my profile
'user_retracker' => 15, // [SETTINGS] Add my retracker into downloaded torrent files 'user_retracker' => 15, // [SETTINGS] Add my retracker into downloaded torrent files
'user_hide_torrent_client' => 16 // [SETTINGS] Option to hide user's torrent client in peer list 'user_hide_torrent_client' => 16, // [SETTINGS] Option to hide user's torrent client in peer list
'user_hide_peer_country' => 17 // [SETTINGS] Option to hide user's country name in peer list
]; ];
function bit2dec($bit_num) function bit2dec($bit_num)

View file

@ -366,6 +366,7 @@ foreach ($profile_fields as $field => $can_edit) {
'user_callseed' => $reg_mode ? true : true, 'user_callseed' => $reg_mode ? true : true,
'user_retracker' => $reg_mode ? true : true, 'user_retracker' => $reg_mode ? true : true,
'user_hide_torrent_client' => $reg_mode ? true : true, 'user_hide_torrent_client' => $reg_mode ? true : true,
'user_hide_peer_country' => $reg_mode ? true : true,
]; ];
foreach ($update_user_opt as $opt => $can_change_opt) { foreach ($update_user_opt as $opt => $can_change_opt) {