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

اريد طريقة تعديل address bar بحيث يتم اظهار جميع المنتديات الفرعية عند الضغط على منتدى فرعي

موضوع مغلق


15-02-2024 06:18 مساءً
جنرال الحب
معلومات الكاتب
اريد طريقة تعديل address bar بحيث يتم اظهار جميع المنتديات الفرعية عند الضغط على منتدى فرعي
فعند الضغط على منتدى فرعي لا تظهر جميع المنتديات الفرعية السابقة كما تظهر جميعها عند الضغط على موضوع معين
مثلا عند الضغط على الفصل الثاني كما في الصورة
اريد طريقة تعديل address bar بحيث يتم اظهار جميع المنتديات الفرعية عند الضغط على منتدى فرعي
اريد ان تظهر كل المنتديات السابقة له وهي مبحث اللغة الانجليزية الصف الاول و الصف الاول ثم المراحل الدراسية ثم المنتدى وهكذا 
ارجو الافادة استاذ سليمان وبارك الله في جهودك
@Soliman
 

look/images/icons/i1.gif اريد طريقة تعديل address bar بحيث يتم اظهار جميع المنتديات الفرعية عند الضغط على منتدى فرعي
  16-02-2024 07:11 صباحاً   [1]
Soliman
معلومات الكاتب
استبدل كامل محتوى قالب : forum
بهذا المحتوى

PHP

{template}address_bar_part1{/template}
<?php
$itemprop_content = 0;
?>
{if {$section_parent} == '0'}
<?php
$itemprop_content = 1;
?>
<li itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<a itemprop="item" href="index.php?page=forum&amp;show=1&amp;id={$sec_address_id}">
<span itemprop="name">
{$sec_address_title}
</span>
</a>
<meta itemprop="position" content="2" />
</li>
<div class="btn-nav"></div>
{/if}
{if {$section_parent}}
<?php
$itemprop_content = 1;
$Sec_parent = array();
$Sec_parent['where'] = array('id',$PowerBB->_CONF['template']['section_parent']);
$PowerBB->_CONF['template']['Section_parenty'] = $PowerBB->core->GetInfo($Sec_parent,'section');

if($PowerBB->_CONF['template']['Section_parenty']['parent'])
{
$Sec_parent1 = array();
$Sec_parent1['where'] = array('id',$PowerBB->_CONF['template']['Section_parenty']['parent']);
$PowerBB->_CONF['template']['Section_parent_sub'] = $PowerBB->core->GetInfo($Sec_parent1,'section');
}
if($PowerBB->_CONF['template']['Section_parent_sub']['parent'])
{
$Sec_parent2 = array();
$Sec_parent2['where'] = array('id',$PowerBB->_CONF['template']['Section_parent_sub']['parent']);
$PowerBB->_CONF['template']['Section_parent_subb'] = $PowerBB->core->GetInfo($Sec_parent2,'section');
}
?>
{if {$Section_parent_subb['id']}}
<li itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<a itemprop="item" href="index.php?page=forum&amp;show=1&amp;id={$Section_parent_subb['id']}">
<span itemprop="name">
{$Section_parent_subb['title']}
</span>
</a>
<meta itemprop="position" content="4" />
</li>
<div class="btn-nav"></div>
{/if}

{if {$Section_parent_sub['id']}}
<li itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<a itemprop="item" href="index.php?page=forum&amp;show=1&amp;id={$Section_parent_sub['id']}">
<span itemprop="name">
{$Section_parent_sub['title']}
</span>
</a>
<meta itemprop="position" content="2" />
</li>
<div class="btn-nav"></div>
{/if}

<li itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<a itemprop="item" href="index.php?page=forum&amp;show=1&amp;id={$Section_parenty['id']}">
<span itemprop="name">
{$Section_parenty['title']}
</span>
</a>
<meta itemprop="position" content="3" />
</li>
<div class="btn-nav"></div>



<li itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<a itemprop="item" href="index.php?page=forum&amp;show=1&amp;id={$section_info['parent']}">
<span itemprop="name">
{$sec_address_title}
</span>
</a>
<meta itemprop="position" content="<?php echo 4-$itemprop_content;?>" />
</li>
<div class="btn-nav"></div>
{/if}
<li itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<a itemprop="item" href="index.php?page=forum&amp;show=1&amp;id={$SECTION_ID}">
<span itemprop="name">
{$section_info['title']}
</span>
</a>
<meta itemprop="position" content="<?php echo 5-$itemprop_content;?>" />
</li>

{template}address_bar_part2{/template}<br />
<br />
<div class="h_tag">
<?php
$num = '88';
$PowerBB->_CONF['template']['section_info']['section_describe'] = $PowerBB->functions->words_count_replace_strip_tags_html2bb($PowerBB->_CONF['template']['section_info']['section_describe'],$num);
$PowerBB->_CONF['template']['section_info']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['section_info']['title']);
?>
<h1>
<a href="index.php?page=forum&amp;show=1&amp;id={$SECTION_ID}"
title="{$section_info['title']}">
{$section_info['title']}</a></h1>
<h3>{$section_info['section_describe']}</h3>
</div>
<br />{if {$SHOW_SUB_SECTIONS}}
{template}sections_list{/template}
{/if} <br />
{if {$section_info['parent']} != '0'}
<br />
{if {$section_info['header']} != ''}
<table class="border wd98 brd1 clpc0 a-center">
<tr class="center_text_align">
<td class="row1">
{$section_info['header']}
</td>
</tr>
</table>
<br />
<br />
<br />
{/if}
{template}forum_subject_table{/template}
{if {$section_info['footer']} != ''}
<br />
<table class="border wd98 brd1 clpc0 a-center">
<tr class="center_text_align">
<td class="row1">
{$section_info['footer']}
</td>
</tr>
</table>
<br />
{/if}
{/if}
<br />

look/images/icons/i1.gif اريد طريقة تعديل address bar بحيث يتم اظهار جميع المنتديات الفرعية عند الضغط على منتدى فرعي
  16-02-2024 10:42 صباحاً   [2]
جنرال الحب
معلومات الكاتب
تم التعديل 
بارك الله في جهودك

look/images/icons/i1.gif اريد طريقة تعديل address bar بحيث يتم اظهار جميع المنتديات الفرعية عند الضغط على منتدى فرعي
  18-02-2024 10:44 مساءً   [3]
Soliman
معلومات الكاتب
السلام عليكم ورحمة الله وبركاته ،،

تم غلق الموضوع لأحد الأسباب التالية:
  1. تم حل المشكلة والحمد لله.
  2. بقاء الموضوع لمدة 3 أيام بدون الرد عليه أو وجود إشارة تدل على رجوع العضو إليه.
  3. لا يوجد حل لهذه المشكلة (إذا وجد الحل سوف يتم إعادة فتح الموضوع).
عزيزي العضو حرصا على عدم تداخل المواضيع ببعضها وبالتالي صعوبة إستخدام عملية البحث بالنسبة للأعضاء قررت إدارة المنتديات بإغلاق المواضيع التي تتوافق مع الأسباب السابقة. بإمكانك بدأ موضوع جديد أو مراسلة أحد المشرفين إن كنت متأكد من رغبتك في الإستمرار .

إدارة المنتديات،،


المواضيع المتشابهه
عنوان الموضوع الكاتب الردود الزوار آخر رد
شرح طريقة البحث عن قالب والبحث في القوالب وتعديل القالب Soliman
0 353 Soliman
الرجاء طريقة لتعديل ألوان هذه المناطق samy
13 2522 samy
[مجابه] طلب طريقة للتعديل على قوانين المنتدى. الراجي لعفو ربه
2 2563 Soliman
تعديل على طريقة ظهور الأقسام الفرعية يونس
7 2456 يونس
شرح طريقة إضافة الكلاسات وتعديلها وحذفها في ستايل شييت add / edit / remove class in CSS Mr King
0 1587 Mr King

الكلمات الدلالية






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