Hỏi về Advanced Forum Statistics trong style mobile

Thảo luận trong 'Add-on Quesions' bắt đầu bởi kels, 30/7/12.

1votes
5/5, 1 vote

  1. kels

    kels New Member

    Bài viết:
    7
    Likes :
    0
    Tình hình Là cái AFS trong style mobile của
    em hiển thị chán quá.... Làm sao để bỏ Tất
    để lại mỗi Bài viết mới nhất nhỉ các bro.
    Cho em tks trước ợ !!!. Cơ mà em là newbie nên các bro nói rõ xíu được không @@....
     
    Đang tải...
  2. Logi

    Logi Well-Known Member

    Bài viết:
    1,087
    Likes :
    456
  3. hd00842

    hd00842 Member

    Bài viết:
    164
    Likes :
    7
    Vào template -> VietXfAdvStats_wrapper_section_li
    Thay bằng code sau:
    HTML:
    <xen:if is="{$section.rendered}">
        <li id="{$section.section_id}" class="VietXfAdvStats_BlockContent {$liClass}">
            {xen:raw {$section.rendered}}
        </li>
    <xen:else />
    </xen:if>
    Sau đó vào VietXfAdvStats_wrapper
    Thay thế bằng code sau:
    HTML:
    <xen:require js="js/VietXfAdvStats/frontend.js" />
    <xen:require css="VietXfAdvStats.css" />
     
            <div class=VietXfAdvStats_Header>Chủ đề mới nhất</div>
                <xen:foreach loop="$sections2nd" value="$section">
                    <xen:include template="VietXfAdvStats_wrapper_section_li">
                        » <xen:set var="$liClass">VietXfAdvStats_Block2ndContent</xen:set>
                    </xen:include>
                </xen:foreach>
    Tiếp theo, vào VietxfAdvStats_threads_recent
    Vì mình sử dụng recent thread thay cho last thread. Bạn nào sử dụng last thread thì nên dùng recent nhé.
    Thay thế code sau:


    HTML:
    <xen:require css="message.css" /> 
     
    <div class="topx">
     
            » <a href="{xen:link '{xen:if '{$thread.isNew}', 'threads/unread', 'threads'}', {$thread}}">
     
                <xen:if is="@VietXfAdvStats_ThreadTitleChars > 0">
     
                    {xen:helper wordtrim, {$thread.title}, @VietXfAdvStats_ThreadTitleChars}
     
                <xen:else />
     
                    {$thread.title}
     
                </xen:if>
     
            </a>
     
            (<xen:username user="$thread" rich="true" />)
     
        </div>
    HTML:
    .topx
    {
        /*
        background-color:#FFFFFF;
        color:#000000;
        font-size:.9em;
        padding: 4px;
        width:100% -8px;
        margin-lefT:auto;
        margin-right:auto;
        border-left:1px solid @subHeading.border-bottom-color;
        border-right:1px solid @subHeading.border-bottom-color;
        border-bottom:1px solid @subHeading.border-bottom-color;
        */
        padding: 3px;
        border-left:1px solid @subHeading.border-bottom-color;
        border-right:1px solid @subHeading.border-bottom-color;
        border-bottom:1px solid @subHeading.border-bottom-color;
    }
    Cuối cùng là thanks nhé.Bạn có thể tham khảo thêm tại đây http://no1vn.net/threads/cac-fix-mod-topx-cho-style-mobile-xenforo.9807/
     
  4. Xavier

    Xavier Well-Known Member

    Bài viết:
    1,414
    Likes :
    522
    Cái đ `: bạn đi copy của site về site rồi làm như của site mình vậy..
     
  5. kels

    kels New Member

    Bài viết:
    7
    Likes :
    0
    Làm như này nó ko hiện ls nhỉ???
    [​IMG]
     
  6. kels

    kels New Member

    Bài viết:
    7
    Likes :
    0
comments powered by Disqus

Chia sẻ trang này

Đang tải...