Trong mỗi bài viết , các bạn sẽ để ý thấy các nút vote ( ) và ( - )
Và
để di chuyển vào các vị trí bạn thích hay thay đổi dấu ( )
và ( - ) thành 1 hình ảnh nào đó ( như hình bên dưới )
Các bạn xem phần hướng dẫn bên dưới :
1. Vào Display -> Templates -> Viewtopic_body
Tìm
- Code:
-
<!-- BEGIN switch_vote_active -->
<div class="vote gensmall">
<!-- BEGIN switch_vote -->
<div class="vote-button"><a
href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
<!-- END switch_vote -->
<!-- BEGIN switch_bar -->
<div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
<!-- BEGIN switch_vote_plus -->
<div class="vote-bar-plus"
style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
<!-- END switch_vote_plus -->
<!-- BEGIN switch_vote_minus -->
<div class="vote-bar-minus"
style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
<!-- END switch_vote_minus -->
</div>
<!-- END switch_bar -->
<!-- BEGIN switch_no_bar -->
<div
title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"
class="vote-no-bar">----</div>
<!-- END switch_no_bar -->
<!-- BEGIN switch_vote -->
<div class="vote-button"><a
href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
<!-- END switch_vote -->
</div>
<!-- END switch_vote_active -->
Và di chuyển nó đến các địa điểm bạn thích trong các menu trong viewtopic :
- Code:
-
<!-- BEGIN profile_field
-->{postrow.displayed.profile_field.LABEL}
{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}<!--
END profile_field -->
Thêm vào sau code trên , thì 2 nút vote sẽ nằm bên dưới pro ở avata người gửi bài ....
Hoặc các bạn có thể dùng 2 nút tùy biến của mcm-club đã làm rồi , chĩ cần copy về và sữa lại là ok .....
- Code:
-
<!-- BEGIN switch_vote_active -->
<!-- BEGIN switch_vote -->
<a
href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><span
onmouseover="showtip('Skill : Buff<br>(click chuột vào biểu
tượng để sử dụng buff)<br>• Tác dụng : +1 điểm danh vọng
cho người này');" onmouseout="hidetip();"><img
src="http://www.dart-creations.com/images/stories/icontent/love.gif"></span></a>
<span style="color: rgb(255, 255, 255);">○</span>
<a
href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><span
onmouseover="showtip('Skill : Battle Hit (Passive)<br>(click
chuột vào biểu tượng để tấn công)<br>• Tác dụng : -1 điểm
danh vọng của người này ');" onmouseout="hidetip();"><img
src="http://www.militaryfactory.com/imgs/design/flags/ancient.gif"></span></a>
<!-- END switch_vote -->
<!-- END switch_vote_active -->