From 948061e2410ad85d795d462a4bee5715ee849788 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Thu, 30 Sep 2010 05:10:25 -0700 Subject: [PATCH] notify people when they are invisible --- mod/settings.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mod/settings.php b/mod/settings.php index 7ba2f177f4..e5b66f8df2 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -198,6 +198,12 @@ function settings_content(&$a) { else $profile_in_net_dir = ''; + $invisible = (((! $profile['publish']) && (! $profile['net-publish'])) + ? true : false); + + if($invisible) + notice( t('Profile is not published.')); + $nickname_block = load_view_file("view/settings_nick_set.tpl"); $nickname_subdir = '';