Closed (fixed)
Project:
Field Permissions
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2011 at 17:53 UTC
Updated:
19 Aug 2014 at 01:00 UTC
Jump to comment: Most recent
Comments
Comment #1
Taxoman commentedSome thoughts:
a) Drupal core has custom fields for the user account page. See under Configure -> User Account -> Manage Fields. You might achieve this by disabling the default user picture functionality and adding your own custom field to be used with this module. That may have other undesired side effects, though.
b) Potentially(?): also see this module: http://drupal.org/project/profile2
c) The Display Suite 7.x-2.x branch contains field permissions.
Its 7.x-1.x branch needs THIS module to support field permissions.
From the top of my currently tired mind, I am not sure if that is enough to provide roles-based access control to the core user picture field, though.
Check out http://drupal.org/project/ds
d) ctools' Page Manager has related roles-based access functionality for variants to override the user profile page, without dependency on other modules.
See: http://drupal.org/project/ctools
Comment #2
kziv commentedI solved it in a custom module as follows:
Comment #3
rooby commentedClosing as this is old and has a solution.
It is also not really relevant to this module as the profile field is not a proper field that this module can control.
I would also recommend sticking with the drupal core profile pic field as it integrates with a lot of other modules.
Although if you want to use a custom field you can override the user picture display to use your field by overriding the themeing of user picture: https://api.drupal.org/api/drupal/modules!user!user-picture.tpl.php/7