Suppress Picture link in Profile - anyone know which decorator(s)?

Paul Paul
Contributor
November 3, 2011

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

1 answer

1 accepted

1 vote
Answer accepted
Remo Siegwart
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 4, 2011

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.

Paul Paul
Contributor
November 6, 2011

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.

Remo Siegwart
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2011

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events