remove avatar 'tab' from profile

Go down

In progress remove avatar 'tab' from profile

Post by filbert1993 on April 14th 2014, 7:35 am

Hi is there a way to remove the avatar 'tab' from being displayed in the profile? I'm using phpbb3. Thanks

New Member

Posts : 16
Reputation : 3
Language : english

Back to top Go down

In progress Re: remove avatar 'tab' from profile

Post by Ange Tuteur on April 14th 2014, 12:44 pm

Hello filbert1993,

You can hide the link with this CSS :
Administration panel > display > colors > CSS stylesheet
a[href$="page_profil=avatars"] { display:none; }

However, members can still access this page by typing its URL. If you want to prevent access further you can redirect users :

Administration panel > modules > javascript codes management

Enable Javascript code management : Yes, and save.

Create a new script :

Title : What you wish
Placement : In all the pages
Paste the code below and save :
if (location.pathname == '/profile' && == '?mode=editprofile&page_profil=avatars') {
    location.pathname = '/profile'; = '?mode=editprofile';
Ange Tuteur

Male Posts : 13201
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum