View Full Version : help đóng khung profile lever và cảm ơn
loctinh2030
03-08-2011, 12:08 PM
giúp mình đóng khung lever và cảm ơn vbb4.0.7
untitled.bmp (http://itvnn.net/attachment.php?attachmentid=4064&d=1312282316)
Dunglx
03-08-2011, 12:21 PM
Với thank thì bạn vào Thanks Template >> chọn Post_thanks_postbit_info >> gửi đoạn code đó lên đây ( Tốt nhất bạn đọc quyển ebook của anh Thanh có hết đấy ) Link chứ kí của tớ nhé
Còn level cũng tương tự bạn à
loctinh2030
05-08-2011, 12:48 AM
anh chỉ em vào Thanks Template như thế nào, tìm ko thấy?
t8mclub
05-08-2011, 01:03 AM
anh chỉ em vào Thanks Template như thế nào, tìm ko thấy?
Trong temp postbit đó bạn
loctinh2030
05-08-2011, 04:24 AM
code trong thank
<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>
không tìm thấy lever
Dunglx
05-08-2011, 10:15 AM
code trong thank
<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>
không tìm thấy lever
Cậu chèn lại code này vào post_thanks_postbit_info chú ý mấy chỗ tớ để màu nhé
<vb:if condition="$post['userid']"><div class="post_field">
<dt><b><font color=6dab4e>{vb:rawphrase post_thanks_thanks}</font></b></dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline;">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline;">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline;">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd> </vb:if>
</div>
</vb:if>
Level của cậu đây postbit_userlevel trong Postbit template nhé
<div class="post_field">
<br />
<div align="left" class="userlevelContainer">
<div class="smallfont"><b><font color=6dab4e>{vb:rawphrase userlevel_level}:</font></b> {vb:raw showlevel} <vb:if condition="$show['hl']">[<a href="faq.php?{vb:raw session.sessionurl}faq=vb3_user_profile#faq_vb3_us er_level">?</a>]</vb:if><br />
<b><font color=6dab4e>{vb:rawphrase userlevel_experience}:</font></b> {vb:raw exp}<br />
<b><font color=6dab4e>{vb:rawphrase userlevel_nextlevel}:</font></b> {vb:raw nextexp}</div>
<div class="alt2" style="text-align:left; width:102px; background-color: #fff; border:1px; height:11px; border-style:solid;" title="{vb:rawphrase userlevel_needexp, {vb:raw nextexp}}">
<div style="width:{vb:raw ewidth}; height:9px; margin:1px; background-image: url({vb:stylevar imgdir_misc}/userlevel.gif); background-repeat:repeat-x;"></div>
</div>
</div><br />
</div>
loctinh2030
06-08-2011, 06:48 PM
y nguyên ah bạn ơi, không thay đổi gì hết, chỉ có đổi màu chữ thôi.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.