Closed (fixed)
Project:
Creative Commons
Version:
6.x-1.0-beta3
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Nov 2009 at 09:23 UTC
Updated:
8 Mar 2010 at 12:07 UTC
Hi,
I am loving CC module - many thanks. One thing that bothers me is the display of "Creative Commons User Defaults" on the user's profile page - I'd like to be able to hide this from public view so only user 1/admin and the user him/herself can see it. If that isn't possible, I'd like to hide it completely. Would be grateful for help with making this change.
Thanks,
Tobias
Comments
Comment #1
balleyne commentedHey Tobias,
Good point.
I've just committed a fix, adjusting the hook_user() view so that the CC defaults will only display when a user is looking at his/her own profile. No changes were made to the edit case though, so someone with permission to edit a user profile could still see/change the CC defaults under the Edit tab, but they won't be displayed on the view tab unless you're looking at your own profile.
That should fix the problem for now, though I'm open to suggestions if there's a better way to handle things.
Blaise
Comment #3
tobias commentedthanks, blaise - I have tested this and it works. Many thanks for your work on this great module which my organization now depends on!