Question Hỏi về dao diện Xenporta của sinhvienit.net

Thảo luận trong 'Add-on Quesions' bắt đầu bởi DorinITF, 3/9/13.

1votes
5/5, 1 vote

  1. DorinITF

    DorinITF New Member

    Bài viết:
    51
    Likes :
    7
    mình đã thay toàn bộ code trong temple EWRblock_RecentNews , và EWRblock_RecentNews.css , đã có dao diện giống như bên sinhvienit ở thòi điểm hiện tại , tuy nhiên gặp 1 vài lỗi nhỏ , là thanh tiêu đề khong được phủ màu mà chỉ có đường viền và 1 lỗi nữa là đăng video thì oke còn hình ảnh thì không hiển thị được , như hình nó chỉ hiện cái logo download , bạn nào biết cách khắc phục giúp mình với nhé
    demo hình : [​IMG]
    demo code mình đã dùng
    EWRblock_RecentNews

    HTML:
    <xen:require css="bb_code.css" />
    <xen:require css="EWRblock_RecentNews.css" />
    
    <div id="recentNews">
        <xen:foreach loop="$RecentNews" value="$news">
    
            <div class="content_container" id="{$news.thread_id}">
    
    <div class="content_threadtitle"><a target="_blank" href="{xen:link threads, $news}" title="{$news.title}">{xen:helper threadPrefix, $news}{$news.title}</a></div>
    
    
    
          
    <div class="content_threadinfo">
                    <span class="user"><a href="{xen:link members, $news}">{$news.username}</a></span>
                    <span class="time">{xen:time $news.post_date, 'absolute'}</span>
                    <span class="view">{xen:number $news.view_count}</span>
                    <span class="reply">{xen:number $news.reply_count}</span>
                    <span class="like">{xen:number $news.first_post_likes}</span>
                </div>
    
    
                    <div class="content_threadcontent">{xen:raw $news.messageHtml}</div>
              
                    <div class="content_threadtools">
                    <div class="sharing-button">
                        <ul id="vxf-sharing">
                            <li><a onclick="return vtlai_openbookmark(this);" target="_blank" title="Bookmark this topic" href="javascript:vtlai_bookmark('{$news.title}-VXF.CC', '{$xenOptions.boardUrl}/{xen:link threads, $news}')"></a></li>
                            <li><a onclick="return vtlai_openbookmark(this);" target="_blank" title="Bookmark to Google" id="vxf-google" href="https://www.google.com.vn/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk={$xenOptions.boardUrl}/{xen:link threads, $news}&amp;title={$news.title}-VXF.CC&amp;annotation="></a></li>
                            <li><a onclick="return vtlai_openbookmark(this);" target="_blank" title="Tweet to Twitter" id="vxf-twitter" href="http://twitter.com/intent/tweet?status={$news.title}&amp;url={$xenOptions.boardUrl}/{xen:link threads, $news}"></a></li>
                            <li><a onclick="return vtlai_openbookmark(this);" target="_blank" title="Share to Facebook" id="vxf-facebook" href="http://www.facebook.com/share.php?u={$xenOptions.boardUrl}/{xen:link threads, $news}"></a></li>
                            <li><a onclick="return vtlai_openbookmark(this);" target="_blank" title="Buzz to Yahoo" id="vxf-yahoo" href="ymsgr:im?+&amp;msg=Xem bài này hay lắm nè: {$news.title} ~~&gt; {$xenOptions.boardUrl}/{xen:link threads, $news}"></a></li>
                            <li><a onclick="return vtlai_openbookmark(this);" target="_blank" title="Share to LinkHay" id="vxf-linkhay" href="http://linkhay.com/submit?link_url={$xenOptions.boardUrl}/{xen:link threads, $news}&amp;link_title={$news.title}"></a></li>
                            <li><a onclick="return vtlai_openbookmark(this);" target="_blank" title="Share on Zing Me" id="vxf-zing" href="http://link.apps.zing.vn/share?u={$xenOptions.boardUrl}/{xen:link threads, $news}&amp;t={$news.title}-vn-xenforo.com&amp;desc=Việt Nam xenForo Community"></a></li>
                            <li><a onclick="return vtlai_openbookmark(this);" target="_blank" title="Post to Go.Vn" id="vxf-go" href="http://my.go.vn/share.aspx?url={$xenOptions.boardUrl}/{xen:link threads, $news}&amp;title={$news.title}"></a></li>
                        </ul>
                    </div>
                    <a class="content_readmore" href="{xen:link threads, $news}" title="Xem tiếp: {$news.title}" target="_blank">{xen:Phrase continue_reading}</a>
                    <div class="clear"></div>
                </div>
      
            </div>
        </xen:foreach>
    
        <xen:if hascontent="true">
        <div class="section sectionMain">
            <xen:contentcheck>
            <xen:if is="{$option.pagenav} && {$option.count} > {$option.limit}">
                <xen:if is="{$category}">
                    <xen:Pagenav link="articles" linkdata="{$category}" page="{$page}" perpage="{$option.limit}" total="{$option.count}" />
                <xen:else />
                    <xen:Pagenav link="portal" page="{$page}" perpage="{$option.limit}" total="{$option.count}" />
                </xen:if>
            </xen:if>
            </xen:contentcheck>
        </div>
        </xen:if>
    </div>

    EWRblock_RecentNews.css
    HTML:
    .content_container {
    margin-top: 5px;
    border: 0;
    padding-left: 0px;
    }
    .content_threadtitle {
    font-family: 'Segoe UI',Arial,Tahoma,sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: #2B2B2B;
    text-align: left;
    display: block;
    border-bottom: 2px solid #3AB3CA;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    }
    .content_threadinfo {
    display: block;
    font-family: Tahoma,Arial,sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #999 !important;
    text-align: left;
    margin: 0px;
    border-bottom: 1px dashed #AAA;
    padding: 8px 0 3px 4px;
    }
    .content_threadinfo .user,.content_threadinfo .time,.content_threadinfo .view,.content_threadinfo .reply,.content_threadinfo .like
    {
        display:inline-block;
        background: url(@imagePath/homeicon.png) no-repeat;
        padding: 3px 0 0 24px;
        margin: 0 10px 0 0;
        height: 20px;
        color: #999 !important;
    }
    .content_threadinfo .user{
        background-position: 0 0;
    }
    .content_threadinfo .user a
    {
        color: #999;
    }
    .content_threadinfo .user a:hover
    {
        color: #FF5302;
    }
    .content_threadinfo .time{
        background-position: 0 -32px;
    }
    .content_threadinfo .view{
        padding-left: 32px;
        background-position: 0 -57px;
    }
    .content_threadinfo .reply{
        background-position: 0 -84px;
    }
    .content_threadinfo .like{
        background-position: 0 -111px;
    }
    .content_threadcontent{
        display: block;
        text-align: justify;
        margin: 17px 0;
        font-family: Arial,Tahoma,sans-serif;
        font-size: 15px;
        font-weight: normal;
        color: #333333;
        line-height: 1.4;
    }
    .content_threadcontent li
    {
        list-style: disc outside;
        margin-left: 20px;
    }
    .content_threadcontent img
    {
        border: 5px solid #DFEBF4;
        max-width: 600px;
    }
    .content_threadcontent a{
        color: #00F;
        text-decoration:none;
    }
    .content_threadcontent a:hover{
        color: #C06;
        text-decoration:underline;
    }
    .content_threadcontent img{
        text-align:center;
    }
    .content_threadtools{
        display: block;
        margin: 0;
    }
    .content_threadtools .sharing-button{
        display: block;
        margin: 0;
        padding: 0;
        float: left;
    }
    .content_threadtools .content_readmore{
        display: block !important;
        background: #25aae1 !important;
        color: #FFF !important;
        padding: 10px 20px !important;
        margin: 0 !important;
        float: right !important;
    }
    .content_threadtools .content_readmore:hover{
        background: #008EFF !important;
    }
    .clear{
        clear: both;
        height:0px;
        line-height:0px;
        padding: 0px;
        margin: 0px;
    }
    .sharing-button{float:left;}
    .sharing-button ul { display: block; padding: 0px; margin: 0px; list-style: none; text-align: center; }
    ul#vxf-sharing li {float:left; padding:0; margin:2px;}
    ul#vxf-sharing li a {
        width:16px;
        height:16px;
        background:url(@imagePath/sharing-icon.png) 0 0 no-repeat;
        display:block;
        transition-property:background-position;
        transition-duration:.2s;
        -o-transition-property:background-position;
        -o-transition-duration:.2s;
        -webkit-transition-property:background-position;
        -webkit-transition-duration:.2s;
        -moz-transition-property:background-position;
        -moz-transition-duration:.2s;
    }
    ul#vxf-sharing li a:hover {background-position:0 100%;}
    #vxf-sharing #vxf-google {background-position:-24px 0;}
    #vxf-sharing #vxf-google:hover {background-position:-24px 100%;}
    #vxf-sharing #vxf-twitter {background-position:-48px 0;}
    #vxf-sharing #vxf-twitter:hover {background-position:-48px 100%;}
    #vxf-sharing #vxf-facebook {background-position:-72px 0;}
    #vxf-sharing #vxf-facebook:hover {background-position:-72px 100%;}
    #vxf-sharing #vxf-yahoo {background-position:-96px 0;}
    #vxf-sharing #vxf-yahoo:hover {background-position:-96px 100%;}
    #vxf-sharing #vxf-linkhay {background-position:-120px 0;}
    #vxf-sharing #vxf-linkhay:hover {background-position:-120px 100%;}
    #vxf-sharing #vxf-zing {background-position:-144px 0;}
    #vxf-sharing #vxf-zing:hover {background-position:-144px 100%;}
    #vxf-sharing #vxf-go {background-position:100% 0;}
    #vxf-sharing #vxf-go:hover {background-position:100% 100%;}
     
    Đang tải...
  2. DorinITF

    DorinITF New Member

    Bài viết:
    51
    Likes :
    7
    Lên nào ..!
     
  3. DorinITF

    DorinITF New Member

    Bài viết:
    51
    Likes :
    7
    Up X_X
     
  4. DorinITF

    DorinITF New Member

    Bài viết:
    51
    Likes :
    7
    Lên X_X
     
  5. TinPower

    TinPower Member

    Bài viết:
    120
    Likes :
    31
  6. DorinITF

    DorinITF New Member

    Bài viết:
    51
    Likes :
    7
    Last edited: 4/9/13
  7. TinPower

    TinPower Member

    Bài viết:
    120
    Likes :
    31
    X_X lap bị hư ko onl hổ trợ bạn đc thông cảm
     
  8. DorinITF

    DorinITF New Member

    Bài viết:
    51
    Likes :
    7
    oke , mai support giúp mình được không , giờ cũng trễ rồi :D
     
  9. ITCAnhDuy

    ITCAnhDuy Member

    Bài viết:
    423
    Likes :
    142
    Xen Portal đã có phiên bãn 1.6.5 đâu . Ảo lòi :|
     
  10. DorinITF

    DorinITF New Member

    Bài viết:
    51
    Likes :
    7
    nhầm vs tinh te xen tag X_X
     
  11. DorinITF

    DorinITF New Member

    Bài viết:
    51
    Likes :
    7
    nói chung là hiện tại mình chỉ bị 1 lỗi , là hình ảnh bài viết không được đưa ra trang chủ như Demo ở trên thôi , trừ khi post liên tiếp nhiều hình và video-clip thi mới hiển thị đc , bạn nào biết cách Fix giúp mình với nhé ...!
     
  12. dev.xf

    dev.xf Member

    Bài viết:
    480
    Likes :
    203
    bạn đưa demo thật mới biết chứ
     
comments powered by Disqus

Chia sẻ trang này

Đang tải...