The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.

Create a free forum like this one.

remove avatar 'tab' from profile

View previous topic View next topic 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 : 13023
Reputation : 2690
Language : EN10, FR5
Location : Pennsylvania

Back to top Go down

View previous topic View next topic Back to top

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