feat: Added ability to hide peer country in peer list (#1891)

* feat: Added ability to hide peer country in peer list

* Update displaying_torrent.php

* Update displaying_torrent.php

* Updated

* Update usercp_register.tpl

* Update main.php

* Update functions.php
This commit is contained in:
Roman Kelesidis 2025-05-04 11:55:28 +03:00 committed by GitHub
commit 2555ebce47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 30 additions and 3 deletions

View file

@ -366,6 +366,7 @@ foreach ($profile_fields as $field => $can_edit) {
'user_callseed' => $reg_mode ? true : true,
'user_retracker' => $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) {