diff --git a/upload/includes/ucp/usercp_viewprofile.php b/upload/includes/ucp/usercp_viewprofile.php index ddabb55d7..3c94c8857 100644 --- a/upload/includes/ucp/usercp_viewprofile.php +++ b/upload/includes/ucp/usercp_viewprofile.php @@ -19,7 +19,7 @@ if (!$profiledata = get_userdata($_GET[POST_USERS_URL])) if(bf($profiledata['user_opt'], 'user_opt', 'view_profile')) { meta_refresh(append_sid("login.php?redirect={$_SERVER['REQUEST_URI']}", true)); - bb_die(" {$profiledata['username']} "); } + bb_die("Пользователь {$profiledata['username']} запретил гостям просмотр своего профиля"); } // // Calculate the number of days this user has been a member ($memberdays) diff --git a/upload/templates/default/usercp_register.tpl b/upload/templates/default/usercp_register.tpl index e88ebb12e..64dd323d4 100644 --- a/upload/templates/default/usercp_register.tpl +++ b/upload/templates/default/usercp_register.tpl @@ -176,6 +176,13 @@ ajax.callback.posts = function(data){ +