Điều chỉnh bài viết tối thiểu để xem được Taigachat.
Thay thế bằng:
Đối với trang đầy đủ, đi đến template dark_taigachat_full và thêm vào bên trên:
Và thêm vào cuối file:
Đố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:
Trong cùng template, tìm </body> và thêm:
Trong ví dụ này, 5 là số lượng bài viết tối thiểu cần có để xem được taigatchat.
Kết quả:
Nguồn: VNXF.VN
- Cài đặt Taigachat add-on.
- Vào forum_list template, tìm:
Mã:
[COLOR=#032A46][FONT=Consolas]<xen:hook name="dark_taigachat_alt" />[/FONT][/COLOR]
Mã:
[COLOR=#032A46][FONT=Consolas]<xen:if is="{$visitor.message_count} > 5">[/FONT][/COLOR]
<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> [COLOR=#032A46][FONT=Consolas]</xen:if>[/FONT][/COLOR]
Đối với trang đầy đủ, đi đến template dark_taigachat_full và thêm vào bên trên:
Mã:
[COLOR=#032A46][FONT=Consolas]<xen:if is="{$visitor.message_count} > 5">[/FONT][/COLOR]
Mã:
[COLOR=#032A46][FONT=Consolas]<xen:else />[/FONT][/COLOR]
<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> [COLOR=#032A46][FONT=Consolas]</xen:if>[/FONT][/COLOR]
Đố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ã:
[COLOR=#032A46][FONT=Consolas]<xen:if is="{$visitor.message_count} > 5">[/FONT][/COLOR]
Mã:
[COLOR=#032A46][FONT=Consolas]<xen:else />[/FONT][/COLOR]
<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> [COLOR=#032A46][FONT=Consolas]</xen:if>[/FONT][/COLOR]
Kết quả:
Nguồn: VNXF.VN