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

how do


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif how do
  15-12-2013 03:54 مساءً  
Soliman
معلومات الكاتب
1- Open the file: modules/topic.module.php



2- Search for:

CODE
$PowerBB->template->display('subject_top');




and Cut code



3- and search for:

CODE
$PowerBB->template->assign('ReplierInfo',$this->Info);




and paste the code underneath



4- And save the file



-----------------

5- From the admin panel Open the template: subject_top

and put code Avatars And user rating anywhere you want





CODE

	    {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 {$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}
	{/if}   
	
	
	
	    <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 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 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>


الساعة الآن 06:01 AM