imthebest Well-known member Nov 20, 2014 #1 If the member has created an album and has uploaded at least one picture to it then when viewing his profile there are two new tabs: 'Media' and 'Albums'. I want to keep Albums but I don't want the 'Media' tab there. Can I do this with CSS?
If the member has created an album and has uploaded at least one picture to it then when viewing his profile there are two new tabs: 'Media' and 'Albums'. I want to keep Albums but I don't want the 'Media' tab there. Can I do this with CSS?
imthebest Well-known member Nov 20, 2014 #2 I tried removing the following from xengallery_media_profile_tab: Code: <xen:if is="{$user.xengallery_media_count}"> <li><a id="xengalleryMediaUserTab" href="{$requestPaths.requestUri}#xengalleryMediaUser">{xen:phrase xengallery_user_media}</a></li> </xen:if> However that results that when I click on "Albums" then I get the contents of the "Media" tab (even when it is now gone). Upvote 0 Downvote
I tried removing the following from xengallery_media_profile_tab: Code: <xen:if is="{$user.xengallery_media_count}"> <li><a id="xengalleryMediaUserTab" href="{$requestPaths.requestUri}#xengalleryMediaUser">{xen:phrase xengallery_user_media}</a></li> </xen:if> However that results that when I click on "Albums" then I get the contents of the "Media" tab (even when it is now gone).
Chris D XenForo developer Staff member Nov 20, 2014 #3 There's two parts. The tab and the content for the tab. You need to remove the content for the tab from this template: xengallery_media_profile_tab_content Upvote 0 Downvote
There's two parts. The tab and the content for the tab. You need to remove the content for the tab from this template: xengallery_media_profile_tab_content
denam Active member Apr 21, 2015 #4 And how do enable the media tab for users? I can see on my admin profile. But it is disabled at the user's profile. Edit: Found the problem. Upvote 0 Downvote
And how do enable the media tab for users? I can see on my admin profile. But it is disabled at the user's profile. Edit: Found the problem.