1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Remove New Profile Posts tab on New Posts page

Discussion in 'Troubleshooting and Problems' started by Blue, Aug 28, 2015.

  1. Blue

    Blue Well-Known Member

    How do you remove the New Profile Posts tab from the New Posts page?
  2. Amaury

    Amaury Well-Known Member

    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.
  3. Blue

    Blue Well-Known Member

    I don't have any adddons and do not want to install any.

    Thanks for trying.
  4. Mike

    Mike XenForo Developer Staff Member

    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.
    Blue likes this.
  5. Blue

    Blue Well-Known Member

    It was an easy fix, thanks Mike.
  6. ibaker

    ibaker Well-Known Member

    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:
    <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>

Share This Page