Thêm lượt trả lời lượt xem dưới tiêu đề bài viết

PVS

Super Moderator
Thành viên BQT
Tham gia
28/02/2015
Bài viết
16,728
Được Like
12,680
Thêm lượt trả lời lượt xem dưới tiêu đề bài viết

Bài viết này sẽ hướng dẫn các bạn thêm lượt trả lời, lượt xem dưới tiêu đề bài viết

demo.jpg

Vào template thread_view tìm và thay đoạn
Mã:
<xen:description>
    {xen:phrase discussion_in_x_started_by_y_date_z,
        'forum=<a href="{xen:link forums, $forum}">{$forum.title}</a>',
        'name={xen:helper username, $thread}',
        'date=<a href="{xen:link threads, $thread}">{xen:datetime $thread.post_date, html}</a>'}
</xen:description>

thành
Mã:
<xen:description>
    {xen:phrase discussion_in_x_started_by_y_date_z,
        'forum=<a href="{xen:link forums, $forum}">{$forum.title}</a>',
        'name={xen:helper username, $thread}',
        'date=<a href="{xen:link threads, $thread}">{xen:datetime $thread.post_date, html}</a>'}
    {xen:phrase replies}: {xen:number $thread.reply_count}, {xen:phrase view}: {xen:number $thread.view_count}.
</xen:description>

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


Nguồn: skinxf.net​
 

THB

Founder
Thành viên BQT
Tham gia
25/02/2015
Bài viết
6,650
Được Like
3,939

kamchatka

MasterCorporal
Tham gia
14/04/2015
Bài viết
248
Được Like
162
ủa cái này mặc định có rồi mà ta
 

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

XenForo 1 XenForo 2
Translate by PVS

Dịch vụ XenForo của VNXF

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