[Lasttest] punBB & phpBB2
Trang 1 trong tổng số 1 trang • Share
- VodkaTrợ giúp
- Tổng số bài gửi : 8
Điểm : 25
Danh vọng : 1
Ngày tham gia : 13/06/2015
Cho phpBB2
Bước 1:
Vào Module ~> Forum widgets management. Trong bảng Forum widgets general options:
Display forum widgets : chọn Có
Width column 1 (left) : điền 180
Width column 3 (right) : điền nhiu cũng dc ( tốt nhất là 0 )
Sau đó đặt widget như hình :
Nhấn vào bánh xe màu vàng để sửa cấu hình:
Number of recent topics : nhiu cũng dc (forum mình chọn 12).
Activate the recent topics scrolling : chọn không
Bước 2:
Vào Display ~> template ~> portal ~> chọn mod_recent_topics:
thay tất cả code trong đó bằng code sau:
Tìm:
Thay bằng:
Chỉnh trong Modules y như trên.
1.Display/template/QLTT/overall_header_new:
tìm
2.Vào Dispaly/color/CSS:
thêm:
3.Display/template/Portal/mod_rencent_topic:
thay tất cả bằng:
Bước 1:
Vào Module ~> Forum widgets management. Trong bảng Forum widgets general options:
Display forum widgets : chọn Có
Width column 1 (left) : điền 180
Width column 3 (right) : điền nhiu cũng dc ( tốt nhất là 0 )
Sau đó đặt widget như hình :
Nhấn vào bánh xe màu vàng để sửa cấu hình:
Number of recent topics : nhiu cũng dc (forum mình chọn 12).
Activate the recent topics scrolling : chọn không
Bước 2:
Vào Display ~> template ~> portal ~> chọn mod_recent_topics:
thay tất cả code trong đó bằng code sau:
- Code:
<table style="border:#CCCCCF 1px solid;" width="100%">
<!-- BEGIN classical_row --> <tr>
<th height="25" colspan="3"><span class="genmed" width="100%"><b><center>Bài gửi sau cùng </center></b></span></th>
</tr>
<tr><td class="catHead" align="center"><span class="genmed">Bài gửi</span></td><td class="catHead" align="center"><span class="genmed">Người gửi</span></td><td class="catHead" align="center"><span class="genmed">Thời gian</span></td><!-- BEGIN recent_topic_row -->
<tr>
<td class="row1" align="left" width="50%"><span class="gensmall">
[�] <a href="{classical_row.recent_topic_row.U_TITLE}">{classical_row.recent_topic_row.L_TITLE}</a></td><td class="row1" align="center" width="25%"> <span class="gensmall"><a href="{classical_row.recent_topic_row.U_POSTER}">{classical_row.recent_topic_row.S_POSTER}</span></a> </td><td class="row1" align="left" width="25%"> <span class="gensmall">{classical_row.recent_topic_row.S_POSTTIME}
</span></td>
</tr><!-- END recent_topic_row -->
<!-- END classical_row --></table>
Tìm:
- Code:
<td valign="top" width="{C1SIZE}">
<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>
</td>
Thay bằng:
- Code:
<td valign="top" width="100%">
<div id="center">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
</td>
</tr>
<tr>
Chỉnh trong Modules y như trên.
1.Display/template/QLTT/overall_header_new:
tìm
- Code:
{ID_LEFT}
2.Vào Dispaly/color/CSS:
thêm:
- Code:
div#left {clear:both; width: 100%; !important}
html #content-container div#main {margin-left: 0px; !important}
3.Display/template/Portal/mod_rencent_topic:
thay tất cả bằng:
- Code:
<!-- BEGIN scrolling_row -->
<div class="module main">
<div class="main-head"><div class="h3">{L_RECENT_TOPICS}</div></div>
<div class="main-content" id="comments_scroll_div" style="height:{SCROLL_HEIGHT}px;overflow:auto">
<!-- BEGIN recent_topic_row -->
» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_TITLE}">{scrolling_row.recent_topic_row.L_TITLE}</a>
<img src="{ICON_TIME}" alt="" />{scrolling_row.recent_topic_row.S_POSTTIME} {BY} <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_POSTER}">{scrolling_row.recent_topic_row.S_POSTER}</a>
<!-- END recent_topic_row -->
</div>
</div>
<!-- END scrolling_row -->
<!-- BEGIN classical_row -->
<div class="module main">
<div class="main-head"><h3>Liệt kê những bài viết mới nhất</h3></div>
<div class="main-content"><table cellpadding="0" cellspacing="0" class="table"><thead><tr><th width="50%">Bài viết mới</th><th width="20%">Người viết</th><th width="50%">Vào lúc</th></tr></thead><tbody class="statused"><!-- BEGIN recent_topic_row --><tr><td style=" padding: 2px; padding-left:10px;"> <img src="http://i292.photobucket.com/albums/mm30/huylordno1/cpstyle/lastpost.gif"></img><a href="{classical_row.recent_topic_row.U_TITLE}"> {classical_row.recent_topic_row.L_TITLE} </a></td><td class="tc3" style=" padding: 2px;padding-left:10px;"><a href="{classical_row.recent_topic_row.U_POSTER}">{classical_row.recent_topic_row.S_POSTER}</a></td><td style=" padding: 2px;padding-left:10px;">{classical_row.recent_topic_row.S_POSTTIME}</td></tr> <!-- END recent_topic_row --></tbody></table>
</div>
</div>
<!-- END classical_row -->
<script type="text/javascript">
//<![CDATA[
div_marquee('comments_scroll_div', 'comments_scroll_container', '{SCROLL_WAY}', '{SCROLL_STEP}', '{SCROLL_DELAY}', '{SCROLL_HEIGHT}', 'genmed');
//]]>
</script>
- Quý BuzzikThành viên mới
- Tổng số bài gửi : 5
Điểm : 5
Danh vọng : 0
Ngày tham gia : 09/09/2016
không có demo, sp đếch chịu duyệt bài
Similar topics
Đăng ký thành viên và bình luận
Bạn cần phải đăng ký để bình luận.
Tạo tài khoản
Tham gia vào cộng đồng bằng cách tạo tại khoản, nó thật dễ dàng!
Tạo tài khoản mới
Trang 1 trong tổng số 1 trang
Permissions in this forum:
Bạn không có quyền trả lời bài viết
Wed Feb 21, 2024 11:49 am by NIK SIURI
» [PhpBB3] BeastVN
Sun Feb 11, 2024 3:07 pm by hoanglongnhatbao
» [PhpBB2] IPS Community
Sun Feb 11, 2024 3:06 pm by hoanglongnhatbao
» [PunBB] HEEDragon
Sun Feb 11, 2024 3:04 pm by hoanglongnhatbao
» [PunBB] Facebook
Sun Feb 11, 2024 3:04 pm by hoanglongnhatbao
» [PunBB] Back (Mới)
Sun Feb 11, 2024 3:03 pm by hoanglongnhatbao
» [PhpBB3] CODE GAME
Sun Feb 11, 2024 2:37 pm by hoanglongnhatbao
» [Invision] VNXF
Sun Feb 11, 2024 2:36 pm by hoanglongnhatbao
» [Simple Theme] Silver Plain V4.1
Sun Feb 11, 2024 2:19 pm by hoanglongnhatbao