عرض مشاركة واحدة
قديم 12-12-2015, 12:22 AM
المشاركة 8
Pro Ebram
.:: عضو فعال ::.
  • Pro Ebram غير متواجد حالياً
Exclamation رد: مشكلة في قالب البوست ليجاسي بالتقيم واريد طريقة لاظهار ايقونات الفيس والتويتر
غريب جدا لا توجد معي اي مشاكل بالتقيم /،

أولا جرب الذهاب للوحة الإدارة >> البحث عن الاعضاء >> ادخل لملفك الشخصي >> في خانة مستوى التقيم ضع 2000 .
وتأكد من انه يوجد عدد بجانب خانة ( قوة التقيم الحالية ) ، لأنه إذا كانت قيمة الحقل 0 بالتأكيد ستظهر لك 0 في المشاركات .

ثانيا للتأكد من صحت قالب البوست بت ليجاسي ، يرجى من أحدكم وضع القالب في رد حتى يتم المعاينة .

أسف للتأخير
اة صح فعلا تظهر قوة التقييم 0 ومش عايزة تزيد مش عارف لية

وتفضل القالب
كود:
$template_hook[postbit_start]
    <table id="post$post[postid]0" class="Fpost" cellpadding="$stylevar[cellpadding]" cellspacing="10" border="0" width="100%">


<table id="post$post[postid]" class="tborderbar" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<div>
     <div class="nav_post" $post[scrolltothis]>
        <div class="normal" style="float:$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> &nbsp;</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>
            </if><if condition="!$show['announcement']"><if condition="!$show['detailedtime']"></if>
            <else />
                <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
            </if>
            $post[firstnewinsert]
            <!-- / status icon and date -->
 </div></div>   
<tr valign="top">
  <td class="HeadPost" width="175" style="border-top: 0px; border-bottom: 0px; border-style: none; border-width: 0px; border-color: inherit; background-color: #FFFFFF;" align="center">
<div class="userinformation">
<div class="Triangleuser"></div>
<div id="postmenu_$post[postid]0">
  <if condition="$show['profile']">
                
                <div class="userinfov4">
<center>
                <center>
                <table dir="rtl">
                    <tbody><tr>
                    <td>
                        </td>
                        <td align="center">
                                <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>
                </td>     
                    </tr>
</tbody></table>
</center>

                <!-- Username -->
            <div class="smallfont">
    <if condition="$post['usertitle']">
<div class="smallfont">$post[usertitle]</div>
</if>
 <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
 <div class="postbit-mini-boxavatar">
<if condition="$show['avatar']">
 <div class="smallfont">
                    <a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]" width="170" height="170">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div>
</center>
<div class="smallfont">
 <else />
                <div class="avatard">
                    <a href="member.php?$session[sessionurl]u=$post[userid]" title="الصورة الرمزية الافتراضية"><img src="helpernt/img/avatar.png" /></a>
                </div>
</if></div>
<center>
<br>
<div class="smallfont">
<table width="100%">
    <tbody><tr>
        <td align="center" width="65px"><div style="color:#BE0B93" class="badge icov4"></div><br>
        <small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">المشاركات<br>$post[posts]</small></td>
        <td align="center" width="65px"><div style="color:#509000" class="badge icov4"></div><br>
        <small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;"><b>+</b>التقييم<br>$post[reppower]</small>
        </td>
    </tr>
</tbody></table>

<table width="100%">
    <tbody><tr>
<td align="center" width="65px"><div style="color:#FFB800" class="badge icov4"></div>
<br><small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">تاريخ التسجيل<br>$post[joindate]</small></td>
<td align="center" width="65px">
<div style="color:#BE0B93" class="badge icov4"></div>
<br><small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">الاقامة<br>$post[field2]</small></td>
</tr>
</tbody></table>
               
<table width="100%">
    <tbody><tr>       
        <td align="center" width="65px"> 
         <div style="color:#FFB800" class="badge icov4"></div>
        <br><small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">نظام التشغيل<br>$post[field13]</small></td>
        <td align="center" width="65px"><div style="color:#029AFF" class="badge icov4"></div>
        <br><small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">رقم العضوية<br>$post[userid]</small></td>
    </tr>
</tbody></table>

<table width="100%">
    <tbody><tr>
             <if condition="$post['field11']">     
        <td align="center" width="65px"><a href="http://www.facebook.com/$post[field11]" target=_blank">
        <div style="color:#2A6CA0" class="badge fa fa-facebook fa-2x hint--top"></div><br>
        <small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">$post[field11]</small></a></td></if> 
 <if condition="$post['field12']">        
        <td align="center" width="65px"><a href="http://www.twitter.com/$post[field12]" target=_blank'>
        <div style="color:#00C2FF" class="badge fa fa-twitter fa-2x hint--top"></div>
<br><small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">$post[field12]</small></a></td></if>
    </tr>
</tbody></table>
<br>
                <span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span>
                $template_hook[postbit_userinfo_right]
                <div style="margin-top:5px">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
                </div>
<!-- / New --> 


<if condition="$show['reputationlink']">
<div class="postmenu2">
                <span id="reputationmenu_$post[postid]">
                         <a class="simptip-position-bottom simptip-smooth" data-tooltip="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]">
<span style="color:#04BFBF; font-size: 24px" class="icov4">&#xe611</span></a></div>
			<if condition="$show['popups']"><script type="info/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
            </if>	
$post[onlinestatus]		
<if condition="$show['reportlink']">
		    <a class="simptip-position-top simptip-smooth" data-tooltip="$vbphrase[report_bad_post]" href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">
<span style="color:#CC0000; font-size: 24px; margin-left: 5px;" class="icov4">&#xe67b</span></a>

</if>
&nbsp;
<if condition="$show['infractionlink']">
		    <a class="simptip-position-top simptip-smooth" data-tooltip="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow">
<span style="color:#CC0000; font-size: 24px; margin-left: 10px;" class="icov4">&#xe650</span></a></if>

   <a class="simptip-position-left simptip-smooth" data-tooltip="أضافة كصديق" href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]" rel="nofollow">
<span style="color:#0702BC; font-size: 24px; margin-left: 15px;" class="icov4">&#xe6a9</span></a>


    </td>

    <if condition="$show['moderated']">
    <td class="alt2" id="td_post_$post[postid]"  style="border-style: none; border-width: 0px; background-color: #FFFFFF">

    <else />
    <td class="contenttopic" id="td_post_$post[postid]"  style="border-style: none; border-width: 0px; background-color: #FFFFFF">

    </if>
        $template_hook[postbit_messagearea_start]
        <if condition="$show['messageicon'] OR $post['title']">
            <!-- icon and title -->
             
            <div class="mesfont" style="padding-bottom: 15px">
            <div class="nav2_post">
                <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 id="mes">
   <div class="img-mes"></div>        
<!-- message -->
<h1 align="center"><u>السلام عليكم ورحمة الله وبركاته
</u></h1>
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
            $post[message]
</div>
<!-- / message -->
 </div>  
 <br>
<br>
        <if condition="$show['attachments']">
        <!-- attachments -->
            <div style="padding:$stylevar[cellpadding]px400">
            <if condition="$show['thumbnailattachment']">
                <fieldset class="fieldseattached_images">
                    <legend>$vbphrase[attached_thumbnails]</legend>
                    <div style="padding:3px">

                    $post[thumbnailattachments]
                    </div>
                </fieldset>
            </if>
            <if condition="$show['imageattachment']">
                <fieldset class="fieldseattached_images">
                    <legend>$vbphrase[attached_images]</legend>
                    <div style="padding:3px">
                    $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="fieldsetatt">
                    <legend>$vbphrase[attached_files]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[otherattachments]
                    </table>
                </fieldset>
            </if> 
            <if condition="$show['moderatedattachment']">
                <fieldset class="fieldsetatt">
                    <legend>$vbphrase[attachments_pending_approval]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[moderatedattachments]
                    </table>
                </fieldset>        
            </if>
            
            </div>
        <!-- / attachments -->
        </if>
        <if condition="$show['postedited']">
                <!-- edit note -->
            <div class="last_edited">
                <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>   
        $template_hook[postbit_signature_start]
        
		<if condition="$post['signature']">
		
		<br>
		<br>
		<!-- sig -->
<table class="sigdev" cellpadding="6" cellspacing="0" border="0" width="70%" align="center">
<tbody><tr>
    <td class="thead2" align="center">توقيع  <font color="#000000"><b>$post[username]</b></font> </td><center></center></td>
</tr>
<tr>
    <td class="alt1">
        $post[signature]
    </td>
</tr>
</table>  
		<!-- / sig -->

			<p>&nbsp;</p>
			<p>&nbsp;</p>
	</if>
			<br>
		<br>
      <!-- controls -->
		<if condition="$post['editlink']"></if>
			<div class="Controls"> 
     <if condition="$show['multiquote_post']">        
<a class="simptip-position-top simptip-smooth" data-tooltip="إقتباس متعدد" 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>
 <!-- Facebook -->
<a class="simptip-position-top simptip-smooth" data-tooltip="انشر الموضوع على Facebook" href="https://www.facebook.com/sharer.php?u=$vboptions[bburl]/showthread.php?t=$thread[threadid]"  target="_blank"><img src="helpernt/img/facebook.png"  alt="Facebook" /></a>
<!-- Twitter -->
<a class="simptip-position-left simptip-smooth" data-tooltip="انشر الموضوع على twitter" href="https://twitter.com/share?url=$vboptions[bburl]/showthread.php?t=$thread[threadid]"  target="_blank"><img src="helpernt/img/twitter.png"  alt="Twitter" /></a>
<ul> 

   <if condition="$post['editlink']">
                           <li>
							<a class="simptip-position-bottom simptip-smooth" data-tooltip="تعديل / حذف" href="$post[editlink]" name="vB::QuickEdit::$post[postid]0" rel="nofollow">
        <div class="IconControlsFont fa fa-eraser"></div>التعديل</a></li> 
            </if>
 <if condition="$show['quickreply'] AND !$show['threadedmode']">
   <li>
	<a class="simptip-position-bottom simptip-smooth" data-tooltip="رد مع اقتباس" href="$post[replylink]" rel="nofollow" id="qr_$post[postid]0" onclick="return false">
       <div class="IconControlsFont fa fa-reply"></div>رد سريع</a></li> 
            </if>
 <if condition="$post['replylink']">
               <li><a class="simptip-position-bottom simptip-smooth" data-tooltip="رد مع اقتباس" href="$post[replylink]" rel="nofollow">
                 <div class="IconControlsFont fa fa-undo"></div>اقتباس</a></li></ul></div>
            </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="$show['moderated']">
                <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_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&amp;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&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
                </if>
            </if>

		$template_hook[postbit_controls]
		<!-- / controls -->
	</td>
</tr>
</table>
$template_hook[postbit_end]
<div style="border-top-color: transparent; border-top-width: 1px; border-top-style: dashed; height: 5px;"></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>
	$template_hook[postbit_user_popup]
	</table>
</div>
<!-- / post $post[postid] popup menu -->