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

  • Thread starter Thread starter AdminAdmin is verified member.
  • Start date Start date
Admin

AdminAdmin is verified member.

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

Similar threads

Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
1
Views
1K
Xohoso62
X
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
5
Views
1K
VnSlo
V
Della007
Replies
0
Views
2K
Della007
Della007
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
845
AdminAdmin is verified member.
Admin
Admin
Replies
1
Views
2K
hongoc10
H
N
Replies
3
Views
724
AdminAdmin is verified member.
Admin
Tjeuphong
Replies
17
Views
2K
AdminAdmin is verified member.
Admin
Back
Top