Ðăng Nhập

View Full Version : [GIÚP LỖI Hack Mod] Lỗi đóng khung!



Tiểu Bá Vương 1404
03-11-2010, 09:52 PM
Giúp mình lỗi đóng khung này với, nó nằm chồng cái uCash, Post Thank You Hack lên cái User Level. Hình chi tiết:
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/11/03/09/57131288795895.PNG
Xin giúp càng nhanh càng tốt.
Thank trước.

Tiểu Bá Vương 1404
04-11-2010, 11:21 PM
Ai xem giùm mình với, đang rối nà. Bị lỗi gì mà search mãi trong postbit k ra.

hanhkhat
05-11-2010, 04:39 AM
gỡ mod ra. cài cái khác vô

Tiểu Bá Vương 1404
05-11-2010, 08:28 AM
Trời, nói thế thì em đã làm lâu rồi, đằng này, đã cài lại forum rùi còn hack lại mod đến 2, 3 lần mà vẫn bị vậy.

hanhkhat
05-11-2010, 12:23 PM
ý anh là kiếm cái mod ở nguồn khác thử xem. biết đâu do cái mod đó

Tiểu Bá Vương 1404
05-11-2010, 02:46 PM
Thế huynh có cái code mod nào khác không cho em cái, em tìm mãi cũng version đó

HTT.itvn
05-11-2010, 08:29 PM
Đầu tiên thay thế phần đóng khung thank thành :


<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 float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{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>

Thay đóng khung level như thế này :


<div class="eti_postbit"><br />
<div align="left" class="userlevelContainer">
<div class="smallfont">{vb:rawphrase userlevel_level}:&nbsp;{vb:raw showlevel}&nbsp;<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 />
{vb:rawphrase userlevel_experience}:&nbsp;{vb:raw exp}<br />
{vb:rawphrase userlevel_nextlevel}:&nbsp;{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>

Bạn có thể thay "eti_postbit" thành kiểu viền đóng khung khác tùy forum của ban .

hoangduykt7990
05-11-2010, 08:50 PM
Phần đóng khung mình thay như thế này mới dc

<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 float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd float: {vb:stylevar left};">{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></div>

Tiểu Bá Vương 1404
05-11-2010, 08:53 PM
Ok rùi bạn. Cái code anh HTT.itvn cho mình bỏ code <br /> phía trên đầu và phía dưới là ok, dùng ngon.