Bước 1: Ganeral - Messages and e-mails - Configuration:
Điền vào 3 vị trí sau:
Define another name for Stickies : Chú ý
Define another name for Announcements : Thông báo
Customize a global announcement name : Thông báo khẩn
Bước 2: Display - Templates - Ganeral - Topics_list_box:
Tìm đoạn code sau:
Tìm đoạn này
và thay bằng:
Ganeral - Forum promotion - Traffic exchange - Options - Activate traffic exchange: Members and guests
Điền vào 3 vị trí sau:
Define another name for Stickies : Chú ý
Define another name for Announcements : Thông báo
Customize a global announcement name : Thông báo khẩn
Bước 2: Display - Templates - Ganeral - Topics_list_box:
Tìm đoạn code sau:
- Code:
<div class="topictitle">
{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE}
<h2 class="topic-title">
<a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>
</h2>
</div>
- Code:
<script type="text/javascript">$(function(){$(".xname").hide();});</script>
<div class="topictitle" style="display:block;">
{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE}
<h2 class="topic-title">
<a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a><span class="xname" style="float: right;"><strong>{topics_list_box.row.TOPIC_AUTHOR}</strong><br/></span>
</h2>
</div>
Tìm đoạn này
- Code:
<!-- BEGIN promot_trafic -->
...
<!-- END promot_trafic -->
và thay bằng:
- Code:
<!-- BEGIN promot_trafic -->
<table class="forumline" width="100%" border="0" cellpadding="1" cellspacing="0" id="ptrafic_close" style="display:none;margin: 1px 0px 1px 0px">
<tr>
<td class="thead" height="28">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><h1> Xem thêm các bài viết khác cùng chuyên mục</h1></td>
<td align="right" valign="middle" width="10"><span class="gensmall"><a onmouseover="showtip('Mở danh mục');" onmouseout="hidetip();" href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
</tr>
</table>
</td>
</tr>
</table>
<table class="forumline" width="100%" border="0" cellpadding="1" cellspacing="0" id="ptrafic_open" style="display:'';margin: 1px 0px 1px 0px">
<tr>
<td class="thead" height="28">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><h1> Xem thêm các bài viết khác cùng chuyên mục</h1></td>
<td align="right" valign="middle" width="10"><span class="gensmall"><a onmouseover="showtip('Đóng danh mục');" onmouseout="hidetip();" href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0" /></a></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="row2 postbody" valign="top">
<script type="text/javascript">
$(function() {
$('<span class="bv" />').load('/f{FORUM_ID}-forum div.topictitle:not("div.topictitle:contains(\'Thông báo khẩn\'),div.topictitle:contains(\'Thông báo\'),div.topictitle:contains(\'Chú ý\'),div.topictitle:gt(13)")', {limit: 10}, function() {
jQuery(this).hide()
.appendTo('.cungchuyenmuc')
.fadeIn(1);
});
return false;
});
</script>
<div class="cungchuyenmuc" style="overflow:hidden; width:100%; height:auto;"></div>
</td>
</tr>
</table>
<!-- END promot_trafic -->
Ganeral - Forum promotion - Traffic exchange - Options - Activate traffic exchange: Members and guests