XF 2.2 Remove thread list input field?

Vercingetorix

Active member
(*Not sure what this thing is called.)

Screenshot_2024-04-12-04-59-44-19_99c04817c0de5652397fc8b56c3b3817.webp
(*swiped image from another thread here)

Whatever this thing is called, it seems completely unnecessary considering a 'Post thread' button is sitting directly above it, barely an inch away-(at least that's the case on my end and specifically in-(¿🤔 I think?)-the thread list)

There are two add-ons that are said to get rid of this vestigial input thing. But, I just don't see the benefit of installing another add-on for every little thing—essentially adding more bloat.

Template edits seem the best option for dealing with the millions of little things like this.

While add-ons only seem necessary for dealing with any of the more complex stuff, like adding new features & functions.
 
Solution
It's called Quick Thread.

In template forum_view remove

Code:
<xf:macro name="{{ $templateOverrides.quick_thread_macro ?: 'thread_list_macros::quick_thread' }}"
                        arg-forum="{$forum}"
                        arg-page="{$page}"
                        arg-order="{$sortInfo.order}"
                        arg-direction="{$sortInfo.direction}"
                        arg-prefixes="{$quickThreadPrefixes}"
                        args="{$templateOverrides.quick_thread_macro_args}" />
It's called Quick Thread.

In template forum_view remove

Code:
<xf:macro name="{{ $templateOverrides.quick_thread_macro ?: 'thread_list_macros::quick_thread' }}"
                        arg-forum="{$forum}"
                        arg-page="{$page}"
                        arg-order="{$sortInfo.order}"
                        arg-direction="{$sortInfo.direction}"
                        arg-prefixes="{$quickThreadPrefixes}"
                        args="{$templateOverrides.quick_thread_macro_args}" />
 
Solution
It's called Quick Thread.

In template forum_view remove

Code:
<xf:macro name="{{ $templateOverrides.quick_thread_macro ?: 'thread_list_macros::quick_thread' }}"
                        arg-forum="{$forum}"
                        arg-page="{$page}"
                        arg-order="{$sortInfo.order}"
                        arg-direction="{$sortInfo.direction}"
                        arg-prefixes="{$quickThreadPrefixes}"
                        args="{$templateOverrides.quick_thread_macro_args}" />
🙂👍Worked a treat mate!

Thank you very much Mr Lucky!
 
on the site i am staff on the owner did it in what he called tms and it only removes it in certain areas that he wants input in custom fields done.
he did not like that the quick reply by default does not show those and users were missing entering those fields when using it.
 
Top Bottom