• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Hướng dẫn thêm nút Up Thread - Đưa chủ đề lên vbb 4.1.x

Admin

Well-Known Member
Staff member
Administrator
Tạo nút up thread - Đưa chủ đề lên cao mà ko cần spam trả lời
Cái này hacobi chế từ VSa - (De)Bump Thread 1.2
Import product: VSa - (De)Bump Threads v1.2.1.xml
Mở Style manager > Edit Template skin đang dùng > Show Thread Templates > SHOWTHREAD >
Tìm:
Code:
<img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif"  alt="" />
Thêm bên trên:
Code:
 <!-- up thread button Bump Threads v1.2.1 -->
    <vb:if condition="$show['member']">
    <a href="postings.php?{vb:raw session.sessionurl}do=uphacobi&amp;t={vb:raw thread.threadid}" rel="nofollow" class="newcontent_textcontrol" id="upthreadlink_top"  style="margin-left:10px;"><span>+</span> Up</a>
    </vb:if>
    <!-- up thread button Bump Threads v1.2.1 -->
Chú ý có 2 chỗ.
Nếu muốn ai cũng thấy nút Up thì bạn bỏ đoạn
Code:
<vb:if condition="$show['member']"> và </vb:if>
đi
Link tải xuống: http://www.mediafire.com/?mia42jzc3uao2y6
Demo ảnh khoanh màu đỏ nhé:
untitled.png
 

Facebook Comments

New posts New threads New resources

Back
Top