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
Tham gia
28/02/2015
Bài viết
16,197
Được Like
12,546
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

Mobile/Zalo: 0988 488 096

Telegram: bluekpro

Email: [email protected]

Nhà Tài Trợ

Mút Xốp Không Gian
pallet Thịnh Phát
Top Bottom