أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

كيف احذف بعض من معلومات الكاتب


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif كيف احذف بعض من معلومات الكاتب
  10-12-2013 09:34 مساءً  
Mr King
معلومات الكاتب
المشكله في منتداك أخي العزيز



تصفّحت حوالي 20 موضوع في منتداك والمشكل لم يظهر إلاّ في 2 مواضيع !!!



أظنّ أنّ المشكله من الكاش الخاص بالاستضافه أو المنتدى كيف احذف بعض من معلومات الكاتب



عموما، اخذ نسخة لمحتوى القالب واحفظه في المفكره (على جهازك) ثمّ اعمل استعادة الأصل للقالب

بعد ذلك استبدل محتوى القالب بهذا

[b]
CODE

	<!-- Code switch Menu start -->
	    <ul class="writer_controls">
	    <li>
	    {if {$ReplierInfo['username']} !=''}
	    <a href="javascript:switchMenuNone('menu_{$Info['id']}')" class="Button_secondary">    
	      {$ReplierInfo['display_username']}
	    <img border="0" alt="menu_open" src="{$image_path}/menu_open.gif" /></a>
	    {else}
	    <b class="Button_secondary" >{$lang['Guest_']}</b>
	    {/if}
	    </li>
	    </ul>
	    <div style="display:none;" class="drop_menu" id="menu_{$Info['id']}">
	    <div class="thead">
	    {if {$ReplierInfo['username']} !=''}
	    <a href="index.php?page=profile&amp;show=1&amp;id={$ReplierInfo['id']}">
	    {$ReplierInfo['display_username']}</a>
	    {else}
	    <b>{$lang['Guest_']}</b>
	    {/if}
	    </div>
	    <div class="menu_popup">
	    <a href="index.php?page=profile&amp;show=1&amp;id={$ReplierInfo['id']}">
	    {$lang['view_profile']}
	    </a>
	    </div>
	    <div class="menu_popup">
	    <a href="index.php?page=search&amp;option=3&amp;username={$ReplierInfo['username']}&amp;starteronly=0&amp;section=all&amp;exactname=1&amp;sort_order=DESC">
	    {$lang['search_for_all_posts']}
	    {$ReplierInfo['username']}</a>
	    </div>
	    <div class="menu_popup">
	    <a href="index.php?page=search&amp;option=4&amp;username={$ReplierInfo['username']}&amp;starteronly=0&amp;section=all&amp;exactname=1&amp;sort_order=DESC">
	    {$lang['search_for_all_replys']}
	    {$ReplierInfo['username']}</a>
	    </div>
	
	    {if {$_CONF['member_permission']}}
	    <div class="menu_popup">
	    <a href="index.php?page=pm_send&amp;send=1&amp;index=1&amp;username={$ReplierInfo['username']}">
	    {$lang['send_a_private_message_to']}
	    {$ReplierInfo['username']} </a>
	    </div>
	    {/if}
	    {if {$_CONF['member_permission']}}
	    <div class="menu_popup">
	    <a href="index.php?page=send&amp;member=1&amp;index=1&amp;id={$ReplierInfo['id']}">
	    {$lang['send_a_message_to_the_mailing']}
	    {$ReplierInfo['username']} </a>
	    </div>
	    {/if}
	    {if {$mod_edit_member}}
	    {if {$_CONF['member_permission']}}
	    <div class="menu_popup">
	    <a target="_blank" href="{$admincpdir}?page=member&amp;edit=1&amp;main=1&amp;id=
	    {$ReplierInfo['id']}">
	    {$lang['edit_member_data']}
	    {$ReplierInfo['username']} </a>
	    </div>
	    {/if}
	    {/if}
	    </div>
	    <!-- Code switch Menu End -->
	            
	    <!-- action_find_addons_1 -->
	    {if {$RatingInfo['posts']} > {$ReplierInfo['posts']}}
	    {if {$RatingInfo['rating']} != 'look/images/rating/rating_0.gif'}
	    <div class="writer_info" align="center">
	    <img border="0" alt="rating" src="{$RatingInfo['rating']}" />
	    </div>
	    {/if}
	    {/if}
	
	    <div class="writer_info" align="center">
	    <div class="UserPhoto_large" align="center">
	    {if {$_CONF['info_row']['allow_avatar']} == '1'}
	    {if {$ReplierInfo['avater_path']} != ''}
	    <a href="{$ReplierInfo['avater_path']}" rel="facebox">
	    <img class="pic_user" src="{$ReplierInfo['avater_path']}" border="0" title="{$lang['Picture']} {$ReplierInfo['username']} {$lang['Personal']}" alt="{$lang['Picture']}{$ReplierInfo['username']}{$lang['Personal']}" onload="ResizeAv(this)" /></a>
	    {else}
	    <a href="{$image_path}/
	    {$_CONF['info_row']['default_avatar']}" rel="facebox">
	    <img class="pic_user" src="{$image_path}/
	{$_CONF['info_row']['default_avatar']}" border="0" alt="{$lang['no_photo']}" title="{$lang['no_photo']}" onload="ResizeAv(this)" />
	    </a>
	    {/if}
	    {/if}
	    </div>
	    </div>
	
	{if {$ReplierInfo['username']} !=''}
	    <div class="writer_info" align="center">
	    {if {$GroupInfo['usertitle_change']} == 1}
	    {if {$Usertitle} != ''}    
	    {$Usertitle}
	    {else}
	    {$ReplierInfo['user_title']}
	    {/if}
	    {else}
	    {if !{$ReplierInfo['user_title']}}
	    {$GroupInfo['user_title']}
	    {else}
	    {$ReplierInfo['user_title']}
	    {/if}
	    {/if}
	    </div>
	{/if}    
	    <!-- action_find_addons_2 -->   
	<div align="center" >
	{if {$ReplierInfo['user_gender']} == m}
	<img title="{$lang['gender_m']}" alt="{$lang['gender_m']}" src="{$image_path}/gender_male.gif" />
	{else}
	<img title="{$lang['gender_f']}" alt="{$lang['gender_f']}" src="{$image_path}/gender_female.gif" />
	{/if}
	&nbsp;&nbsp;
	{$status}
	</div>
	<ul id="toggle-view">
	    <li>
	        <div class="about_me">{$lang['About_Me']}</div>
	        <div class="panel">
	        <div style="display: block;" class="panel">
	    <?php $PowerBB->functions->get_hooks_template("writer_info_top")?>    
	{if {$ReplierInfo['username']} !=''}    
	    <div class="writer_info" align="right">
	    {$lang['user_num']} :
	    {$ReplierInfo['id']}
	    </div>
	    <div class="writer_info" align="right">
	    {$lang['posts']} :
	    {$ReplierInfo['posts']}
	    </div>
	    {if {$ReplierInfo['user_country']} != ''}
	    <div class="writer_info" align="right">
	    {$lang['user_country']} :
	    {$ReplierInfo['user_country']}
	    </div>
	    {/if}
	
	    {if {$ReplierInfo['bday_year']} != ''}
	    {if {$ReplierInfo['bday_year']} != '0'}
	    <div class="writer_info" align="right">
	    {$lang['Birth_date']} :
	    {$ReplierInfo['bday_day']}-{$ReplierInfo['bday_month']}-{$ReplierInfo['bday_year']}
	    </div>
	    {/if}
	    {/if}
	    {if {$ReplierInfo['visitor']} != ''}
	    <div class="writer_info" align="right">
	    {$lang['visitor_num']} :
	    {$ReplierInfo['visitor']}
	    </div>
	    {/if}
	    {if {$ReplierInfo['invite_num']} != '0'}
	    <div class="writer_info" align="right">
	    {$lang['Invites']} :
	    {$ReplierInfo['invite_num']}
	    </div>
	    {/if}
	    {if {$ReplierInfo['warnings']} > 0}
	    <div class="writer_info" align="right">
	    {$lang['user_warnings']} :
	    {$ReplierInfo['warnings']}
	    </div>
	    {/if}
	    {if {$ReplierInfo['reputation']} != ''}
	    <div class="writer_info" align="right">
	    {$lang['user_reputation']} :
	    {$ReplierInfo['reputation']}
	    </div>
	    <!-- action_find_addons_3 -->
	    {/if}
	    {if !empty({$ReplierInfo['user_website']}) and {$ReplierInfo['user_website']} != 'http://'}
	    <div class="writer_info" align="right">
	    {$lang['UserWebsite']} :
	    <?php if (strstr($PowerBB->_CONF['template']['ReplierInfo']['user_website'],'http://')) {  ?>
	    <a target="_blank" href="{$ReplierInfo['user_website']}">{$lang['Visit_my_website']}</a>
	    <?php }else{ ?>
	    <a target="_blank" href="http://{$ReplierInfo['user_website']}">{$lang['Visit_my_website']}</a>
	    {/if}
	    </div>
	    {/if}
	    {if is_array({$while['extrafield']})==true }
	    {Des::while}{extrafield}
	    <?php if( $PowerBB->_CONF['template']['ReplierInfo'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ]!='' ){ ?>
	    <div class="writer_info" align="right">
	    {$extrafield['name']} :
	    <?php $PowerBB->_CONF['template']['ReplierInfo'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['ReplierInfo'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ],'html'); ?>
	    <?php echo $PowerBB->_CONF['template']['ReplierInfo'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ] ?>
	    </div>
	    <?php }else{ ?>
	    <?php } ?>
	    {/Des::while}
	    {/if}
	    
	    {if !{$admin_mod_toolbar}}
	    <a title="{$lang['send_warn_to_mem']}
	    {$ReplierInfo['username']}"href="index.php?page=warn&amp;index=1&amp;id={$ReplierInfo['id']}"><img title="{$lang['send_warn_to_mem']}"
	    {$ReplierInfo['username']}" border="0" alt="{$lang['send_warn_to_mem']}"
	    src="{$image_path}/warn.png" /></a>
	    {/if}
	    {if {$_CONF['rows']['group_info']['admincp_allow']}}
	    {if {$ReplierInfo['member_ip']} != ''}
	    &nbsp;&nbsp;<img title="{$lang['user_IP']}:
	    {$ReplierInfo['member_ip']}" alt="User IP" border="0" src="{$image_path}/ip.gif" />
	    {/if}
	    {/if}
	    {if {$_CONF['info_row']['allow_apsent']} == '1'}
	    {if {$ReplierInfo['away']}}
	    
	    <fieldset>
	    <legend><font class="smallfont">{$lang['user_Absent']}</font></legend>
	    <font class="smallfont">
	    {$ReplierInfo['away_msg']}
	    </font>
	    </fieldset>
	    {/if}
	    {/if}
	       </div>
	        </div>
	    </li>
	</ul>
	    <!-- action_find_addons_4 -->
	<?php $PowerBB->functions->get_hooks_template("writer_info_down")?>    
	    
	    {if {$Awards_nm} > '0'}
	    {template}awards{/template}
	    {/if}
	    
	    {if !{$Info['reply_id']}}
	    {if {$_CONF['info_row']['show_list_last_5_posts_member']} == 1}
	    {template}last_subject_writer{/template}
	    {/if}
	    {/if}
	{/if}
	


ثمّ اذهب للقالب headinclud وأضف هذا الكود

CODE

<script type="text/javascript">
$(document).ready(function () {
$('#toggle-view li').click(function () {
 var text = $(this).children('div.panel');
if (text.is(':hidden')) {
text.slideDown('200');
} else {
text.slideUp('200');
}
});});
</script>





قبل الوسم
CODE
</head>




ثمّ اذهب إلى الاستاسلات والقوالب - التحكم بالاستايلات - تحرير css متقدم

وأضف هذه الكلاسات في نهاية ورقة css

CODE
<br />
#toggle-view{list-style:none;font-size:11px;margin:0;padding:0;}<br />
#toggle-view li{margin:10px;position:relative;cursor:pointer;}<br />
.about_me{background:#d4e9ec url(images/gradient_thead.gif) repeat-x;border:1px solid #ccc;font-weight:bold;color:#4c2e2e;border-radius:6px 6px 6px 6px;cursor:pointer;font-size:8pt;margin-bottom:4px;overflow:hidden;padding:5px;position:relative;width:140px;}<br />
#toggle-view span{position:absolute;right:5px;top:0;color:#1e1e1e;font-size:20px;}<br />
#toggle-view .panel{margin:5px 0;display:none;}<br />
<br />







تم تحرير المشاركة بواسطة :Mr King بتاريخ:10-12-2013 09:41 مساءً



الساعة الآن 12:12 AM