XF 1.5 Remove New Profile Posts tab on New Posts page

Amaury

Well-known member
#2
It doesn't appear to be possible without an add-on.

I had a quick look at the templates and couldn't find the New Profile Posts tab being called anywhere in the template for New Posts.
 

Blue

Well-known member
#3
It doesn't appear to be possible without an add-on.

I had a quick look at the templates and couldn't find the New Profile Posts tab being called anywhere in the template for New Posts.
I don't have any adddons and do not want to install any.

Thanks for trying.
 

Mike

XenForo developer
Staff member
#4
I have responded to your ticket regarding this. The only option is removing all the tabs via the find_new_wrapper template or changing permissions to disable ability to view profile posts.
 

ibaker

Well-known member
#6
An easy way to achieve this is to add an if statement in the find_new_wrapper template to exclude the New Profile Posts tab:
Code:
<xen:comment> IB added if </xen:comment>
        <xen:if is="{$tab.title} != 'New Profile Posts'">
            <li class="{xen:if '{$tabId} == {$selectedTab}', active}"><a href="{$tab.href}">{$tab.title}</a></li>
        </xen:if>
 
Top