There is a module out there, called "profile privacy" with this module you can set single fields private or not.
The problem is, that panel-profile-category-content doesn't check, if the visibility gets overridden. so i wrote a little patch to do so:

--- panels/content_types/profile_fields.inc	2009/01/22 08:12:57	12
+++ panels/content_types/profile_fields.inc	2009/03/09 10:02:35	64
@@ -39,6 +39,12 @@
 
     // Put all the fields in the category into an array
     profile_view_profile($account);
+    
+    //check if any module overrides the field-visibility
+    foreach (module_list() as $module)
+    {
+        module_invoke($module, 'user', 'view', '', $account);
+    }
 
     if (is_array($account->content[$category])) {
       foreach ($account->content[$category] as $field) {

Comments

merlinofchaos’s picture

Status: Needs review » Closed (fixed)

No longer relevant.