![Code]Top posters (%) + Recent topics Top_10](https://i.servimg.com/u/f43/15/63/49/04/top_10.jpg)
Cách làm:
1. kích hoạt và sắp xếp widgets
Spoiler:
- ACp> Module> Portal & widgets> Widgets management>
- kích hoạt và sắp xếp vị trí 2 widgets top posters và recent topics như hình
bấm để chỉnh
. trong top posters:
Display the posted messages number
for each member present in the widget.: chọn Không
. trong recent topics:
Number of recent topics: chọn 10
Activate the topics scrolling: chọn Không
2. thay toàn bộ codes trong mod_recent_topics
- Code:
</table>--><td width="100%" valign="top" class="alt1" style="padding:0">
<div class="mainbox">
<ul class="tabs" id="vietvbb_topstats_t">
<li id="vietvbb_latest_posts" class="current"><span style="padding: 0px 8px;"><a href="#" onClick="return false;">Last posts</a></span></li>
</ul>
<!-- BEGIN classical_row -->
<!-- BEGIN recent_topic_row -->
<table width="99%" align="center" border="0" cellpadding="0" cellspacing="0"> <tbody>
3. thay toàn bộ codes trong mod_top_posters
- Code:
<table width="100%" style="padding:0px; margin:0px;">
<tr><td class="alt1" style="white-space: nowrap;display:block; width:auto!important; overflow:hidden; padding:0px; margin:0px" valign="top">
<div class="mainbox">
<ul class="tabs">
<li class="current"><span style="padding: 0px 5px;">
<select id="vietvbb_topstats_s">
<option selected="selected" value="vietvbb_top_posters">Top posters</option>
</select>
4. thêm codes trong index_body