Chán quá. Share Lasttopic New Verision cho vui. Demo:
[You must be registered and logged in to see this link.]Tính năng: Đầu tiên là quá Kool
,
thuộc hàng hiếm !!, Lasttopic cập nhật thêm 2 khung sau cập nhật của
FM, Topposter mới, thêm nhiều mục, Recent_Topic vẫn vậy, nằm vị trí đẹp
hơn xưa
.
Chú ý: TUT Lasttopic này đã được QuangTrung_IT share nhưng vẫn chưa hoàn thiện
vì chưa chỉ dẫn đầy đủ, mình đã viết lại TUT nên các bạn đừng nói mình
vi phạm bản quyền nhé
.
Vào luôn:
----------------------------------------------------------------------------------------------------------------------
Bước 1: Download bộ Lasttopic Bến Xưa.Net:
- Code:
-
[list=1]
[*][url=http://adf.ly/246619/http://www.megaupload.com/?d=D4V5J160]megaupload.com D4V5J160[/url]
[/list]
, sau khi download, giải nén ra, chú ý: Không dùng cái Index_body trong bản download nhé.
Bước 2: Vào
[ACP > Display > Temp > Portal], lấy code từ bộ Download và thay vào các mục, nhớ chú ý kẻo thay sai nhé.
Bước 3: Vào
[ACP > Display > Temp > QLTT > Index_body] thêm
- Code:
-
<div align="center" style="font-size:15px;background:#eee;border:1px solid #BBB;padding:6px;margin:6px">
<table class="tborder" width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><th colspan="2">Thống kê - Học viện Tình Yêu</th></tr>
<tr><td><table cellspacing="0" cellpadding="0" border="0" width="100%" align="center">
<thead>
<tr>
<td><table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr><td valign="top" style="height: 100%;"><table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr><td valign="top" style="height: 100%;">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR} <!-- END giefmod_index1 -->
</div>
vào sau
- Code:
-
{JAVASCRIPT}
Bước 4: Vào [ACP > Display > Temp > QLTT > Overall_Footer], dán vào cuối Footer:
- Code:
-
<script type="text/javascript">jQuery("#lttchatbox").click(function(){
jQuery("#lttrules").toggle("slow");
});
$(function(){$("div.a1tg3td:contains('»')").remove();$("div.a1tg3td:contains('[FM]')").remove();});$("a.lengtht").each(function(){if ($(this).text().length > 20) {$(this).text($(this).text().substr(0, 19));$(this).append('...');}});$("a.recentlink").each(function(){if ($(this).text().length > 50) {$(this).text($(this).text().substr(0, 49));$(this).append('...');}});$(".lttview").each(function(){$(this).html(parseInt($(this).text().replace(/^[\s\S]*-\s+(\d+)\s+[\s\S]*$/m, '$1')));});
</script>
<script>
$(".recentlink").each(function(){if ($(this).text().length > 46) {$(this).text($(this).text().substr(0, 30));$(this).append('...');}});
</script>
. Đây là Script giúp hạn chế số ký tự tiêu đề đã fix lại từ Thuan007 cho bản này, nếu muốn tăng hoặc dảm số ký tự, thay đoạn
- Code:
-
length > 20)
bằng
- Code:
-
length > sokytu)
Bước 5: Cập nhật Widgets theo hình sau:
Bước 6: Vào [ACP > Display > Temp > Head].
Tìm và xóa đi đoạn này
- Code:
-
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
Dán vào Head luôn nha:
- Code:
-
<script src="http://illiweb.com/rs3/13/frm/admin/admin.js" type="text/javascript"></script>
Edit thêm: Dán vào CSS đoạn này >
- Code:
-
.row4 {
background: white;
}