diff --git a/library/includes/functions.php b/library/includes/functions.php index a383c00d3..5d0ff5139 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -197,7 +197,8 @@ $bf['user_opt'] = [ 'dis_post_edit' => 13, // [PROHIBITIONS] Block editing own posts / topics 'user_dls' => 14, // [SETTINGS] Hide list of "Current downloads" in my profile '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) diff --git a/library/includes/ucp/register.php b/library/includes/ucp/register.php index 6abf55c1e..0e8cc2e34 100644 --- a/library/includes/ucp/register.php +++ b/library/includes/ucp/register.php @@ -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) {