Đưa Skin mới vào diễn đàn sử dụng ! Nếu quá trình sử dụng diễn đàn xảy ra lỗi, xin vui lòng liên hệ Admin để báo lỗi ! Cảm ơn !

You are not connected. Please login or register

[Share] Lasttopic format Tab - by IT-k3

  • Please log in to post a topic
  • An Nguyễn

    An Nguyễn
    An Nguyễn

    An Nguyễn

    Group: S.mod

    Hiện đang:
    Bài viết : 660
    Points : 1092
    Birthday : 27/06/1995
    Thanks : 262
    Đến từ : Bà Rịa - Vũng Tàu

    S.mod
    http://xomnet.info

    S.mod
    Bài viết thứ :1

    Đăng vào:17/3/2013, 20:19

    S.mod
    đả sữa hoàn chỉnh

    1 member nước ngoài đã nhờ An dịch bài viết này sang tiếng anh nên An dịch giúp mem đó nhé . BQT đừng del topic

    Information:
    Last this code from 4all ^ ^
    I earned Edit and add 1 number
    Statistics: Top post weeks, Top post Monthly, Top opening theme, Top Post, Top Access

    New Posts, Topic answer many, Topic, Member .....
    This article share in [You must be registered and logged in to see this link.]


    Demo online : [You must be registered and logged in to see this link.]

    [Share] Lasttopic format Tab - by IT-k3 113


    Step 1: OVERALL MANAGEMENT >> Messages and e-mails >> Configuration Forum

    Topic in one page: 10

    Bước 2 : Dowload file này về và Add vào Templates > Portal
    [You must be registered and logged in to see this link.]
    Pass : cntt-k3.org


    Step 3: After you add the Temp. The you on memberlist_body entire code = code
    Code:
    <!-- BEGIN switch_user_logged_in -->
    <div id="pun-visit" class="clearfix">
      <ul>
          <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
          <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
      </ul>
      <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
    </div>
    <!-- END switch_user_logged_in -->

    <!-- BEGIN switch_user_logged_out -->
    <div id="pun-visit">
      <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
    </div>
    <!-- END switch_user_logged_out -->

    <div class="pun-crumbs">
      <p class="crumbs">
          <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong>{PAGE_TITLE}</strong>
      </p>
    </div>

    <div class="main frm">

      <!-- BEGIN switch_pagination -->
      <div class="paged-head clearfix">
          <p class="paging">{PAGINATION}</p>
      </div>
      <!-- END switch_pagination -->

      <div class="main-head">
          <h1 class="page-title">{L_ORDER_OR_SELECT}</h1>
      </div>

      <div class="main-content">
          <form action="{S_MODE_ACTION}" method="get" class="form-frm">
          <fieldset class="frm-set multi">
            <dl>
                <dt>{L_USER_SELECT}</dt>
                <dd><input type="text" class="inputbox" name="username" maxlength="25" size="20" value="{L_USER_SELECT_VALUE}" /></dd>
            </dl>
            <dl>
                <dt>{L_SELECT_SORT_METHOD}</dt>
                <dd>{S_MODE_SELECT}</dd>
            </dl>
            <dl>
                <dt>{L_ORDER}</dt>
                <dd>{S_ORDER_SELECT}</dd>
            </dl>

            <div class="frm-buttons">
                {S_HIDDEN_SID}
                <input type="submit" name="submit" value="{L_SUBMIT}" />
            </div>
          </fieldset>
          </form>

          <fieldset class="frm-set clearfix">
            <div class="frm-form">
                <table class="table" cellspacing="0">
                  <thead>
                      <tr>
                        <th class="tclmemberlist">{L_AVATAR} - {L_USERNAME}</th>
                        <!-- BEGIN switch_th_group -->
                        <th class="tc2">{L_GROUPS}</th>
                        <!-- END switch_th_group -->
                        <th class="tc3">{L_INTERESTS}</th>
                        <th class="tc2">{L_JOINED}</th>
                        <th class="tc2">{L_VISITED}</th>
                        <th class="tc3">{L_POSTS}</th>
                        <th class="tc3">{L_PM}</th>
                        <th class="tc3">{L_WEBSITE}</th>
                      </tr>
                  </thead>

                  <tbody>
                      <!-- BEGIN memberrow -->
                      <tr>
                        <td class="tcl avatar-mini">
                          <div class="thanhvienmoi" style="height: 20px;width: 116px;">
                            <font style="font-family: Tahoma; font-size: 11px"><a class="gen" href="{memberrow.U_VIEWPROFILE}"><span class="avatartv1">{memberrow.AVATAR_IMG}</span> {memberrow.USERNAME}
                                         
                             
                              </a></font>
                          <span class="thamtopp" style="height: 20px;float: right;margin-right: -220px;" align="right">
                                                                                  {memberrow.JOINED}</span>
                          </div></td>
         
                             
                              <!-- BEGIN switch_td_group -->
                        <td class="tc2">{memberrow.GROUPS}</td>
                        <!-- END switch_td_group -->
                        <td class="tc3"> {memberrow.INTERESTS}</td>
                        <td class="tc2">{memberrow.JOINED}</td>
                        <td class="tc2">
                            <div class="truycapmoi" style="height: 20px;width: 156px;">
                            <font style="font-family: Tahoma; font-size: 11px">
                          <a class="gen" href="{memberrow.U_VIEWPROFILE}">
                              <span class="avatartv1">{memberrow.AVATAR_IMG}</span>
                          {memberrow.USERNAME}
                           
                           
                              </a>
                            </font>

                           
                          </div>

                         
                         
                         
                              </td>
                        <td class="tc3">
                          <div class="K3sobai" style="height: 20px;width: 95px;margin-right: -220px;" align="right"><font style="font-family: Tahoma; font-size: 11px">{memberrow.POSTS} bàiviết</font></div>
                       
                       
                        </td>
                        <td class="tc3">{memberrow.PM_IMG}</td>
                        <td class="tc4">{memberrow.WWW_IMG}</td>
                      </tr>
                      <!-- END memberrow -->
                      <!-- BEGIN switch_no_user -->
                      <tr>
                        <td colspan="{switch_no_user.COLSPAN_NUMBER}" class="tcr">{switch_no_user.L_NO_USER}</td>
                      </tr>
                      <!-- END switch_no_user -->
                  </tbody>
                </table>
            </div>
          </fieldset>
      </div>

      <div class="main-foot">
      </div>

      <!-- BEGIN switch_pagination -->
      <div class="paged-foot clearfix">
          <p class="paging">{PAGINATION}</p>
      </div>
      <!-- END switch_pagination -->

    </div>

    Step 4: In Index_Body Add the following code to the top
    Code:

    <div id="page-body">
          <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                              <table  class="thongke" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" >
        <tbody>
                                    <tr>
                                      <td valign="top" width="100%">
                                          <div class="test">
        <table class="thongke" cellpadding="4" cellspacing="0" style="border: 1px #c0c0c0 solid;" border="0" width="100%" align="center">
     
        <tr>
        <td width="100%">
        <table class="thongke" cellpadding="0" cellspacing="4" border="0" width="100%" align="center">
        <thead>
              <tr valign="top">
        <td width="23%"></td><td width="100%" colspan="2"></td>
        </tr>
        <tr>
        <td><table  class="thongke" cellpadding="0" cellspacing="0" border="0" width="110%" align="center" >
     
        <tr><td valign="top" style="border: 1px solid #9DB3C5;">
        <!-- BEGIN giefmod_index1 -->
        {giefmod_index1.MODVAR} <!-- END giefmod_index1 --></tr></thead></table>

        </td></tr></table>

        </div>
                                      </td>
            </tr><tr>
                                    <td valign="top" width="100%">
        <!-- BEGIN html_validation -->
                                  </td>
                                </tr>
                            </tbody>
                          </table>
                      </div>
                    </div>
                </td>
              </tr>
          </table>
        </body>
        </html>
        <!-- END html_validation -->

    Step 5: Go overall_header find the check for this period
    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>


    (At the end)

    If it then remove the

    Step 6: Install Widgets as follows
    [Share] Lasttopic format Tab - by IT-k3 1210

    Next kick wheel [Share] Lasttopic format Tab - by IT-k3 3803843067 of Recent topics
    Number of recent topics: 40
    Activate the topics scrolling: no

    That's it ^ ^

    Forget not Css:-ss, for this in css
    Code:

    .avatartv1 img {
    height: 15px;
    width: 15px;
    }
    /* tooltip */
    #tooltip .tiplFMvi{border-bottom:1px dashed;padding-bottom:5px;margin-bottom:5px}
    #tooltip{background-color:#FFF;border:1px solid #DDD;border-radius:3px 3px 3px 3px;box-shadow:2px 2px 3px #746E6E;color:#131313;max-width:450px;position:absolute;z-index:999;padding:15px 20px}
    /* tabs-------------------------------------------------------------*/
    .tabs { margin: 0; padding: 0;}
    .tabs {
    padding-bottom: 26px;
    margin-bottom: 15px;
    background: #EFEFEF;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #CAD9EA;
    }
    .tabs li { list-style: none;float: left; line-height: 30px; border-right: 1px solid #b4d0f3; height: 30px; font-size: 11px;}
    .tabs li.current {
    background: #f7f7f7;
    height: 27px;
    font-weight: bold;
    }
    .mainbox { background: #F7f7f7; border: 1px solid #9DB3C5; margin-bottom: 6px; padding: 1px;}
    .mainbox table { width: 100%; }
    #dhtmlpointer, #dhtmltooltip
    {
      z-index: 999;
      left: -300px; top:0px;
      visibility: hidden;
      position: absolute;
    }
    #dhtmltooltip
    {
      border: #666 2.4px solid;
      -moz-opacity: 0.8;
      opacity: 0.8;
      filter: alpha(opacity=80);
      -moz-border-radius: 6px;
      -webkit-border-radius: 6px;
      padding: 10px;
      font-size: 9pt;
      font-family: Arial;
      background-color: white;
      width: auto;
      max-width: 340px;
      width:expression( document.body.clientWidth > 340? "340px": "auto" );
      text-align:left;
    }


    .pun .postmain {
    border-left: 0px solid #ddd;
    margin-left: 1em;
    margin-top: 10px;
    }

    a[href*="mode=post_profile"],a[href*="mode=reply"],a[href*="mode=newtopic"],a[href*="merge?t="],a[href*="cp?mode=split"],a[href*="cp?mode=lock"],a[href*="cp?mode=move"],a[href*="cp?mode=trash"],a[href*="cp?mode=delete"],a[href*="cp?mode=unlock"],a[href*="mode=unlock&p"],a[href*="mode=lock&p"],a[href*="mode=report"],a[href*="&mode=delete"],a[href*="mode=editpost"],a[href*="mode=quote"]{
    border-radius: 10px;
    color: rgb(139, 138, 138)!important;
    font-family: Arial,sans-serif;
    font-size: 11px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    margin: 2px;
      padding: 2px 9px;}



    #dhtmlpointer, #dhtmltooltip
    {
    z-index: 999;
    left: -300px; top:0px;
    visibility: hidden;
    position: absolute;
    -moz-opacity: 0.8;
    opacity: 0.8;
    filter: alpha(opacity=80);
    }
    #dhtmltooltip
    {
    border: #000000 0px solid;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    padding: 15px;
    font-size: 9pt; font-weight:bold;
    font-family: Arial; color:#fff;
    background-color: #000;
    width: auto;
    max-width: 340px;
    width:expression(document.body.clientWidth > 340? "340px": "auto");
    text-align:left;
    }








     #tooltip {
        padding:0;
        max-width: 50% !important;
        color: #000;
      background: #FFFFFF none  ;
      _background-image: none;
    border: 1px #000 solid; -moz-border-radius: 3px;border-radius: 3px;
        font-size:0.8em;text-align: left;
    }

    * html #tooltip {
        width: 30%;
    }
    #tooltip * {
        margin:2px 5px 2px 8px;
    }
    #tooltip ul {
        padding: 0px 0px 0px 20px;
    }
    #tooltip dl {
        clear:both;
        position:relative;
        margin-bottom: 10px;
    }
    #tooltip dt {
        float:left;
        border: medium none;
        padding-top: 3px;
        width: 50%;
    }
    #tooltip dd {
        margin-left: 50%;
        padding-left: 5px;
        vertical-align: top;
    }
    #tooltip p.header {
        margin:0;
        font-size:13px;
        color: green;
        padding: 1px 5px;
        background: #000000 repeat;
        font-weight: bold;
        border-bottom:0px;
    }

    #tooltip p {
        padding: 6px;
        color: #666666;
        font-size:11px;text-align: left;
    }

    .textbox, textarea, select {
    font: normal 11px Tahoma, Calibri, Verdana, Geneva, sans-serif;
    color: #000000;
    background: rgb(255, 255, 255) none;
    border: 1px solid #6B91AB;
    padding: 4px;
    outline: 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    }

    Js show Tootlip for the following code in the Footer End
    Code:
     <script src="http://illiweb.com/rs3/13/frm/admin/admin.js" type="text/javascript"></script>



    Anyway: anyone want to top post shows up first, then do the following
    In: mod_top_posters
    The following code changes the whole it =
    Code:
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <td style="padding: 0px; background: #f7f7f7 none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="100%"><div style="margin-bottom: 1px;"><ul class="tabs"><li class="current"><span style="padding: 0px 7px;">
            <script type="text/javascript">
    function showstuff(value){
        document.getElementById("poster").style.display = (value == "poster") ? "block" : "none";
        document.getElementById("poster1").style.display = (value == "poster1") ? "block" : "none";
    document.getElementById("poster2").style.display = (value == "poster2") ? "block" : "none";
    document.getElementById("poster3").style.display = (value == "poster3") ? "block" : "none";
              document.getElementById("poster4").style.display = (value == "poster4") ? "block" : "none";
    }
    </script>

    <select id="changer" name="type" onchange="showstuff(this.value);">
              <option value="poster">Top poster</option>
              <option value="poster1">Top mở chủ đề</option>
      <option value="poster2">Top poster tuần</option>
      <option value="poster3">Top poster tháng</option>
        <option value="poster4">Top truy cập</option>
     
     
    </select>

    </span></li></ul>

    <div id="poster" style="display:block;"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr valign="top"><td style="border-top: 0px none; padding: 0px; background: transparent url(http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/list.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24" height="200"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif">
      <div id="top_posters">
     
      <!-- BEGIN POSTER --><font style="font-family: Tahoma; font-size: 11px"> {POSTER.NAME}</font><span style="float: right">{POSTER.NB_POSTS}</span><br/><!-- END POSTER -->
     
     
      </td></tr></table></div>
          </div>
     

     
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <td style="padding: 0px; background: #f7f7f7 none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="100%">
     
    <div id="poster4" style="display:none;">

    <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr valign="top">
    <td style="border-top: 0px none; padding: 0px; background: transparent url(http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/list.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24" height="200"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif">

     
     
              <div class="truycapmoi1 style="height: 20px;width: 300px;"></div></span></div></td>
     

    </tr>
    </tbody></table></div><div class="Page">
    <table style="border-bottom-width: 0px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">


           
           
            <script>
    $(document).ready(function(){
    $(function() {
    $('<span class="truycap" />').load('/memberlist?mode=lastvisit&order=DESC&submit=Ok&username .truycapmoi', {limit: 10}, function() {
    jQuery(this).hide()
    .appendTo('.truycapmoi1')
    .fadeIn(1);
    });
    return false;
    });
    $(function() {
    $('<span class="truycap" />').load('/memberlist?mode=lastvisit&order=DESC&submit=Ok&username .K3sobai2', {limit: 10}, function() {
    jQuery(this).hide()
    .appendTo('.sobai2')
    .fadeIn(1);
    });
    return false;
    });
    });
    </script>
         
     
     
      </td></tr></table></div>
        </td></table>

    Next mod_top_post_users_week
    Rather it = code
    Code:
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <td style="padding: 0px; background: #f7f7f7 none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="100%">
     
    <div id="poster2" style="display:none;">
    <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr valign="top">
    <td style="border-top: 0px none; padding: 0px; background: transparent url(http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/list.gif) no-repeat scroll center top; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" width="24" height="200"><img src="http://2img.net/i/fa/empty.gif" width="24" border="0"></td><td style="border-top: 0px none; padding: 0px; line-height: 20px; background-repeat: repeat;" align="left" background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"><!-- BEGIN POSTER --><font style="font-family: Tahoma; font-size: 11px"> {POSTER.NAME}</font><span style="float: right">{POSTER.NB_POSTS}</span><br><!-- END POSTER --></td></tr></table></div>
        </td></table>

    Please specify the source when copying this article from IT-k3.org!



    Được sửa bởi An Nguyễn ngày 19/3/2013, 18:37; sửa lần 3.

    #1 - Posted 17/3/2013, 20:19
    http://xomnet.info
    An Nguyễn

    An Nguyễn
    An Nguyễn

    An Nguyễn

    Group: S.mod

    Hiện đang:
    Bài viết : 660
    Points : 1092
    Birthday : 27/06/1995
    Thanks : 262
    Đến từ : Bà Rịa - Vũng Tàu

    S.mod
    http://xomnet.info

    S.mod
    Bài viết thứ :2

    Đăng vào:17/3/2013, 20:20

    S.mod
    chết rùi úp lỗi hết rùi ! ai rảnh dịch giùm An lại đi ! An phãi off gấp rùi

    #2 - Posted 17/3/2013, 20:20
    http://xomnet.info
    Dũng

    Dũng
    Dũng

    Dũng

    Group: Vip Member

    Hiện đang:
    Bài viết : 298
    Points : 618
    Birthday : 02/02/1991
    Thanks : 282

    Vip Member

    Vip Member
    Bài viết thứ :3

    Đăng vào:17/3/2013, 21:07

    Vip Member
    tạm thời mình close topic nhá ^^
    để bạn hoàn chỉnh post cái khác nhá
    nếu người ta nhờ thì bạn pm cho người ta rồi bảo họ đưa admin cho rồi vào làm hộ họ
    cười nhăn răng

    #3 - Posted 17/3/2013, 21:07
    An Nguyễn

    An Nguyễn
    An Nguyễn

    An Nguyễn

    Group: S.mod

    Hiện đang:
    Bài viết : 660
    Points : 1092
    Birthday : 27/06/1995
    Thanks : 262
    Đến từ : Bà Rịa - Vũng Tàu

    S.mod
    http://xomnet.info

    S.mod
    Bài viết thứ :4

    Đăng vào:19/3/2013, 18:37

    S.mod
    đã fix lại OK topic rùi nhé ! yêu thế

    #4 - Posted 19/3/2013, 18:37
    http://xomnet.info

    Sponsored content

    Sponsored content

    Group:
    Hiện đang:

    Bài viết thứ :5

    Đăng vào:

    #5 - Posted

    Đang kiểm tra dữ liệu...

    Bạn phải điền đầy đủ thông tin đăng ký.

    Số ký tự phải từ 3 trở lên
    Hãy chọn tài khoản khác
    Có thể dùng tài khoản này
    Không sử dụng địa chỉ này
    E-mail sẽ được kiểm sau
    Số ký tự phải từ 3 trở lên
    Trùng tên đăng nhập
    Chưa đúng
    Chính xác

    Free forum | ©phpBB | Free forum support | Báo cáo lạm dụng | Thảo luận mới nhất
    YOUR BANNER HERE
    728x90