PDA

View Full Version : lỗi đóng khung thành viên



lebaoduy9x
16-11-2010, 05:20 PM
các bạn xem hộ mình phần đong khung thông tin với
Một số thành phần không đóng khung.
làm sao để nó đóng khung dc xin chỉ mình với. :MatCuoi (56):

http://ca9.upanh.com/16.260.20587510.tMP0/untitled.jpg

Tiểu Bá Vương 1404
16-11-2010, 06:10 PM
Bạn làm theo các bước sau: Đi đến Postbit Temp... -> postbit_legacy -Đóng khung tên thật: bạn tìm đến
<vb:if condition="$post['fieldx']"><dt>Tên Thật</dt><dd> <u>{vb:raw post.fieldx}</u></dd></vb:if> và đóng vào nó
Phía trước: <div class="eti_postbit"> Phía sau: </div> -Đóng khung sở thích: tìm đến
<vb:if condition="$post['field ... </dd></vb:if> cũng đóng vào nó phía trước và sau tương tự. -Đóng khung đến từ: tìm đến
<vb:if condition="$post['field2']"><dt><b>{vb:rawphrase location_perm}</b></dt> <dd><u>{vb:raw post.fieldx}</u></dd></div></vb:if> và làm tương tự. ==>Những đối tượng trên nằm kế nhau nên bạn chỉ việc rà xuống dưới. -Đóng khung thank: đi đến Postbit Temp... -> Post Thank You Hack Temp... -> post_thank_postbit_info; thay thế toàn bộ code có trong đó bằng đoạn code này:
<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<div class="eti_postbit"><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></div>
</vb:if> Hoặc bạn hãy tham khảo tại: http://itvnn.net/showthread.php?12851-H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-%C4%91%C3%B3ng-khung-th%C3%B4ng-tin-chi-ti%E1%BA%BFt-cho-VBB-4.x