- Tham gia
- 28/02/2015
- Bài viết
- 16,829
- Được Like
- 12,691
Vnxf.vn - Điều chỉnh bài viết tối thiểu để xem được Taigachat.
Kết quả:
- Cài đặt Taigachat add-on.
- Vào forum_list template, tìm:
Mã:
<xen:hook name="dark_taigachat_alt" />
- Thay thế bằng:
Mã:<xen:if is="{$visitor.message_count} > 5"> <xen:hook name="dark_taigachat_alt" /> <xen:else /> <p style="padding:10px;" class="importantMessage"><i style="font-size:30px;padding-bottom:10px;" class="fa fa-weixin"></i><br />You need 5 posts to see the shoutbox. Currently you have that {xen:number $visitor.message_count}.</p> </xen:if>
- Đối với trang đầy đủ, đi đến template dark_taigachat_full và thêm vào bên trên:
Mã:
<xen:if is="{$visitor.message_count} > 5">
- Và thêm vào cuối file:
Mã:<xen:else /> <p style="padding:10px;" class="importantMessage"><i style="font-size:30px;padding-bottom:10px;" class="fa fa-weixin"></i><br />You need 5 posts to see the shoutbox. Currently you have that {xen:number $visitor.message_count}.</p> </xen:if>
- Đối với phiên bản cửa sổ bật lên, đi đến template dark_taigachat_popup, và tìm thấy <body class='taigachat_popup_body'>, và thêm đằng trước:
Mã:
<xen:if is="{$visitor.message_count} > 5">
- Trong cùng template, tìm </body> và thêm:
Mã:<xen:else /> <p style="padding:10px;" class="importantMessage"><i style="font-size:30px;padding-bottom:10px;" class="fa fa-weixin"></i><br />You need 5 posts to see the shoutbox. Currently you have that {xen:number $visitor.message_count}.</p> </xen:if>
Kết quả:
Nguồn: xenforo.com
Bài viết liên quan
Được quan tâm