Tạo Thông Báo Nhỏ Trên Khung Trả Lời Bài Viết 1.0

Tạo Thông Báo Nhỏ Trên Khung Trả Lời Bài Viết

  1. Imma Kun
    noticereply

    Hướng Dẫn:
    Bước 1: Truy Cập Admin.php - Appearance - Styles - Your Styles - Templates - quick_reply

    Chèn đoạn Code của tôi

    Sau Biến
    Mã:
    <xen:require css="quick_reply.css" />
    <xen:require js="js/xenforo/discussion.js" />
    Trước Biến
    Mã:
    <div class="quickReply message">


    CODE của tôi
    Mã:
    <div id="notices1">
    <br>
    <fieldset style="text-align:left;margin:-10px 0">
     
    <div class="thongbao_nho1" onclick="">
    <div class="bong_vien1"></div>
    <img src="styles/noticereply/pencil.png" border="0"> <font color="blue"><b>Bạn Hãy Đọc Kỹ Trước Khi Viết Bài Nhé :)</b></font>
    </div>
     
    <font color="green"><b>◘ Hãy nhấn nút <b><img src="styles/dark/ratings/thumb-up.png"></b> khi gặp bài viết hay &amp; ý nghĩa<br>
    ◘ Không nhận xét bài kiểu "bóc tem", "nhiều chữ quá ngại đọc" ...<br>
    ◘ Vui lòng báo cáo những bài viết có nội dung không lành mạnh<br>
    ◘ Vui lòng nhận xét bài 1 cách lịch sự, có văn hóa<br>
    ◘ Những bình luận có thái độ không tốt, thô tục, coi thường hay xúc phạm người khác sẽ bị xử lý nghiêm khắc (nặng là ban/xóa nick)<br>
    ◘ Không viết chữ kiểu biến tấu, hãy giữ gìn sự trong sáng của Tiếng VIỆT, những bình luận vi phạm sẽ bị xử lý theo <b style="color:red">quy định này</b><br>
    ◘ Nếu ai chưa biết viết Tiếng Việt có dấu thì xem tại <a href="help.html" target="_blank"><b style="color:red">đây</b></a></b></font>
    <br>
    </fieldset>
    <br>
    </div>
    Bước 2: Truy Cập Admin.php - Appearance - Styles - Your Styles - Templates - quick_reply.css

    Thêm Code này vào Templates quick_reply.css
    Mã:
    #notices1 {
    border: 2px solid rgb(250, 16, 32);
    font-family: arial, verdana, sans-serif;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 16px;
    padding: 5px;
    background: url(http://domain.com/styles/noticereply/nenbv.jpg) 50% 100% repeat-x scroll rgb(131, 184, 66);
    }
     
    .thongbao_nho1 {
    background: rgb(253, 193, 0);
    border-style: solid solid none;
    border-width: 1px medium 1px 1px;
    clear: both;
    color: rgb(253, 193, 0);
    display: block;
    margin-bottom: 2px;
    margin-left: -13px;
    padding: 5px 0px 5px 20px;
    width: auto;
    }
     
    .bong_vien1 {
    background: url(http://domain.com/styles/noticereply/bong_vien.png) 0px 0px no-repeat scroll transparent;
    }
    Bước 3: Upload tất cả các file tại đính kèm ngang hàng Admin.php ( theo thư mục styles/noticereply )
    ducmu, thb2014, hungnhien and 3 others like this.
comments powered by Disqus