1 مرفق
معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
السلام عليكم ورحمة الله وبركاته
بسم الله الرحمن الرحيم
اخواني اهل الخبره الكرام
1-عندي البوست postbit يضهر معلومات العضو مكررة
الصورة توضح ابي احذف المعلومات المحددة بالاطار والابقاء
على المعلومات المبرمجة بالاستايل:
https://mwadah.com/images/imgcache/2009/02/67.jpg
2-ابي يكون الموضوع بالعرض والرد بالطول .. !
وهذا الكود للتعديل:
كود PHP:
$template_hook[postbit_start]
<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="wah-p/images/nav1.gif" border="0"></td>
<td align="center" width="100%" background="wah-p/images/nav3.gif"></td>
<td><img src="wah-p/images/nav2.gif" border="0"></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url(wah-p/images/nav8.gif) repeat-y right;"><img src="wah-p/images/nav8.gif" border="0"></td><td width="100%">
<!-- نهاية إطار علوي -->
<table class="tborder" id="post$post[postid]" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="thead" colspan="99" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
<if condition="$show['postcount']">مشاركة رقم : <a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]">$post[postcount]</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]" />
</if>
</div>
<div class="normal">
<!-- 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>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<!-- هاك عام ـ خلفية مخصصة لكاتب الموضوع -->
<if condition="$post['good_writer']">
<tr><td id="td_post_$post[postid]" style="color: #264003; border-left: 1px solid #264003; border-top: 1px solid #264003; border-right: 1px solid #264003; border-bottom: 1px solid #264003;" bgcolor="#EBF3E9" background="<if condition="$post['good_writer_pic']">$post[good_writer_pic]</if>">
<else />
<tr><td class="bakpostbit" id="td_post_$post[postid]" valign="top">
</if>
<!-- هاك عام ـ خلفية مخصصة لكاتب الموضوع -->
<!-- بداية الموضوع يمين ويسار -->
<table cellpadding="0" cellspacing="0" width="100%"><tr>
<!-- بداية الموضوع يمين -->
<td class="alt4" align="center" valign="top" rowspan="2" width="210">
<div style="padding-left:15px; padding-right:13px; padding-top:5px">
<table cellpadding="0" cellspacing="2" border="0" width="100%" align="center">
<tr><td align="center">
<font color="#3D0201">
<!-- user info -->
</font>
<div id="postmenu_$post[postid]">
<br />
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">
<font color="#3D0201">$post[musername]</font></a><font color="#3D0201">
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</font>
</if>
</div>
<if condition="$show['avatar']"><div style="padding:10px">
<a href="member.php?$session[sessionurl]u=$post[userid]"><font color="#3D0201"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></font></a></div></if>
<font color="#3D0201">
<if condition="$post['usertitle']">$post[usertitle]<br /></if>
</font>
<if condition="$post['rank']"><div class="smallfont" style="padding-top: 10px">
<font color="#3D0201">$post[rank]</font></div><font color="#3D0201"><br /></if>
$template_hook[postbit_userinfo_left]
</font>
</td></tr>
<!-- هاك عام ـ رقم العضوية -->
<tr><td class="alt3" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
<font color="#EFEFEF">رقم العضوية : $post[userid]
</font>
</td></tr>
<!-- هاك عام ـ رقم العضوية -->
<!-- تاريخ التسجيل -->
<if condition="$post['joindate']">
<tr><td class="alt3" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
<font color="#EFEFEF">الإنتساب : $post[joindate] </font>
</td></tr></if>
<!-- تاريخ التسجيل -->
<!-- الدولة -->
<if condition="$post['field2']">
<tr><td class="alt3" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
<font color="#EFEFEF">$vbphrase[location_perm] : $post[field2]
</font>
</td></tr></if>
<!-- الدولة -->
<!-- العمر -->
<if condition="$post['age']">
<tr><td class="alt3" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
<font color="#EFEFEF">$vbphrase[age] : $post[age]
</font>
</td></tr></if>
<!-- العمر -->
<!-- المشاركات -->
<tr><td class="alt3" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
<font color="#EFEFEF">$vbphrase[posts] : $post[posts]
</font>
</td></tr>
<!-- المشاركات -->
<!-- هاك عام ـ بمعدل -->
<tr><td class="alt3" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
<font color="#EFEFEF">بمعدل : $post[postsperday] يوميا
</font>
</td></tr>
<!-- هاك عام ـ بمعدل -->
<!-- الإنذارات -->
<if condition="$show['infraction']">
<tr><td class="alt3" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
<font color="#EFEFEF">$vbphrase[infractions] : $post[warnings]/$post[infractions] ($post[ipoints])
</font>
</td></tr></if>
<!-- الإنذارات -->
<!-- التقييم والمستوى -->
<if condition="$show['reppower']">
<tr><td class="alt3" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
<font color="#EFEFEF">النقاط : <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span>
</font>
</td></tr>
<tr><td class="alt3" align="right" style="padding: 1px">
<div class="smallfont" style="padding:2px">
<font color="#EFEFEF">
<span id="repdisplay_$post[postid]_$post[userid]">المستوى : $post[reputationdisplay]</span>
</font>
</td></tr>
</if>
<!-- التقييم والمستوى -->
<tr><td class="alt3" align="center" style="padding: 1px">
<div style="padding:2px"><font color="#EFEFEF">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</font></div>
</td></tr>
<tr><td>
<font color="#EFEFEF">$template_hook[postbit_userinfo_right_after_posts]
$template_hook[postbit_userinfo_right]
</font>
</td></tr>
<!-- / user info -->
</table></div><br />
$post[onlinestatus]<p>
<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->
<a href="album.php?u=$post[userid]" title="عرض البوم صور $post[username]" rel="nofollow"><img src="wah-p/misc/gallery.gif" alt="عرض البوم صور $post[username]" border="0"/></a>
<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->
<!-- هاك عام ـ وضع رابط لمجموعات العضو -->
<a href="group.php?u=$post[userid]" title="عرض مجموعات $post[username]" rel="nofollow"><img src="wah-p/misc/groups.gif" alt="عرض مجموعات $post[username]" border="0"/></a>
<!-- هاك عام ـ وضع رابط لمحموعات العضو -->
<br />
<if condition="$post[showuserawards]"></p>
<div align=center>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" class="tborder" width="90%" id="table999"><td class="thead" align="center"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('postbit2_$post[award]')">
<font color="#EBF3E9"> <img id="collapseimg_postbit2_$post[award]" src="$stylevar[imgdir_button]/sortasc{$collapseimg_postid}.gif" alt="" border="0" /></font><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]"><font color="#EBF3E9">$vbphrase[total_awards]</font></a><font color="#EBF3E9">: $post[num_awards]</a></font></td><tbody id="collapseobj_postbit2_$post[award]" style="{$collapseobj_award}"><tr><td class="alt1" align="center"><div class="alt2Active" style="padding:$stylevar[cellpadding]px; border:1px inset; overflow:auto"> <marquee onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrolldelay="2" scrollamount="1" height="120"><div align=center>$post[userawards]</div></marquee></td></tr></table></div></if>
<!--- MySMS By AlBa7ar Semauae.com -->
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" u-file="fpweb:///_private/form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" -->
<fieldset style="padding: 2; width:160px; height:116px">
<legend><b>رسالتي</b></legend>
<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrolldelay="2" scrollamount="1" style="text-align: center; font-family: Times New Roman; font-size:12pt; font-weight:bold; color:#800000" height="78" width="160">$post[field563]</marquee></fieldset></form>
<!--- MySMS By AlBa7ar Semauae.com -->
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></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>
<br /><br />$post[iplogged]
<br /><br />
<img src="wah-p/misc/post.gif" alt="" border="0" />
</td>
<!-- نهاية الموضوع يمين -->
<!-- بداية الموضوع يسار -->
<td valign="top" style="padding:10px">
<!-- message, attachments, sig -->
$template_hook[postbit_messagearea_start]
<if condition="$thread['firstpostid'] != $post['postid']">
<font color="#000000">كاتب الموضوع : </font>
<a target="_blank" href="member.php?$session[sessionurl]u=$thread[postuserid]" title="المزيد من المعلومات عن $thread[postusername]">
$thread[postusername]</a>
</if>
<if condition="THIS_SCRIPT != 'private'">
<font color="#000000">المنتدى : </font>
<a target="_blank" href="forumdisplay.php?f=$forum[forumid]" title="الإنتقال لمنتدى $forum[title]">
$forum[title]</a></if>
<!-- الموضوع والأيقونة -->
<!-- icon and title -->
<if condition="$show['messageicon'] OR $post['title']">
<div class="smallfont" style="text-align:right">
<if condition="$show['messageicon']">
<font face="arial" size="4">
<img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']">
<font face="Arial" size="4"><b>$post[title]</b></font></if></div></if>
<!-- / icon and title -->
<!-- الموضوع والأيقونة -->
<!-- IMAGES BY FARIS2007 -->
<if condition="$post['field561']">
<p align="center">
<img src=$post[field561]></p></if>
<!-- / IMAGES BY FARIS2007 -->
<!-- message -->
<div id="post_message_$post[postid]">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
<center><font size="5">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
<br /><b><font color="#$post[field633]" face="$post[field631]" size="$post[field632]">$post[message]</font></b><br /><br />
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
</div>
<!-- / message -->
<!-- IMAGES BY FARIS2007 -->
<if condition="$post['field562']">
<p align="center">
<img src=$post[field562]></p></if>
<!-- / IMAGES BY FARIS2007 -->
</td></tr><tr><td cellspacing="2" style="padding:10px" valign="bottom">
<!-- المرفقات -->
<if condition="$show['attachments']">
<!-- attachments -->
<br />
<if condition="$show['otherattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_files]</td></tr>
<tr><td class="alt5" align="right">
$post[otherattachments]
</td></tr></table><br />
</if>
<if condition="$show['moderatedattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attachments_pending_approval]</td></tr>
<tr><td class="alt5" align="right">
$post[moderatedattachments]
</td></tr></table><br />
</if>
<if condition="$show['thumbnailattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_thumbnails]</td></tr>
<tr><td class="alt5" align="right">
$post[thumbnailattachments]
</td></tr></table><br />
</if>
<if condition="$show['imageattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_images]</td></tr>
<tr><td class="alt5" align="right">
$post[imageattachments]
</td></tr></table><br />
</if>
<if condition="$show['imageattachmentlink']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_images]</td></tr>
<tr><td class="alt5" align="right">
$post[imageattachmentlinks]
</td></tr></table><br />
</if>
<!-- / attachments -->
</if>
<!-- المرفقات -->
$template_hook[postbit_signature_start]
<!-- التوقيع -->
<if condition="$post['signature']">
<!-- sig -->
<div align="center">
<table class="tborder" cellpadding="4" border="1" width="99%" bordercolorlight="#3D0201" bordercolordark="#3D0201" bordercolor="#C0C0C0">
<tr><td class="thead2" align="center" bordercolor="#C0C0C0">
<font color="#EFEFEF">توقيع $post[username]</font></td></tr>
<tr><td align="center" bordercolor="#C0C0C0">
<br />$post[signature]<br /><br />
</td></tr></table></div>
<br />
<!-- / sig -->
</if>
<!-- التوقيع -->
$template_hook[postbit_signature_end]
<!-- رسالة التعديل الأخير -->
<if condition="$show['postedited']">
<!-- edit note -->
<table class="tborder" cellpadding="8" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="alt5" align="center">
<font color="red">
<if condition="$post['editlink'] AND $show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</font></td></tr></table><br />
<!-- / edit note -->
</if>
<!-- رسالة التعديل الأخير -->
<!-- message, attachments, sig -->
<div style="padding: 0px;" align="left">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<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['largereplybutton']">
<a href="newreply.php?do=newreply&noquote=1&p=$post[postid]">
<img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" />
</a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></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>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>
</td>
<!-- نهاية الموضوع يسار -->
</tr></table>
<!-- نهاية الموضوع يمين ويسار -->
</td></tr></table>
<!-- بداية إطار سفلي -->
</td><td style="background: transparent url(wah-p/images/nav7.gif) repeat-y left;">
<img src="wah-p/images/nav7.gif" border="0"></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="wah-p/images/nav4.gif" border="0"></td>
<td width="100%" background="wah-p/images/nav6.gif"></td>
<td><img src="wah-p/images/nav5.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->
$template_hook[postbit_end]
<!-- 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&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&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&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_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&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
جزاكم الله كل خير مقدماً وجعل خير اعمالكم بموازين حسناتكم
رد: معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
تم حل الطلب -1 ولله الحمد
باقي الموضوع بالعرض والرد بالطول وين اهل الخبره
استايل اخونا المسافر
رد: معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
كود:
<if condition="$post[postcount]==1">
<!-- postbit ضع هنا كل محتوى قالب البوسبت -->
<else />
<!-- postbit_legacy ضع هنا كل محتوى قالب البوسبت لجاسى -->
</if>
أو
كود:
<if condition="$post[postcount]==1">
<!-- postbit ضع هنا كل محتوى قالب البوسبت -->
</if>
<if condition="$post[postcount]!=1">
<!-- postbit_legacy ضع هنا كل محتوى قالب البوسبت لجاسي -->
</if>
رد: معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
عمو هل تقصد بهذا المكان كامل الكود:
كود:
<if condition="$post[postcount]==1">
<!-- postbit ضع هنا كل محتوى قالب البوسبت -->
هنا الصق كامل الكود
<else />
<!-- postbit_legacy ضع هنا كل محتوى قالب البوسبت لجاسى -->
</if>
رد: معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
احذف هذا الكود كامل
<!-- postbit ضع هنا كل محتوى قالب البوسبت -->
وألصق قالب postbit مكانة
وأحذف كود كامل
<!-- postbit_legacy ضع هنا كل محتوى قالب البوسبت لجاسى -->
وألصق مكانة postbit_legacy
رد: معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
لبوست بيت ليقاسي فوق موجود بالموضوع
وهذا كود البوست بيت
postbit
كود:
$template_hook[postbit_start]
<!-- بداية إطار علوي -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="wah-p/images/nav1.gif" border="0"></td>
<td align="center" width="100%" background="wah-p/images/nav3.gif"></td>
<td><img src="wah-p/images/nav2.gif" border="0"></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td style="background: transparent url(wah-p/images/nav8.gif) repeat-y right;"><img src="wah-p/images/nav8.gif" border="0"></td><td width="100%">
<!-- نهاية إطار علوي -->
<table class="tborder" id="post$post[postid]" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="thead" colspan="99" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
<if condition="$show['postcount']">مشاركة رقم : <a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]">$post[postcount]</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]" />
</if>
</div>
<div class="normal">
<!-- 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>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<!-- هاك عام ـ خلفية مخصصة لكاتب الموضوع -->
<if condition="$post['good_writer']">
<tr><td id="td_post_$post[postid]" style="color: #264003; border-left: 1px solid #264003; border-top: 1px solid #264003; border-right: 1px solid #264003; border-bottom: 1px solid #264003;" bgcolor="#EBF3E9" background="<if condition="$post['good_writer_pic']">$post[good_writer_pic]</if>">
<else />
<tr><td class="bakpostbit" id="td_post_$post[postid]" valign="top">
</if>
<!-- هاك عام ـ خلفية مخصصة لكاتب الموضوع -->
<!-- بداية الموضوع يمين ويسار -->
<table cellpadding="0" cellspacing="0" width="100%"><tr>
<!-- بداية الموضوع يمين -->
<td class="alt4" align="center" valign="top" rowspan="2" width="210">
<div style="padding-left:15px; padding-right:13px; padding-top:5px">
<table cellpadding="0" cellspacing="2" border="0" width="100%" align="center">
<tr><td align="center">
<font color="#3D0201">
<!-- user info -->
</font>
<div id="postmenu_$post[postid]">
<br />
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">
<font color="#3D0201">$post[musername]</font></a><font color="#3D0201">
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</font>
</if>
</div>
<if condition="$show['avatar']"><div style="padding:10px">
<a href="member.php?$session[sessionurl]u=$post[userid]"><font color="#3D0201"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></font></a></div></if>
<font color="#3D0201">
<if condition="$post['usertitle']">$post[usertitle]<br /></if>
</font>
<if condition="$post['rank']"><div class="smallfont" style="padding-top: 10px">
<font color="#3D0201">$post[rank]</font></div><font color="#3D0201"><br /></if>
$template_hook[postbit_userinfo_left]
</font>
</td></tr>
<tr><td class="alt3" align="center" style="padding: 1px">
<div style="padding:2px"><font color="#EFEFEF">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</font></div>
</td></tr>
<tr><td>
<font color="#EFEFEF">$template_hook[postbit_userinfo_right_after_posts]
$template_hook[postbit_userinfo_right]
</font>
</td></tr>
<!-- / user info -->
</table></div><br />
$post[onlinestatus]<p>
<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->
<a href="album.php?u=$post[userid]" title="عرض البوم صور $post[username]" rel="nofollow"><img src="wah-p/misc/gallery.gif" alt="عرض البوم صور $post[username]" border="0"/></a>
<!-- هاك عام ـ وضع رابط لألبوم صور العضو -->
<!-- هاك عام ـ وضع رابط لمجموعات العضو -->
<a href="group.php?u=$post[userid]" title="عرض مجموعات $post[username]" rel="nofollow"><img src="wah-p/misc/groups.gif" alt="عرض مجموعات $post[username]" border="0"/></a>
<!-- هاك عام ـ وضع رابط لمحموعات العضو -->
<br />
<if condition="$post[showuserawards]"></p>
<div align=center>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" class="tborder" width="90%" id="table999"><td class="thead" align="center"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('postbit2_$post[award]')">
<font color="#EBF3E9"> <img id="collapseimg_postbit2_$post[award]" src="$stylevar[imgdir_button]/sortasc{$collapseimg_postid}.gif" alt="" border="0" /></font><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]"><font color="#EBF3E9">$vbphrase[total_awards]</font></a><font color="#EBF3E9">: $post[num_awards]</a></font></td><tbody id="collapseobj_postbit2_$post[award]" style="{$collapseobj_award}"><tr><td class="alt1" align="center"><div class="alt2Active" style="padding:$stylevar[cellpadding]px; border:1px inset; overflow:auto"> <marquee onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrolldelay="2" scrollamount="1" height="120"><div align=center>$post[userawards]</div></marquee></td></tr></table></div></if>
<!--- MySMS By AlBa7ar Semauae.com -->
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" u-file="fpweb:///_private/form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" -->
<fieldset style="padding: 2; width:160px; height:116px">
<legend><b>رسالتي</b></legend>
<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrolldelay="2" scrollamount="1" style="text-align: center; font-family: Times New Roman; font-size:12pt; font-weight:bold; color:#800000" height="78" width="160">$post[field563]</marquee></fieldset></form>
<!--- MySMS By AlBa7ar Semauae.com -->
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></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>
<br /><br />$post[iplogged]
<br /><br />
<img src="wah-p/misc/post.gif" alt="" border="0" />
</td>
<!-- نهاية الموضوع يمين -->
<!-- بداية الموضوع يسار -->
<td valign="top" style="padding:10px">
<!-- message, attachments, sig -->
$template_hook[postbit_messagearea_start]
<if condition="$thread['firstpostid'] != $post['postid']">
<font color="#000000">كاتب الموضوع : </font>
<a target="_blank" href="member.php?$session[sessionurl]u=$thread[postuserid]" title="المزيد من المعلومات عن $thread[postusername]">
$thread[postusername]</a>
</if>
<if condition="THIS_SCRIPT != 'private'">
<font color="#000000">المنتدى : </font>
<a target="_blank" href="forumdisplay.php?f=$forum[forumid]" title="الإنتقال لمنتدى $forum[title]">
$forum[title]</a></if>
<!-- الموضوع والأيقونة -->
<!-- icon and title -->
<if condition="$show['messageicon'] OR $post['title']">
<div class="smallfont" style="text-align:right">
<if condition="$show['messageicon']">
<font face="arial" size="4">
<img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']">
<font face="Arial" size="4"><b>$post[title]</b></font></if></div></if>
<!-- / icon and title -->
<!-- الموضوع والأيقونة -->
<!-- IMAGES BY FARIS2007 -->
<if condition="$post['field561']">
<p align="center">
<img src=$post[field561]></p></if>
<!-- / IMAGES BY FARIS2007 -->
<!-- message -->
<div id="post_message_$post[postid]">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
<center><font size="5">
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
<br /><b><font color="#$post[field633]" face="$post[field631]" size="$post[field632]">$post[message]</font></b><br /><br />
<!-- هاك عام ـ تكبير خط المواضيع والتوسيط -->
</div>
<!-- / message -->
<!-- IMAGES BY FARIS2007 -->
<if condition="$post['field562']">
<p align="center">
<img src=$post[field562]></p></if>
<!-- / IMAGES BY FARIS2007 -->
</td></tr><tr><td cellspacing="2" style="padding:10px" valign="bottom">
<!-- المرفقات -->
<if condition="$show['attachments']">
<!-- attachments -->
<br />
<if condition="$show['otherattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_files]</td></tr>
<tr><td class="alt5" align="right">
$post[otherattachments]
</td></tr></table><br />
</if>
<if condition="$show['moderatedattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attachments_pending_approval]</td></tr>
<tr><td class="alt5" align="right">
$post[moderatedattachments]
</td></tr></table><br />
</if>
<if condition="$show['thumbnailattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_thumbnails]</td></tr>
<tr><td class="alt5" align="right">
$post[thumbnailattachments]
</td></tr></table><br />
</if>
<if condition="$show['imageattachment']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_images]</td></tr>
<tr><td class="alt5" align="right">
$post[imageattachments]
</td></tr></table><br />
</if>
<if condition="$show['imageattachmentlink']">
<table class="tborder" cellpadding="4" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="thead1" align="right">$vbphrase[attached_images]</td></tr>
<tr><td class="alt5" align="right">
$post[imageattachmentlinks]
</td></tr></table><br />
</if>
<!-- / attachments -->
</if>
<!-- المرفقات -->
$template_hook[postbit_signature_start]
<!-- التوقيع -->
<if condition="$post['signature']">
<!-- sig -->
<div align="center">
<table class="tborder" cellpadding="4" border="1" width="99%" bordercolorlight="#3D0201" bordercolordark="#3D0201" bordercolor="#C0C0C0">
<tr><td class="thead2" align="center" bordercolor="#C0C0C0">
<font color="#EFEFEF">توقيع $post[username]</font></td></tr>
<tr><td align="center" bordercolor="#C0C0C0">
<br />$post[signature]<br /><br />
</td></tr></table></div>
<br />
<!-- / sig -->
</if>
<!-- التوقيع -->
$template_hook[postbit_signature_end]
<!-- رسالة التعديل الأخير -->
<if condition="$show['postedited']">
<!-- edit note -->
<table class="tborder" cellpadding="8" cellspacing="2" border="0" align="center" width="99%">
<tr><td class="alt5" align="center">
<font color="red">
<if condition="$post['editlink'] AND $show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</font></td></tr></table><br />
<!-- / edit note -->
</if>
<!-- رسالة التعديل الأخير -->
<!-- message, attachments, sig -->
<div style="padding: 0px;" align="left">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<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['largereplybutton']">
<a href="newreply.php?do=newreply&noquote=1&p=$post[postid]">
<img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" />
</a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></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>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>
</td>
<!-- نهاية الموضوع يسار -->
</tr></table>
<!-- نهاية الموضوع يمين ويسار -->
</td></tr></table>
<!-- بداية إطار سفلي -->
</td><td style="background: transparent url(wah-p/images/nav7.gif) repeat-y left;">
<img src="wah-p/images/nav7.gif" border="0"></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td><img src="wah-p/images/nav4.gif" border="0"></td>
<td width="100%" background="wah-p/images/nav6.gif"></td>
<td><img src="wah-p/images/nav5.gif"></td></tr></table>
<!-- نهاية إطار سفلي -->
$template_hook[postbit_end]
<!-- 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&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&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&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_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&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
والله عدلت مانفع تشقلبت الدنيا فوق تحت
جزاكم الله خير
يارب القى حل لمشكلتي تعبت وانا اعدل بالاكواد بشتى الطرق مانفع
رد: معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
يااهل الخبرة موضوع بالعرض ورد بالطول
يعطي المنتدى هيبة ::: والعضو بعد ياخذ راحته بالتنسيق
رد: معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
السلام عليكم
بالنسبة لجعل الموضوع بالعرض والمشاركات بالطول
استخدم اي من الكودين
الذي وضعهما الاخي ضامي الورد
مثلا الكود
كود:
<if condition="$post[postcount]==1">
<!-- postbit ضع هنا كل محتوى قالب البوسبت -->
<else />
<!-- postbit_legacy ضع هنا كل محتوى قالب البوسبت لجاسى -->
</if>
استبدل
كود:
<!-- postbit ضع هنا كل محتوى قالب البوسبت -->
بقالب البوسبت
واستبدل
كود:
<!-- postbit_legacy ضع هنا كل محتوى قالب البوسبت لجاسى -->
بقالب البوسب لجاسي
ثم ضع الكود كله في قالب بوسبت لجاسي
واذهب الي خيارات المنتدي
خيارات اللغة والستايل واختار
نعم
لطريقة عرض الموضوع او المشاركة
اما تعديل القالب انا لا اعرف التعديل عليه
رد: معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
والله مااتغير شيء
مشكله وربي الى الان مالقينا حل
رد: معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
اخوي للمعلومة القالبين اللي انت مركب هنل هم لمحتوى قالب postbit_legacy اي لعرض البيانات الخاصة بكاتب الموضوع اوا لمشاركة بشكل عامودي مثل المودة هنا وليس محتوى postbit مثل ما انت تقول عشان كذا تشوفه المشاركة وردودها نفس الشكل
رد: معلومات العضو مكررة وابي الموضوع بالعرض والرد بالطول (مرفق الكود)
طيب تقدر تعدله لي الله لايهينك انت ومن تكرم بالتعديل
لاني والله حاولت بشتى الطرق ماقدرت
هذا الاستايل المستخدم اكواده كثيرة وتأطيراته بعد
http://www.mwadah.com/t128622/
نسخة 3.8.1