Bỏ nút reply trong xenforo. Mặt định xenforo sẽ có nút trả lời do ở những phiên bản mới xenforo có chức năng bình luận như facebook ( Chỉ cần gõ @ trước tên thành viên ).
Hôm nay mình sẽ hướng dẫn các bạn bỏ nút Reply trong xenforo: Để bỏ bạn vào tìm template post tìm và xoá đoạn sau.
Muốn Bỏ ở Bài đăng đầu tiên mà các bài đăng còn lại vẫn hiển thị bình thường thì tìm đoạn code sau:
Thay bằng code sau:
Chúc bạn thành công!
Hôm nay mình sẽ hướng dẫn các bạn bỏ nút Reply trong xenforo: Để bỏ bạn vào tìm template post tìm và xoá đoạn sau.
Mã:
<xen:if is="{$canReply}">
<a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}" data-postUrl="{xen:link posts/quote, $post}" class="ReplyQuote item control reply" title="{xen:phrase reply_quoting_this_message}"><span></span>{xen:phrase reply}</a>
</xen:if>
Muốn Bỏ ở Bài đăng đầu tiên mà các bài đăng còn lại vẫn hiển thị bình thường thì tìm đoạn code sau:
Mã:
<xen:if is="{$canReply}">
<a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}" data-postUrl="{xen:link posts/quote, $post}" class="ReplyQuote item control reply" title="{xen:phrase reply_quoting_this_message}"><span></span>{xen:phrase reply}</a>
</xen:if>
Thay bằng code sau:
Mã:
<xen:if is="{$post.position}!=0">
<xen:if is="{$canReply}">
<a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}" data-postUrl="{xen:link posts/quote, $post}" class="ReplyQuote item control reply" title="{xen:phrase reply_quoting_this_message}"><span></span>{xen:phrase reply}</a>
</xen:if>
</xen:if>
Chúc bạn thành công!
Nguồn: muaban47.net
Bài viết liên quan
Được quan tâm
Bài viết mới