XF 2.1 Remove tabs from What's New Page

djbaxter

in memoriam 1947-2022
I want to get rid of certain tabs on the What's New Page starting with those indicated below:

remove tabs from what's new page.png

Where or how do I do this?

I already tried removing the widgets - that didn't seem to do anything.
 
Last edited:
For XFMG related:

ACP > Appearance > Styles & Templates > Template Modifications > Find: whats_new_wrapper (under XenForo Media Gallery) and disable it.

For New Profile Posts, etc.

ACP > Appearance > Styles & Templates > Templates > whats_new_wrapper

Find and remove: (e.g.: New Profile Posts)
Code:
<xf:if is="$xf.visitor.canViewProfilePosts()">
        <a class="{$baseClass} {{ $pageSelected == 'new_profile_post' ? {$selectedClass} : '' }}" href="{{ link('whats-new/profile-posts') }}" rel="nofollow">{{ phrase('new_profile_posts') }}</a>
    </xf:if>

Hope this helps.
 
Many thanks @ENF , it is really useful. In reality I thought it was more simple to manage that part of the forum.
I have tried as you said, but disabling whats_new_wrapper (under XenForo Media Gallery) it disable also "New Media" tab.
Is there a way to disable only the "New Media Comment" tab and let only "New Media" tab?
 
Top Bottom