Tutorial 2x Cách hiển thị chữ ký chỉ ở bài viết đầu tiên cho XenForo 2

PVS

Generalissimo
Thành viên BQT
Cách hiển thị chữ ký chỉ ở bài viết đầu tiên cho XenForo 2

Để chỉ hiển thị chữ ký ở bài viết đầu tiên cho XenForo 2, tránh tình trạng spam chữ ký các bạn làm theo cách sau:

Mở template post_macros, tìm đoạn code:
Mã:
<xf:macro template="message_macros" name="signature" arg-user="{$post.User}" />

Thay bằng:
Mã:
<xf:if is="$post.isFirstPost()">
    <xf:macro template="message_macros" name="signature" arg-user="{$post.User}" />
</xf:if>

Chúc các bạn thành công.


Nguồn: hoangnhanpro​
 

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Hỗ trợ trực tuyến

Support Quảng cáo
Mr. San (PVS)

Skype chat, instant message

Mr. Tuấn (Blue)

Skype chat, instant message

Mr. Tuấn
0988 488 096
Mr. Trọng
0906 081 284
kinhdoanh@vnxf.vn

Nhà Tài Trợ

Mút Xốp Không Gian
pallet Thịnh Phát
Điện Lạnh Thịnh Phát
Top