<!-- IF postrow.U_REPLY -->
after the section <!-- IF postrow.U_QUOTE -->
But that shows the last post of the topic (posting.php?mode=reply&t=2635611), not the post one would report/edit/quote/"reply to" (which I tried with p=15923871#p15923871 >>> apparently reply mode only accepts the topic parameter, not a post parameter, nor the combination.
Yes. You are replying to a topic, not to a post. I am not sure what your question is here.warmweer wrote: ↑Mon Jan 30, 2023 11:01 pm But that shows the last post of the topic (posting.php?mode=reply&t=2635611), not the post one would report/edit/quote/"reply to" (which I tried with p=15923871#p15923871 >>> apparently reply mode only accepts the topic parameter, not a post parameter, nor the combination.
No question, more of a sudden insight I had.
<!-- EVENT viewtopic_body_post_buttons_before -->
Code: Select all
<li>
<a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->" class="button button-icon-only">
<!-- IF S_IS_LOCKED -->
<span class="sr-only">{L_BUTTON_TOPIC_LOCKED}</span> <i class="icon fa-lock fa-fw" aria-hidden="true"></i>
<!-- ELSE -->
<span class="sr-only">{L_BUTTON_POST_REPLY}</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i>
<!-- ENDIF -->
</a>
</li>
Thanks for looking into this...warmweer wrote: ↑Tue Jan 31, 2023 3:28 pmNo question, more of a sudden insight I had.
The OP wanted a reply button in each post, which made me suspect he would like to see the reply area and the post he's replying to, so I assumed that the code called when replying could accept not only topic_id as parameter, but could also use post_id. Wrong assumption, confirmed by some custom coding I experimented with. Adding a reply button in each post's button area is doable but has no added value as such to me.