PDA

View Full Version : Profile CỦA THÀNH VIÊN BỊ LỖI


revolution117
03-03-2008, 09:43 PM
Tất cả profile của các thành viên khác thì không sao nhưng chỉ có 1 mem trên diễn đàn của em bị lỗi:không hiện số bài đã gửi, level..mặc dù hồ sơ điền đầy đủ. Bác nào chỉ giúp em với
http://img87.imageshack.us/img87/9555/anh1mq6.jpg

B-Cloud
03-03-2008, 11:18 PM
Bạn thử post temp postbit_legacy của bạn lên cho mình xem thử xem.

Moonlight Knight
03-03-2008, 11:25 PM
Chỉ duy nhất 1 mem bị,lạ nhỉ :dry:

B-Cloud
03-03-2008, 11:34 PM
À há ko để ý kĩ bạn viết ... Hồi lần diễn đàn mình cũng bị như vậy ... Ông đó reg nick ko bít kỉu gì =.=

Lazycatnct
03-03-2008, 11:47 PM
Cho nick đó gửi vài bài thì sẽ ko còn lỗi nữa.
Cũng như forum mình cho khách post bài trong box "Phòng Khách" cũng thế nì
http://img230.imageshack.us/img230/7950/86328727ip9.jpg

Đây là lỗi mà ko ai "bắt" lại nên lỗi là phải :D

Ánh Dương
03-03-2008, 11:51 PM
Lazycatnct share code của postbit_legacy cái khung đẹp quá :crazy::crazy:

shmdlt
04-03-2008, 12:15 AM
Để em share júp .. cái này có lâu rồi nhưng làm biếng xải .. mắc công làm nặng thêm 4rum T__T

Trong postbit_le tìm :
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>

Thay thế:
<td class="alt2">

<table id="Table_01" width="100" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="http://hoiquantinhoc.com/forum/images/khung/ava_01.gif" width="32" height="39" alt=""></td>
<td background="http://hoiquantinhoc.com/forum/images/khung/ava_02.gif">
</td>
<td>
<img src="http://hoiquantinhoc.com/forum/images/khung/ava_03.gif" width="32" height="39" alt=""></td>
</tr>
<tr>
<td background="http://hoiquantinhoc.com/forum/images/khung/ava_04.gif">
</td>
<td background="http://hoiquantinhoc.com/forum/images/khung/ava_05.gif">


<if condition="$show['avatar']"><div class="smallfont"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
</div>
</td>
<td background="http://hoiquantinhoc.com/forum/images/khung/ava_06.gif">
</td>
</tr>
<tr>
<td>
<img src="http://hoiquantinhoc.com/forum/images/khung/ava_07.gif" width="32" height="38" alt=""></td>
<td background="http://hoiquantinhoc.com/forum/images/khung/ava_08.gif">
</td>
<td>
<img src="http://hoiquantinhoc.com/forum/images/khung/ava_09.gif" width="32" height="38" alt=""></td>
</tr>
</table>

</td>


Nhớ thay thế lại link đến file ảnh nhé ở đây tôi ví dụ là file ảnh đó nằm ở http://hoiquantinhoc.com/forum/images/khung

doll_justice
04-03-2008, 12:55 AM
Up thiếu file ava_05.gif rùi bạn ơi, up lại file này giùm mình nha.
Làm rồi mà sao chả thấy gì hết vậy?

Ánh Dương
04-03-2008, 01:20 AM
Up thiếu file ava_05.gif rùi bạn ơi, up lại file này giùm mình nha.
Làm rồi mà sao chả thấy gì hết vậy?

Bạn đã sử link của file ảnh chưa , với lại để kiểu thể hiện bài viết là chiều dọc chưa

doll_justice
04-03-2008, 01:27 AM
Bạn đã sử link của file ảnh chưa , với lại để kiểu thể hiện bài viết là chiều dọc chưa
Rùi anh à, nhưng nó chỉ hiện cái đóng khung avatar thôi à, hem giống như trong hình, anh có thể cho em xin cái code hoàn chỉnh được hem.
cho em xin cái nick yahoo của anh luôn nha^^

Ánh Dương
04-03-2008, 01:41 AM
Nick của mình là trunghungisc có gì bạn cứ PM

revolution117
04-03-2008, 06:13 AM
Bạn thử post temp postbit_legacy của bạn lên cho mình xem thử xem.


temp postbit_legacy của mình đây:






<!-- post #$post[postid] -->
<if condition="$show['spacer']">
$spacer_open
<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>
<br/>
<div class="tcat_bg">
<div class="tcat_left">
<div class="tcat_right">
<div class="tcat2" style="text-align: center;">
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<!-- / icon and title -->
</if>
</div></div></div></div>
<div class="tborder_left">
<div class="tborder_right">
<table id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175">
<div class="pbg">
<div class="ptop"></div>
<div class="smallfont" style="padding-left:10px; padding-right:10px; padding-top:5px;">

<div id="postmenu_$post[postid]" align="center" class="info">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont" align="center">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont" align="center">$post[rank]</div></if>
<br />
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td align="center" nowrap="nowrap" width="50%"></td>
<td align="center" nowrap="nowrap">
<if condition="$show['avatar']">
<div class="avatar" align="center"><!------------ Level System ------------>
<div style="display: block; $bgurl text-align: center">
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" <if condition="$bgurl!=''">style="PADDING-TOP: 40px"</if> /></a></div>
<!------------ / Level System ------------>

</if>
</td>
<td align="center" nowrap="nowrap" width="50%"></td>
</tr>
</table>
<div class="smallfont">
&nbsp;<br />
$cung
<if condition="$post['joindate']"><div class="info">$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div class="info">$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div class="info">$vbphrase[age]: $post[age]</div></if>
<div class="info">
$vbphrase[posts]: $post[posts]

<!-- Start Post Thank You Hack -->
<if condition="$post[userid]">
<br />
$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
<br />
<if condition="$post[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts_on] == 1">
<phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
<!-- End Post Thank You Hack -->
</div>

<br/>Level: <span style='font-weight:bold; color:crimson'>$showlevel [$galaga]</span><br/>
<span style='font-size:7pt; color:gray'>Life: $hp / $maxhp </span><br/>
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/orange.gif' width="$hpf%" height='9' alt='' /><img src='images/rpg/hp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<span style='font-size:7pt; color:gray'>Magic: $mp / $maxmp</span><br />
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/green.gif' width="$mpf%" height='9' alt='' /><img src='images/rpg/mp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<span style='font-size:7pt; color:gray'>Experience: $ep% </span><br />
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/blue.gif' width="$ep%" height='9' alt='' /><img src='images/rpg/exp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<br/>

<!-- Level System -->
$show_lv_info
<!-- / Level System -->
<if condition="$show['reputation']"><div class="info"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
<div align="center">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</div>
<div class="pbottom"></div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</if>
<div style="background: url(styles/Wchild/post_top.gif) no-repeat top right; font: 12px tahoma, verdana, arial; border-top: 1px #129204 solid;">
<div style="padding-top: 10px; padding-right: 10px;">
<!-- message -->
<div id="post_message_$post[postid]">$post[message]
<!-- Level System -->
$message_info
<!-- / Level System -->
</div>
<!-- / message -->



<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

<if condition="$post['signature']">
<!-- sig -->
<div align="center">
<br /><img src="styles/Wchild/sig.gif" border="0" alt="Signature"><br />
$post[signature]
</div>
<!-- / sig -->
</if>

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>

</div>
</div>
</td>
</tr>
<tr>
<td class="alt2">
$post[onlinestatus]
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]">
<else />
<td class="alt1" align="$stylevar[right]">
</if>
<!-- controls -->
<!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack -->

<if condition="$post['editlink']">
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<!-- / controls -->
</td>
</tr>
</table>
</div></div>
<div class="tfoot_bg">
<div class="tfoot_left">
<div class="tfoot_right">
</div></div></div>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->

<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->

<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<!-- / post #$post[postid] -->