• You need 5 posts to download resources. You can only download 2 resources per day. To remove these limits consider upgrading.

XF Fast Reply Button for Threads

Nick

Developer
Banned User
LV
0
 
Joined
Feb 7, 2023
Messages
491
Reaction score
128
Awards
14
With this guide you can add a Fast Reply button at top of thread, which can be useful when replying.

No need to scroll down to bottom of the page.

Open thread_view template, find:
HTML:
<xf:if contentcheck="true">
    <div class="buttonGroup-buttonWrapper">

Add ABOVE
HTML:
<a href="{{ link('threads/reply', $thread) }}" class="button--link button" data-xf-click="scroll-to" data-silent="true"><span class="button-text">
                                Fast Reply
                        </span></a>

At the end your code must look like this:

HTML:
<a href="{{ link('threads/reply', $thread) }}" class="button--link button" data-xf-click="scroll-to" data-silent="true"><span class="button-text">
                                Fast Reply
                        </span></a>
                    <xf:if contentcheck="true">
                        <div class="buttonGroup-buttonWrapper">

Save and enjoy.
 
Top