I want to remove the option for the user to add their own picture by suppressing the 'Picture' link in the profile view. Trouble is I can't figure out which decorator this is stored in, can anyone help me out? Ideally I would like to re-assign the right to add a picture to Admins only but one step at a time now.
thanks
It's a web-item in the bundled "Profile Tabs" plugin, which you can't disable.
In my opinion the simplest solution would be to hide the link with some custom CSS:
#section-list-yourprofile a[href="/users/editmyprofilepicture.action"] { display: none; }
Though the action would still be available, but the user would have to know the exact url to access it.
Perfect! I am moving from a locked down 2.7.3 to doing some dev and testing in 3.4.6 and the last couple of days it has dawned on me how much I can do with CSS and user macros, completely changes my perspective! Many thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great, I'm glad that this works! If this answers your question, you may want to accept the answer to mark the question as answered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.