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

طلب تحويل هذا الهاك


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif [مجابه] طلب تحويل هذا الهاك
  05-06-2014 11:45 صباحاً  
Soliman
معلومات الكاتب
في موضوعك السابق انت طلبت نفس الطلب واعطيت الكود

https://pbboard.info/forums/t16360#79278



وطلبت منك ان تحدد في اي صفحة ترغب باضافته ولم تجبني

لكي نعطيك طريقة تركيبه

وحاولنا نفهمك لكن انت لم تلقي لنا بالاً



الآن في موضوعك هذا عرفنا وأخيراً انك تريد تركيب الكود في صفحة الأقسام




وطريقة تركيبه في صفحة الأقسام هي كالتالي :


افتح قالب : forum_subject_table



وابحث عن :

CODE
<form name="tools_thread" method="post" enctype="multipart/form-data" action="index.php?page=management&amp;subject=1&amp;section={$SECTION_ID}&amp;operator=tools_thread">
	


واضف أعلاه :

CODE
<?php $PowerBB->_CONF['template']['colspan'] = $PowerBB->_CONF['template']['colspan']+1; ?>




ثم ابحث عن :

CODE
<td width="75%" class="tcat" align="center" colspan="3">


واستبدله بـ :

CODE
<td width="75%" class="tcat" align="center" colspan="4">




ثم ابحث عن :

CODE
        <td width="1%" class="row1" align="center">
	            <img src="{$review_subject_list['icon']}" alt="" />
	        </td>
	


واضف أعلاه :



CODE

	<td width="1%" class="row1" align="center">
	<?php
	$PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['text'] = $PowerBB->Powerparse->replace($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['text']);
	$x = 1;
	$images = array();
	$PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['text'] = stripslashes($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['text']);
	preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['text'], $images);
	foreach ($images[2] as $src)
	{
	if($src)
	{
	echo '<img border="0" width="55" height="55" src="'.$src.'" alt="'.$PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['title'].'">';
	}
	break;
	}
	if(!preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['text'], $images))
	{
	echo '<img border="0" width="55" height="55" src="look/portal/images/traffic_cone.png" alt="'.$PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['title'].'">';
	}
	?></td>
	




ثم ابحث عن :

CODE
      <td width="1%" class="row1" align="center">
	            <img src="{$stick_subject_list['icon']}" alt="" />
	        </td>




واضف أعلاه :

CODE
<td width="1%" class="row1" align="center">
	<?php
	$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'] = $PowerBB->Powerparse->replace($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text']);
	$x = 1;
	$images = array();
	$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'] = stripslashes($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text']);
	preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'], $images);
	foreach ($images[2] as $src)
	{
	if($src)
	{
	echo '<img border="0" width="55" height="55" src="'.$src.'" alt="'.$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['title'].'">';
	}
	break;
	}
	if(!preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'], $images))
	{
	echo '<img border="0" width="55" height="55" src="look/portal/images/traffic_cone.png" alt="'.$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['title'].'">';
	}
	?>
	</td>




ثم ابحث عن :

CODE
        <td width="1%" class="row1" align="center">
	            <img src="{$subject_list['icon']}" alt="" />
	        </td>
	


واضف أعلاه :





CODE
<td width="1%" class="row1" align="center">
	<?php
	$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'] = $PowerBB->Powerparse->replace($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text']);
	$x = 1;
	$images = array();
	$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'] = stripslashes($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text']);
	preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'], $images);
	foreach ($images[2] as $src)
	{
	if($src)
	{
	echo '<img border="0" width="55" height="55" src="'.$src.'" alt="'.$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'].'">';
	}
	break;
	}
	if(!preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'], $images))
	{
	echo '<img border="0" width="55" height="55" src="look/portal/images/traffic_cone.png" alt="'.$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'].'">';
	}
	?>
	</td>






أنتهى ..




قالب forum_subject_table المعدل الجاهز للأستايل الافتراضي تجده بالمرفقات

بالأضافة لشرح التركيب
 
  Bringing the first image of the subject.zip   تحميل zip مرات التحميل :(13)
الحجم :(6.592) KB


تم تحرير المشاركة بواسطة :Soliman بتاريخ:05-06-2014 11:45 صباحاً



الساعة الآن 09:09 PM