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

طلب تعديل بسيط على قالب sections_list

موضوع مغلق


10-02-2014 05:23 مساءً
سيف السلطاني
معلومات الكاتب
سلام عليكم ورحمة الله وبركاتة



لدي طلب من الاخوان جزاكم الله خيرا اذا ساعتموني



لدي مشكلة وهي ان قالب ستايلي توجد في قائمة منسدلة للاقسام وهذا القائمة تظهر سواء كأنت الاقسام موجوده او غير موجوده



اضفه الى ذلك توجد مشلكة اخر بطول عنوان الموضوع حيث تتشوة اذا طال العنوان



كما في الصورة



طلب تعديل بسيط على قالب sections_list



المطلوب تعديل بحيث العنوان لا ينزل الى الاسفل والاقسام الفرعية تكون فقط بالمنتديات التي تحوي قسم فرعي



كود القالب



CODE
    <div align="center" dir="{$_CONF['info_row']['content_dir']}">
	    {if {$SHOW_SUB_SECTIONS}}
	<!-- START_TABLE_SUB_SECTIONS -->
	
	<div class="forums_box" dir="rtl">
	<!--forums Head-->
	<div class="forums_head">
	<div class="left_head_forums">
	
	<a href="javascript:switchMenuNone('id_{$forum['id']}')" title="اخفاء/اظهار المنتدى">
	<img src="{$image_path}/collapse_b.gif" style="margin-left:100px;" alt="" id="collapseimg_forumbit_{$forum['id']}" /></a>
	
	</div>
	<div class="right_head_forums">
	{if {$_CONF['info_row']['rewriterule']} == '1'}
	                    <span class="icon_head_forums">&#60555;</span><a href="f{$forum['id']}.html">{$forum['title']}</a>
	                    {else}
	<span class="icon_head_forums">&#60555;</span><a href="index.php?page=forum&amp;show=1&amp;id={$forum['id']}">{$forum['title']}</a>
	                    {/if}
	
	</div>
	</div>
	<!--/forums Head-->
	<!--forums table start-->
	
	<table width="98%" border="0" class="border" cellpadding="0" cellspacing="1">
	
	
	{/if}
	{Des::foreach}{forums_list}{forum}
	    {if {$forum['parent']} == 0}
	        {if {$forum['sort']} != 1}
	          </tbody>
	    </table>
	<div class="forums_foter"></div>
	</div>
	<div class="forums_shadow" dir="rtl">
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
	<td class="forums_shadow_right"></td>
	<td class="forums_shadow_center">.</td>
	<td class="forums_shadow_left"></td>
	</tr>
	</table>
	</div>
	<!-- END_TABLE_SUB_SECTIONS -->
	        
	        {/if}
	<!-- START_TABLE_SECTIONS -->
	<!--forums box-->
	<div class="forums_box" dir="rtl">
	<!--forums Head-->
	<div class="forums_head">
	<div class="left_head_forums">
	
	<a href="javascript:switchMenuNone('id_{$forum['id']}')" title="اخفاء/اظهار المنتدى">
	<img src="{$image_path}/collapse_b.gif" style="margin-left:100px;" alt="" id="collapseimg_forumbit_{$forum['id']}" /></a>
	
	</div>
	<div class="right_head_forums">
	{if {$_CONF['info_row']['rewriterule']} == '1'}
	                    <span class="icon_head_forums">&#60555;</span><a href="f{$forum['id']}.html">{$forum['title']}</a>
	                    {else}
	<span class="icon_head_forums">&#60555;</span><a href="index.php?page=forum&amp;show=1&amp;id={$forum['id']}">{$forum['title']}</a>
	                    {/if}
	
	</div>
	</div>
	<!--/forums Head-->
	<!--forums table start-->
	
	
	
	
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tbody id="id_{$forum['id']}" class="border_forums" style="">
	
	
	    {/if}
	    {if {$forum['parent']} != 0}
	    {if {$forum['linksection']} != '1'}
	 <!--forums tr Start-->
	<tr>
	
	<td class="forums_alt1">
	{if {$forum['use_section_picture']} == '1' and{$forum['sectionpicture_type']} == '1'}
	    <img src="{$forum['section_picture']}"
	    alt="{$lang['section_picture']}" />
	    {elseif {$_CONF['group_info']['write_subject']} == 0}
	    <img src="{$image_path}/f_pass_unread.png"
	    alt="{$lang['no_write_subject']}"  id="forum_statusicon_{$forum['id']}" />
	    {elseif {$forum['last_post_date']} > {$_CONF['member_row']['lastvisit']}}
	    <img src="{$image_path}/f_unread.png"
	    alt="{$lang['new_posts']}" id="forum_statusicon_{$forum['id']}" />
	    {else}
	    <img src="{$image_path}/f_read.png"
	    alt="{$lang['no_new_posts']}"  id="forum_statusicon_{$forum['id']}" />
	    {/if}
	</td>
	
	<td class="forums_alt2">
	<!--title_dec-->
	<span class="forums_title"><a href="f{$forum['id']}" title="{$forum['title']}" style="font-family:'droid Arabic Kufi';font-size:14px;font-weight:bold;">
	    <span class="title_n"><font class="title_font">{$forum['title']}</font></span>
	
	</a><span class="title_icon"></span></span>
	
	
	<span class="forums_dec"><span class="dec_icon"></span>{$forum['section_describe']}</span>
	<!--/title_dec-->
	<!--subs-->
	
	<span class="sub_botton">الاقسام الفرعيه<span style="font-family:'fnon-full-option-style',fnon-full-option-style,tahoma;font-size:12px;
	top:-0px;float:left;left:7px;position:relative">&#59392;</span>
	<span class="sub_list">
	{if {$forum['use_section_picture']} == 1}
	    {if {$forum['sectionpicture_type']} == 2}
	    <img src="{$forum['section_picture']}" alt="{$forum['section_picture']}" />
	    
	    {/if}
	    {/if}
	    {if {$forum['is_sub']}}
	    {if {$_CONF['info_row']['no_sub']}}
	    {$forum['sub']}
	    {/if}
	    {/if}
	<br>
	
	</span>
	</span>
	
	
	<!--/subs-->
	
	<!--last post info div-->
	<div class="forums_last_info" dir="rtl">
	
	
	
	
	
	 <?php if ($forum['hide_subject']  AND !$PowerBB->functions->ModeratorCheck($forum['id'])){
	  ?>
	      <div align="center">{$lang['speciality']}</div>
	      {else}
	 <?php if ($forum['section_password'] !=""  AND !$PowerBB->functions->ModeratorCheck($forum['id'])){
	  ?>
	      <div align="center">{$lang['speciality']}</div>
	      {else}
	
	    {if {$forum['last_subject']} != ''}
	<span class="last_post"><span class="last_post_icon"></span>
	<a href="index.php?page=topic&amp;show=1&amp;id={$forum['last_subjectid']}" title="{$forum['last_subject']}">
	{$forum['last_subject']}</a></span>
	
	<span class="last_post_by"><span class="last_post_by_icon"></span>
	<span class="post_by_member">
	{$lang['last_writer']}  {$forum['last_writer']}
	</span></span>
	
	<span class="last_post_time"><span class="last_post_time_icon"></span> <span class="last_post_time2">{$forum['last_date']}</span></span>
	
	{if {$forum['last_berpage_nm']} != ''}
	<a title="{$lang['Go_to_last_post']}" href="index.php?page=topic&amp;show=1&amp;id={$forum['last_subjectid']}&amp;count={$forum['last_berpage_nm']}#{$forum['last_reply']}">
	<span class="go_to_last_post"></span></a>
	<!--last post info-->
	
	{/if}
	
	
	<!--last post info div-->
	
	</div>
	
	{else}
	    {$lang['no_post']}
	    {/if}
	    {/if}
	    {/if}
	
	</td>
	
	<td class="forums_alt3">
	<span class="count_topics"><span class="count_topics_icon"> </span>{$lang['subject_num']} : {$forum['subject_num']}</span>
	<span class="count_posts"><span class="count_posts_icon"> </span>{$lang['reply_num']} : {$forum['reply_num']}</span>
	<span class="count_her_now"><span class="count_her_now_icon"> </span>
	المتواجدون : {$forum['forum_online']}</span>
	</td>
	</tr>
	<!--forums tr End-->
	<!--forums tr Start-->
	
	
	
	
	    {else}
	    <tr class="radiusContent">
	    <td width="5%" align="center" class="row5">
	    {if {$forum['use_section_picture']} == 1}
	    {if {$forum['sectionpicture_type']} == 1}
	    <img src="{$forum['section_picture']}" alt="" />
	    {else}
	    <img src="{$image_path}/f_redirect.png" alt="" />
	    {/if}
	    {else}
	    <img src="{$image_path}/f_redirect.png" alt="" />
	    {/if}
	    </td>
	    <td width="50%" align="right" class="row2" onclick="switchBlock('moderators_{$forum['id']}');">
	
	    <a href="index.php?page=forum&amp;show=1&amp;
	    id={$forum['id']}"><img src="{$image_path}/all-cat.gif" border="0"> {$forum['title']}</a>
	    
	    {if {$forum['use_section_picture']} == 1}
	    {if {$forum['sectionpicture_type']} == 2}
	    <img src="{$forum['section_picture']}" alt="" />
	    
	    {/if}
	    {/if}
	    {if {$_CONF['info_row']['no_describe']}}
	    {$forum['describe']}
	    
	    {/if}
	    </td>
	    <td width="43%" align="center" class="row2">
	    {$lang['linkvisitor']} {$forum['linkvisitor']}
	    </td>
	    {if {$_CONF['info_row']['no_moderators']}}
	    <td class="row1" align="center" width="10%">
	    <a href="javascript:switchMenuNone('moderators_{$forum['id']}')" title="{$lang['moderators']}">
	    <img border="0" alt="{$lang['moderators']}" src="{$image_path}/moderators.gif" /></a>
	    <div style="display:none; left:20px;" class="drop_menu" id="moderators_{$forum['id']}">
	        <div class="thead1" style="width:150px;">
	        {$lang['moderators_list']}
	        </div>
	        <div class="row1" style="width:150px;">
	        <font class="smallfont">
	        {if {$forum['moderators_list']}}
	        {$forum['moderators_list']}
	        {else}
	        {$lang['NO_MODERATOR']}
	        {/if}
	        </font>
	        </div>
	    </div>
	    </td>
	    {/if}
	    </tr>
	    {/if}
	    {/if}
	    {/Des::foreach}
	    </tbody>
	    </table>
	
	    <!-- END_TABLE_SECTIONS -->
	<div class="forums_foter"></div>
	</div>
	<div class="forums_shadow" dir="rtl">
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
	<td class="forums_shadow_right"></td>
	<td class="forums_shadow_center">.</td>
	<td class="forums_shadow_left"></td>
	</tr>
	</table>
	</div>
	

look/images/icons/i1.gif طلب تعديل بسيط على قالب sections_list
  10-02-2014 07:03 مساءً   [1]
ezzeldean
معلومات الكاتب


إستبدل القالب المُرفق بالقالب الموجود لديك مع أخذ نسخة من القالب قبل التعديل ، و إذا لم يتم حل المُشكلة أو ظهرت مشاكل أخرى أعد كل شىء كما كان و أخبرنى

تم تحرير المشاركة بواسطة :ezzeldean بتاريخ:10-02-2014 07:06 مساءً

 
  section_list.txt   تحميل txt مرات التحميل :(19)
الحجم :(9.735) KB

look/images/icons/i1.gif طلب تعديل بسيط على قالب sections_list
  10-02-2014 07:33 مساءً   [2]
سيف السلطاني
معلومات الكاتب
شكرا لك اخي لم يتغير اي شيء

look/images/icons/i1.gif طلب تعديل بسيط على قالب sections_list
  10-02-2014 07:37 مساءً   [3]
ezzeldean
معلومات الكاتب
المشاركة الأصلية كتبت بواسطة: سيف السلطاني شكرا لك اخي لم يتغير اي شي


حسناً ، أعد كل شىء كما كان و سأطرح لك الحل اليوم بإذن الله .. فقط أمهلنى بعض الوقت طلب تعديل بسيط على قالب sections_list



تحياتى ،،،

تم تحرير المشاركة بواسطة :ezzeldean بتاريخ:10-02-2014 07:42 مساءً


look/images/icons/i1.gif طلب تعديل بسيط على قالب sections_list
  10-02-2014 09:35 مساءً   [4]
سيف السلطاني
معلومات الكاتب
انشاء الله اخي بأنتظارك

look/images/icons/i1.gif طلب تعديل بسيط على قالب sections_list
  11-02-2014 01:14 صباحاً   [5]
Soliman
معلومات الكاتب
تفضل التعديل :



CODE
<div align="center" dir="{$_CONF['info_row']['content_dir']}">
{if {$SHOW_SUB_SECTIONS}}
<!-- START_TABLE_SUB_SECTIONS -->
<div class="forums_box" dir="rtl">
<!--forums Head-->
<div class="forums_head">
<div class="left_head_forums">
<a href="javascript:switchMenuNone('id_{$forum['id']}')" title="اخفاء/اظهار المنتدى">
<img src="{$image_path}/collapse_b.gif" style="margin-left:100px;" alt="" id="collapseimg_forumbit_{$forum['id']}" /></a>
</div>
<div class="right_head_forums">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<span class="icon_head_forums">&#60555;</span><a href="f{$forum['id']}.html">{$forum['title']}</a>
{else}
<span class="icon_head_forums">&#60555;</span><a href="index.php?page=forum&amp;show=1&amp;id={$forum['id']}">{$forum['title']}</a>
{/if}
</div>
</div>
<!--/forums Head-->
<!--forums table start-->
<table width="98%" border="0" class="border" cellpadding="0" cellspacing="1">
{/if}
{Des::foreach}{forums_list}{forum}
{if {$forum['parent']} == 0}
{if {$forum['sort']} != 1}
</tbody>
</table>
<div class="forums_foter"></div>
</div>
<div class="forums_shadow" dir="rtl">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="forums_shadow_right"></td>
<td class="forums_shadow_center">.</td>
<td class="forums_shadow_left"></td>
</tr>
</table>
</div>
<!-- END_TABLE_SUB_SECTIONS -->

{/if}
<!-- START_TABLE_SECTIONS -->
<!--forums box-->
<div class="forums_box" dir="rtl">
<!--forums Head-->
<div class="forums_head">
<div class="left_head_forums">   
<a href="javascript:switchMenuNone('id_{$forum['id']}')" title="اخفاء/اظهار المنتدى">
<img src="{$image_path}/collapse_b.gif" style="margin-left:100px;" alt="" id="collapseimg_forumbit_{$forum['id']}" /></a>
</div>
<div class="right_head_forums">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<span class="icon_head_forums">&#60555;</span><a href="f{$forum['id']}.html">{$forum['title']}</a>
{else}
<span class="icon_head_forums">&#60555;</span><a href="index.php?page=forum&amp;show=1&amp;id={$forum['id']}">{$forum['title']}</a>
{/if}
</div>
</div>
<!--/forums Head-->
<!--forums table start-->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody id="id_{$forum['id']}" class="border_forums" style="">
{/if}
{if {$forum['parent']} != 0}
{if {$forum['linksection']} != '1'}
<!--forums tr Start-->
<tr>
<td class="forums_alt1">
{if {$forum['use_section_picture']} == '1' and{$forum['sectionpicture_type']} == '1'}
<img src="{$forum['section_picture']}"
alt="{$lang['section_picture']}" />
{elseif {$_CONF['group_info']['write_subject']} == 0}
<img src="{$image_path}/f_pass_unread.png"
alt="{$lang['no_write_subject']}"  id="forum_statusicon_{$forum['id']}" />
{elseif {$forum['last_post_date']} > {$_CONF['member_row']['lastvisit']}}
<img src="{$image_path}/f_unread.png"
alt="{$lang['new_posts']}" id="forum_statusicon_{$forum['id']}" />
{else}
<img src="{$image_path}/f_read.png"
alt="{$lang['no_new_posts']}"  id="forum_statusicon_{$forum['id']}" />
{/if}
</td>
<td class="forums_alt2">
<!--title_dec-->
<span class="forums_title"><a href="f{$forum['id']}" title="{$forum['title']}" style="font-family:'droid Arabic Kufi';font-size:14px;font-weight:bold;">
<span class="title_n"><font class="title_font">{$forum['title']}</font></span>
</a><span class="title_icon"></span></span>
{if {$forum['section_describe']} != ''}

<span class="forums_dec"><span class="dec_icon"></span>{$forum['section_describe']}</span>
{/if}
{if {$forum['use_section_picture']} == 1}
{if {$forum['sectionpicture_type']} == 2}
<img src="{$forum['section_picture']}" alt="{$forum['section_picture']}" />

{/if}
{/if}   
<!--/title_dec-->
<!--subs-->
{if {$forum['is_sub']}}
{if {$_CONF['info_row']['no_sub']}} 
<span class="sub_botton">الاقسام الفرعيه<span style="font-family:'fnon-full-option-style',fnon-full-option-style,tahoma;font-size:12px;
top:-0px;float:left;left:7px;position:relative">&#59392;</span>
<span class="sub_list">
{$forum['sub']}
<br>
</span>
</span>
{/if}
{/if}   

<!--/subs-->
<!--last post info div-->
<div class="forums_last_info" dir="rtl">
<?php if ($forum['hide_subject']  AND !$PowerBB->functions->ModeratorCheck($forum['id'])){
?>
<div align="center">{$lang['speciality']}</div>
{else}
<?php if ($forum['section_password'] !=""  AND !$PowerBB->functions->ModeratorCheck($forum['id'])){
?>
<div align="center">{$lang['speciality']}</div>
{else}
{if {$forum['last_subject']} != ''}
<span style="float:right;margin-right:8px;width:420px;line-height:32px;text-align:right;font-family:'droid Arabic Kufi',tahoma;"><span class="last_post_icon"></span>
<a href="index.php?page=topic&amp;show=1&amp;id={$forum['last_subjectid']}" title="{$forum['last_subject']}">
{$forum['last_subject']}</a></span>
<span style="float:right;margin-right:7px;min-width:112px;line-height:32px;text-align:right;font-family:'droid Arabic Kufi',tahoma;"><span class="last_post_by_icon"></span>
<span class="post_by_member">
{$lang['last_writer']}  {$forum['last_writer']}
</span></span>
<span class="float:right;margin-right:7px;min-width:100px;line-height:32px;text-align:right;font-family:'droid Arabic Kufi',tahoma;"><span class="last_post_time_icon"></span> <span class="last_post_time2">{$forum['last_date']}</span></span>
{if {$forum['last_berpage_nm']} != ''}
<a title="{$lang['Go_to_last_post']}" href="index.php?page=topic&amp;show=1&amp;id={$forum['last_subjectid']}&amp;count={$forum['last_berpage_nm']}#{$forum['last_reply']}">
<span class="go_to_last_post"></span></a>
<!--last post info-->
{/if}
<!--last post info div-->
</div>
{else}
{$lang['no_post']}
{/if}
{/if}
{/if}
</td>
<td class="forums_alt3">
<span class="count_topics"><span class="count_topics_icon"> </span>{$lang['subject_num']} : {$forum['subject_num']}</span>
<span class="count_posts"><span class="count_posts_icon"> </span>{$lang['reply_num']} : {$forum['reply_num']}</span>
<span class="count_her_now"><span class="count_her_now_icon"> </span>
المتواجدون : {$forum['forum_online']}</span>
</td>
</tr>
<!--forums tr End-->
<!--forums tr Start-->
{else}
<tr class="radiusContent">
<td width="5%" align="center" class="row5">
{if {$forum['use_section_picture']} == 1}
{if {$forum['sectionpicture_type']} == 1}
<img src="{$forum['section_picture']}" alt="" />
{else}
<img src="{$image_path}/f_redirect.png" alt="" />
{/if}
{else}
<img src="{$image_path}/f_redirect.png" alt="" />
{/if}
</td>
<td width="50%" align="right" class="row2" onclick="switchBlock('moderators_{$forum['id']}');">
<a href="index.php?page=forum&amp;show=1&amp;
id={$forum['id']}"><img src="{$image_path}/all-cat.gif" border="0"> {$forum['title']}</a>

{if {$forum['use_section_picture']} == 1}
{if {$forum['sectionpicture_type']} == 2}
<img src="{$forum['section_picture']}" alt="" />

{/if}
{/if}
{if {$_CONF['info_row']['no_describe']}}
{$forum['describe']}

{/if}
</td>
<td width="43%" align="center" class="row2">
{$lang['linkvisitor']} {$forum['linkvisitor']}
</td>
{if {$_CONF['info_row']['no_moderators']}}
<td class="row1" align="center" width="10%">
<a href="javascript:switchMenuNone('moderators_{$forum['id']}')" title="{$lang['moderators']}">
<img border="0" alt="{$lang['moderators']}" src="{$image_path}/moderators.gif" /></a>
<div style="display:none; left:20px;" class="drop_menu" id="moderators_{$forum['id']}">
<div class="thead1" style="width:150px;">
{$lang['moderators_list']}
</div>
<div class="row1" style="width:150px;">
<font class="smallfont">
{if {$forum['moderators_list']}}
{$forum['moderators_list']}
{else}
{$lang['NO_MODERATOR']}
{/if}
</font>
</div>
</div>
</td>
{/if}
</tr>
{/if}
{/if}
{/Des::foreach}
</tbody>
</table>
<!-- END_TABLE_SECTIONS -->
<div class="forums_foter"></div>
</div>
<div class="forums_shadow" dir="rtl">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="forums_shadow_right"></td>
<td class="forums_shadow_center">.</td>
<td class="forums_shadow_left"></td>
</tr>
</table>
</div>

look/images/icons/i1.gif طلب تعديل بسيط على قالب sections_list
  11-02-2014 01:52 صباحاً   [6]
ezzeldean
معلومات الكاتب
جزاه الله أخ سُليمان على إجابته عليك و أعتذر لك أخى الكريم لعدم مساعدتى لك كما ينبغى لإننى كنت مشغول عن أمور أخرى



تحياتى ،،،

look/images/icons/i1.gif طلب تعديل بسيط على قالب sections_list
  11-02-2014 08:47 صباحاً   [7]
سيف السلطاني
معلومات الكاتب
تشكرون اخواني الاعزاء تم حل المشلكة وسيتم تنزيل الستايل مجانا خلال 48 ساعة


المواضيع المتشابهه
عنوان الموضوع الكاتب الردود الزوار آخر رد
طلب تعديل بسيط في تسجيل دخول في استايل هيلبرنت دريم السعودية
3 280 دريم السعودية
تعديلات بسيطة على ستايل سما العرب الأزرق للنسخة 3.0.2 rahmani 2016
6 2507 morad24
طلب تعديل على استايل بسيط ابو شيماء
6 980 Soliman
طلب تعديل بسيط على هاك منتدى الاجابات cherire
0 840 cherire
تعديل بسيط على لوغو PBBoard Dzkhalwi
29 5651 MrKinvalo

الكلمات الدلالية
لا يوجد كلمات دلالية ..






الساعة الآن 03:21 PM