Share Mod "tình hình diễn đàn" kèm avatar

Mr LNA

Administrator
1 Tháng mười một 2010
49,064
12
38
emo online: http://4r.ninja9x.net; http://saogiay.com; http://sinhvienvt.net
demo ảnh

Ngoài thống kê số người online, top poster, top bắt đầu chủ đề mới trong ngày, nó còn kèm theo avatar thu nhỏ của mỗi nick.
Cách cài đặt
Giải nén và import toàn bộ file xml trong thư mục tải về (import product)
Vào download/upload plugin import file xml dưới

vào temp forumhome.css chèn toàn bộ code sau xuống cuối cùng

Mã:
.tborder{    background: #F0F2FA;    color: #000000;    border: 1px solid #989898;}.tcat{    background: #F2F2F2  url(images/buttons/newbtn_middle.png) repeat-x top left;    color: #333333;    font: bold 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;    padding:8px 6px 7px 6px;}.tcat a:link, .tcat_alink{    color: #333333;    text-decoration: none;}.tcat a:visited, .tcat_avisited{    color: #333333;    text-decoration: none;}.tcat a:hover, .tcat a:active, .tcat_ahover{    color: #FF4400;    text-decoration: underline;}.thead{    background: #F2F2F2 url(images/buttons/newbtn_middle.png) repeat-x top left;    color: #333333;    font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;    border-bottom:1px solid #8f95bf;}.thead a:link, .thead_alink{    color: #333333;}.thead a:visited, .thead_avisited{    color: #333333;}.thead a:hover, .thead a:active, .thead_ahover{    color: #FF4400;}.alt1, .alt1Active{    background: #FBFBFD;    color: #000000;        }.alt2, .alt2Active{    background: #F1F1F1;    color: #000000;        }

Vào temp [B]FORUMHOME tìm
Code: 

{vb:raw forumhome_markread_script}
nếu không có thì tìm

Mã:
{vb:raw ad_location.ad_forumhome_afterforums}
thêm sau đó

Mã:
<!-- what's going on box --><div id="wgo" class="collapse wgo_block"><table class="block" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"><thead><tr><div id="wgo" class="blockhead" colspan="5"><small><span style="float:right"><b>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</span>{vb:rawphrase whats_going_on} : {vb:rawphrase there_are_x_online, {vb:raw totalonline}} {vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</b></small></div></tr></thead><tr valign="top"><td class="alt2" height="10px" style="width:4%;"></td><td class="alt2" height="10px" style="width:24%;">Online Users</td><td class="alt2" height="10px" style="width:24%;">Members who have Visited</td><td class="alt2" height="10px%" style="width:24%;">Todays Top Posters</td><td class="alt2" height="10px" style="height:10%;" style="width:24%;">Todays Thread Starters</td></tr><tr valign="top"><td class="blocksubhead" valign="middle" align="center"><a href="online.php"><img class="inlineimg" src="images/misc/whos_online.gif" alt="'Kimler aktif' (Online) göster" border="0" /></a></td><td class="alt2" height="130px" padding="3px"><div style="border:1px wave #8f95bf; overflow: auto; overflow-x: hidden; width: auto; height: 130px; text-align: left; verticle-align: top; padding-top: 1px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; margin-top: 1px; margin-bottom: 0px;">{vb:raw template_hook.forumhome_wgo_pos1}<vb:if condition="$show['loggedinusers']">{vb:raw activeusers}</vb:if></div></td><td class="alt2" height="130px" padding="3px"><div style="border:1px wave #8f95bf; overflow: auto; overflow-x: hidden; width: auto; height: 130px; text-align: left; verticle-align: top; padding-top: 1px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; margin-top: 1px; margin-bottom: 0px;">{vb:raw template_hook.forumhome_wgo_pos10}</div></td><td class="alt2" height="130px" padding="3px"><div style="border:1px wave #8f95bf; overflow: auto; overflow-x: hidden; width: auto; height: 130px; text-align: left; verticle-align: top; padding-top: 1px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; margin-top: 1px; margin-bottom: 0px;">{vb:raw template_hook.forumhome_wgo_pos16}</div></td><td class="alt2" height="130px" padding="3px"><div style="border:1px wave #8f95bf; overflow: auto; overflow-x: hidden; width: auto; height: 130px; text-align: left; verticle-align: top; padding-top: 1px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; margin-top: 1px; margin-bottom: 0px;">{vb:raw template_hook.forumhome_wgo_pos11}</div></td></tr></table></div><!-- end what's going on box --><!-- what's going on box --><div id="wgo" class="collapse wgo_block"><h2><span>Site STATS</span></h2>        <div class="floatcontainer">{vb:raw template_hook.forumhome_wgo_pos1}{vb:raw template_hook.forumhome_wgo_pos2}            <vb:if condition="$show['upcomingevents']">            <div id="wgo_events" class="wgo_subblock">                <h3><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3>                <ol>            {vb:raw upcomingevents}                </ol>            </div>            </vb:if>            {vb:raw template_hook.forumhome_wgo_pos3}            <vb:if condition="$show['birthdays']">            <!-- today's birthdays -->            <div id="wgo_birthdays" class="wgo_subblock">                <h3><img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />{vb:rawphrase todays_birthdays}</h3>                <ol class="commalist">                    {vb:raw birthdays}                </ol>            </div>            <!-- end today's birthdays -->            </vb:if>            {vb:raw template_hook.forumhome_wgo_pos4}            <div id="wgo_stats" class="wgo_subblock">                <h3><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</h3>                <div>                    <dl>                        <dt>{vb:rawphrase threads}</dt>                            <dd>{vb:raw totalthreads}</dd>                        <dt>{vb:rawphrase posts}</dt>                            <dd>{vb:raw totalposts}</dd>                        <dt>{vb:rawphrase members}</dt>                            <dd>{vb:raw numbermembers}</dd>                        <vb:if condition="$show['activemembers']">                                                <dt>{vb:rawphrase active_members}</dt>                                                         <dd>{vb:raw activemembers}</dd>                                               </vb:if>                    </dl>                    <p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p>                    {vb:raw template_hook.forumhome_wgo_stats}                </div>            </div>            {vb:raw template_hook.forumhome_wgo_pos5}    </div></div>    <!-- end what's going on box -->    {vb:raw ad_location.board_below_whats_going_on}    <vb:if condition="$show['sidebar']">        </div>    </div>    <div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>>        <a id="sidebar_button_link" href="#">            <vb:if condition="$show['sidebarposition'] == 'left'">            <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" />            <vb:else />            <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" />            </vb:if>        </a>        <ul id="sidebar">            {vb:raw sidebar}        </ul>    </div>    </vb:if>    {vb:raw footer}</body></html>
xóa toàn bộ những thứ ở dưới cái mới chèn thêm đi


Vào temp forumhome_loggedinuser
thay toàn bộ bằng

Mã:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="auto"><td class="tborder" width="10%" align="center"><vb:if condition="$loggedin[avatarurl]"><img height="30px" width="30px" class="inlineimg" src="{vb:raw loggedin.avatarurl}" border="0" /></vb:if></td><td class="alt1" width="80%">{vb:stylevar dirmark}<vb:if condition="$show['comma_leader']"></vb:if> <a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}<br /><small> {vb:raw loggedin.displaygrouptitle}</small></td></table>
tìm vào temp vbulletin.css thêm toàn bộ code sau vào cuối cùng

Mã:
.tborder{    background: #F0F2FA;    color: #000000;    border: 1px solid #989898;}.tcat{    background: #F2F2F2  url(images/buttons/newbtn_middle.png) repeat-x top left;    color: #333333;    font: bold 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;    padding:8px 6px 7px 6px;}.tcat a:link, .tcat_alink{    color: #333333;    text-decoration: none;}.tcat a:visited, .tcat_avisited{    color: #333333;    text-decoration: none;}.tcat a:hover, .tcat a:active, .tcat_ahover{    color: #FF4400;    text-decoration: underline;}.thead{    background: #F2F2F2 url(images/buttons/newbtn_middle.png) repeat-x top left;    color: #333333;    font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;    border-bottom:1px solid #8f95bf;}.thead a:link, .thead_alink{    color: #333333;}.thead a:visited, .thead_avisited{    color: #333333;}.thead a:hover, .thead a:active, .thead_ahover{    color: #FF4400;}.alt1, .alt1Active{    background: #FBFBFD;    color: #000000;        }.alt2, .alt2Active{    background: #F0F2FA;    color: #000000;        }
xong

Cảm ơn mr Km SienVienVT đã convent lên 4.0.x và viết lại mod này
[/B]
 

New Jobs

Thống kê diễn đàn

Chủ đề
61,367
Bài viết
63,587
Thành viên
86,058
Thành viên mới nhất
Mai Trần

VỀ CHÚNG TÔI

  • Sinhvienthamdinh.Com là diễn đàn đầu tiên và lớn nhất dành riêng cho cộng đồng nhân lực ngành thẩm định giá. Cổng thông tin được tạo ra nhằm tạo kênh kết nối tri thức cho tất cả các bạn đã và đang quan tâm đến ngành thẩm định giá. Các thông tin được tổng hợp với đầy đủ các mảng thuộc lĩnh vực thẩm định giá như: Thẩm định giá Bất động sản, thẩm định giá động sản, thẩm định giá máy móc thiết bị, thẩm định giá doanh nghiệp, thẩm định giá dự án đầu tư, thẩm định giá thương hiệu...
  • Với phương châm "Connet For Sharing" chúng tôi chia sẻ hoàn toàn miễn phí và không giới hạn những kiến thức từ cộng đồng diễn đàn.

DANH MỤC CHÍNH

CÁ NHÂN