removing the 'my gallery' tab in 'update profile'

9 years 5 months ago #126973 by mbik
Hello,

On the user profile, at the top there is the 'edit' button, when hovering over this there is the 'update your profile' option.
After clicking on this it takes the user to three tabs, these are, Profile, Portrait and My Gallery.

The My Gallery simply shows information about the gallery quotas. And also allows the user to upload a greeting message for the gallery.

I do not want this tab to show, and i do not know where to find it in the coding.
Can someone please help me with any of the following:

1. How do i remove/hide the tab completely?
2. If it cannot be removed how and where do i change the title of the tab from 'My Gallery' to 'Gallery Info'?
3. How do i completely remove the 'enter greeting message' field?

I am really struggling to find this and to make these changes.
Help me please!! :(

Thanks
Attachments:
9 years 4 months ago #130757 by piersol
//fix to hide edit tab from front-end!
//if ($ui==1) return;

Find that in cb.profilegallery.php

remove the // before the if

//fix to hide edit tab from front-end!
if ($ui==1) return;

thats it!
Moderators: beatnantkrileon
Time to create page: 0.375 seconds
Facebook Twitter Google LinkedIn