Option to disable filter bar and quick thread

cannabis ape

Customer
That would be really nice because I find both of them annoying plus taking up space.

You know any trick for it by any chance?

I deleted those sections in "inspect element" and it looked much better but I doubt it will be that easy on the back-end.
 

Russ

Pixel Exit Staff
Template: forum_view


For quick thread: In the same template:

Code:
                <xf:macro template="thread_list_macros" name="quick_thread"
                    arg-forum="{$forum}"
                    arg-page="{$page}"
                    arg-order="{$sortInfo.order}"
                    arg-direction="{$sortInfo.direction}" />

To remove the filter bar you can also edit that same template, and remove the entire filter block, or just add this to your extra.less:

Code:
[data-template="forum_view"] .block-filterBar {
    display: none;
}

I don't plan on adding these as options as I think they're really useful and want to avoid doing very specific options like this though, just as a heads up.
 

cannabis ape

Customer
Awesome.

If this just keeps working I'm happy too, IMO without it looks much better now.

Just one small last question about it and hoping I don't overstep my boundaries as you already did so much for me but would it then be possible I can place the Post thread button next to the button group?

 

Russ

Pixel Exit Staff
Find and remove:
Code:
<xf:pageaction if="$forum.canCreateThread()">
    <xf:button href="{{ link('forums/post-thread', $forum) }}" class="button--cta" icon="write">
        {{ phrase('post_thread') }}
    </xf:button>
</xf:pageaction>


Next find:

Code:
                <xf:contentcheck>
                    <xf:if is="$canInlineMod">

Right above it add:

Code:
    <xf:button href="{{ link('forums/post-thread', $forum) }}" class="button--cta custom-button" icon="write">
        {{ phrase('post_thread') }}
    </xf:button>

May need some margin:

Code:
.custom-button { margin-right: 5px; }

Working on a project for a bit so my responses will be delayed after this for a bit :D
 

cannabis ape

Customer
Find and remove:
Code:
<xf:pageaction if="$forum.canCreateThread()">
    <xf:button href="{{ link('forums/post-thread', $forum) }}" class="button--cta" icon="write">
        {{ phrase('post_thread') }}
    </xf:button>
</xf:pageaction>


Next find:

Code:
                <xf:contentcheck>
                    <xf:if is="$canInlineMod">

Right above it add:

Code:
    <xf:button href="{{ link('forums/post-thread', $forum) }}" class="button--cta custom-button" icon="write">
        {{ phrase('post_thread') }}
    </xf:button>

May need some margin:

Code:
.custom-button { margin-right: 5px; }

Working on a project for a bit so my responses will be delayed after this for a bit :D

Oh also, future edits just post in the customer forums too.
I will implement it ASAP and NP, you provide absolute stellar customer service man, dropping a review about it on the xenforo forum which you absolutely deserve!

Only got a few questions left but I will drop those on the xenforo forum and one I need to ask you later as the guy who wrote a guide about fontawesome in prefixes couldn't solve and said I should contact you but no rush.

Thank you again!
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.