From d45a6c3ebfba814731b5b0ef3dc3a1f6f535c49a Mon Sep 17 00:00:00 2001
From: Seth Meranda <smeranda2@unl.edu>
Date: Mon, 24 Aug 2009 13:42:57 +0000
Subject: [PATCH] Changed to a more friendly error message.

---
 plugins/form/languages/en.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/form/languages/en.php b/plugins/form/languages/en.php
index c5280dbc..e1ecc121 100755
--- a/plugins/form/languages/en.php
+++ b/plugins/form/languages/en.php
@@ -312,7 +312,8 @@
     'form:extended_profile_title' => "%s's extended profile",
     'form:main_profile_link_text' => "Main profile",
     'form:extended_profile_link_text' => "Extended profile",
-    'form:error_no_profile_form' => "Error: no profile form exists. You must create at least one profile form to use the flexprofile plugin.",
+    //'form:error_no_profile_form' => "Error: no profile form exists. You must create at least one profile form to use the flexprofile plugin.",
+    'form:error_no_profile_form' => "This user has not open their profile to anonymous users. Please login in order to view this profile.",
     'form:error_no_group_profile_form' => "Error: no group profile form exists. You must create at least one group profile form for this group category "
         ."or a group profile form with a blank category to use the flexgroupprofile plugin.",
     'form:manage_group_profile_categories_title' => "Manage group profile categories",
-- 
GitLab