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

[مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى

موضوع مغلق


14-03-2017 10:47 صباحاً
Mr8BR
معلومات الكاتب
السلام عليكم



من فضلك ابي شرح أزالة الصورة الشخصية من بوابة المنتدى



صورة من بوابة المنتدى

كيفية أزالة الصورة شخصية من بوابة المنتدى



سبب التعديل : إزالة اسماء المطورين من الموضوع


look/images/icons/i1.gif [مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى
  14-03-2017 01:26 مساءً   [1]
Soliman
معلومات الكاتب
في الاستايلات القديمة كالمستخدم لديك افتح قالب : portal_last_news

وابحث عن هذا الكود وامسحه



CODE
<span class="l-left UserPhoto">
<?php if ($avater_path){ ?>

</a>
<?php if ($avater_path ==''){ ?>
<a href="{$image_path}/
    {$_CONF['info_row']['default_avatar']}" rel="facebox">
    <img src="{$image_path}/
    {$_CONF['info_row']['default_avatar']}" border="0" alt="Photo" onload="ResizeAv(this)" />
    </a>
{/if}

{else}
<a href="{$image_path}/
    {$_CONF['info_row']['default_avatar']}" rel="facebox">
    <img src="{$image_path}/
    {$_CONF['info_row']['default_avatar']}" border="0" onload="ResizeAv(this)" />
    </a>
{/if}
</span>




look/images/icons/i1.gif [مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى
  14-03-2017 08:42 مساءً   [2]
Mr8BR
معلومات الكاتب
بعد أزالة الكود من القالب





بوابة المنتدى ظهرت بالشكل دا



كيفية أزالة الصورة شخصية من بوابة المنتدى

look/images/icons/i1.gif [مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى
  14-03-2017 10:16 مساءً   [3]
Soliman
معلومات الكاتب
الصق محتوى قالب portal_last_news كامل

look/images/icons/i1.gif [مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى
  14-03-2017 11:39 مساءً   [4]
Mr8BR
معلومات الكاتب
سويتو والله نفس النظام اخي :]

look/images/icons/i1.gif [مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى
  15-03-2017 12:13 صباحاً   [5]
Soliman
معلومات الكاتب
مافهمتني ضع محتوى قالب portal_last_news كامل هنا

علشان انا اعدله لك

look/images/icons/i1.gif [مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى
  15-03-2017 12:18 صباحاً   [6]
Mr8BR
معلومات الكاتب
تفضل اخي سلميان



CODE
{if {$_CONF['info_row']['style_block_latest_news']} =='1'}
<table width="100%" class="border" cellpadding="0" style="border-collapse: collapse">
        {Des::while}{LastNews_subjectList}
   <?php
 $writer= $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['writer'];
$Info_writer = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['member'] . " WHERE username = '$writer'");
$InfoWriter = @mysql_fetch_array($Info_writer);
$avater_path = $InfoWriter['avater_path'];
?>
    <tr>
        <td class="thead">
   <?php $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title']);?>
<span class="l-left">
<font class="smallfont">
{$lang['SubjectVisitor']}:
 ({$LastNews_subjectList['visitor']})
     {$lang['Comments']}:
  ({$LastNews_subjectList['reply_number']})
 </font>
</span>
<span class="r-right">
<img border="0" alt="{$LastNews_subjectList['title']}" src="{$LastNews_subjectList['icon']}">
<a href="index.php?page=topic&amp;show=1&amp;id={$LastNews_subjectList['id']}">{$LastNews_subjectList['title']}</a>
</span>
        </td>
    </tr>
    <tr>
        <td class="blocks_info">
<span class="l-left">
<font class="smallfont">
{$LastNews_subjectList['write_date']}
</font>
</span>
<span class="r-right">
<img border="0" src="look/portal/images/news_icon.gif" alt="Writer">
{$lang['LastsPostsWriter']}
        <a href="index.php?page=profile&amp;show=1&amp;id=<?php echo $InfoWriter['id']; ?>">{$LastNews_subjectList['writer']}</a>
</span>

        </td>
    </tr>
    <tr>
        <td class="blocks_info" valign="top">
<span class="l-left UserPhoto">
<?php if ($avater_path){ ?>
<a href='<?php echo $avater_path; ?>' rel="facebox">
<img src='<?php echo $avater_path; ?>' alt="Photo" onload="ResizeAv(this)" />
</a>
<?php if ($avater_path ==''){ ?>
<a href="{$image_path}/
    {$_CONF['info_row']['default_avatar']}" rel="facebox">
    <img src="{$image_path}/
    {$_CONF['info_row']['default_avatar']}" border="0" alt="Photo" onload="ResizeAv(this)" />
    </a>
{/if}

{else}
<a href="{$image_path}/
    {$_CONF['info_row']['default_avatar']}" rel="facebox">
    <img src="{$image_path}/
    {$_CONF['info_row']['default_avatar']}" border="0" onload="ResizeAv(this)" />
    </a>
{/if}
</span>

<?php
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = $PowerBB->Powerparse->replace($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']);
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']);
?>
{$LastNews_subjectList['text']}






        <span class="r-right"><a href="index.php?page=topic&amp;show=1&amp;id={$LastNews_subjectList['id']}"><img border="0" src="look/portal/images/read_more_button.png" alt="readmore"></a></span>

        </td>
    </tr>
{/Des::while}
{if {$PagerLastNews}}
    <tr>
        <td class="blocks_info">

<span class="r-right">
{$PagerLastNews}
</span>
        </td>
    </tr>
{/if}

</table>
{else}
<?php $t= 0;?>
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse" align="center"><tr>
{Des::while}{LastNews_subjectList}
<?php
if ($PowerBB->_CONF['info_row']['portal_columns'] == '1' )
{
$columns_News = "3";
}
else
{
$columns_News = "2";
}
if($t== $columns_News){
$t=0;
echo "</tr><tr>";
}?>
<td valign="top">
<table border="1" width="100" class="border" cellpadding="0" style="border-collapse: collapse" align="center"><tr>
        <td class="LastNews-tabclear" valign="top">

<?php
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title']);
$title = $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'];
$num = "20";
$title = $PowerBB->functions->words_count($title,$num);?>
<a href="index.php?page=topic&amp;show=1&amp;id={$LastNews_subjectList['id']}" title="<?php echo $title;?>"><?php echo $title;?></a>
        </td>
    </tr>
    <tr>
        <td class="rowthumb" valign="top">

<a href="index.php?page=topic&amp;show=1&amp;id={$LastNews_subjectList['id']}" title="<?php echo $title;?>">
<?php
$x = 1;

$images = array();
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = stripslashes($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']);
preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'], $images);
foreach ($images[2] as $src)
  {
    if($src)
     {
     echo '<img border="0" width="200" height="200" src="'.$src.'" alt="'.$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'].'">';
     }

        break;
 }
  if(!preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'], $images))
     {
      echo '<img border="0" width="200" height="200" src="look/portal/images/traffic_cone.png" alt="'.$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'].'">';
     }

?>
</a>
        </td>
    </tr>
    <tr>
        <td class="row1" valign="top">
<?php
$num = $PowerBB->_CONF['template']['_CONF']['info_row']['portal_news_along'];
$text = $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'];
$text = $PowerBB->functions->words_count_replace_strip_tags_html2bb($text,$num);
$text = $PowerBB->Powerparse->html2bb($text);
?>
<textarea dir="{$_CONF['info_row']['content_dir']}" class="r-right" readonly="readonly"><?php echo $text; ?></textarea>
        </td>
    </tr>
    <tr>
        <td class="theadv" valign="top">
<a href="index.php?page=topic&amp;show=1&amp;id={$LastNews_subjectList['id']}" title="Read More">
<div id="read_more_button">
{$lang['SubjectVisitor']}:
 ({$LastNews_subjectList['visitor']})
              &nbsp;{$lang['usercp_reputations']}:
  ({$LastNews_subjectList['rating']})
</div>
</a>
        </td>
        </tr>
        </table> 
</td>
<?php $t= $t+1;?>
{/Des::while}
 </tr>
 </table>

{if {$PagerLastNews}}
<table border="1" width="100%" cellpadding="0" style="border-collapse: collapse"><tr>
<tr>
<td class="row3">
<span class="r-right">
{$PagerLastNews}
</span>
        </td>
    </tr>
</table>
{/if}
{/if}

تم تحرير المشاركة بواسطة :Mr8BR بتاريخ:15-03-2017 12:19 صباحاً


look/images/icons/i1.gif [مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى
  15-03-2017 12:40 صباحاً   [7]
Soliman
معلومات الكاتب
تفضل

CODE

{if {$_CONF['info_row']['style_block_latest_news']} =='1'}
<table width="100%" class="border" cellpadding="0" style="border-collapse: collapse">
{Des::while}{LastNews_subjectList}
<?php
$writer= $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['writer'];
$Info_writer = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['member'] . " WHERE username = '$writer'");
$InfoWriter = @mysql_fetch_array($Info_writer);
$avater_path = $InfoWriter['avater_path'];
?>
<tr>
<td class="thead">
<?php $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title']);?>
<span class="l-left">
<font class="smallfont">
{$lang['SubjectVisitor']}:
({$LastNews_subjectList['visitor']})
{$lang['Comments']}:
({$LastNews_subjectList['reply_number']})
</font>
</span>
<span class="r-right">
<img border="0" alt="{$LastNews_subjectList['title']}" src="{$LastNews_subjectList['icon']}">
<a href="index.php?page=topic&amp;show=1&amp;id={$LastNews_subjectList['id']}">{$LastNews_subjectList['title']}</a>
</span>
</td>
</tr>
<tr>
<td class="blocks_info">
<span class="l-left">
<font class="smallfont">
{$LastNews_subjectList['write_date']}
</font>
</span>
<span class="r-right">
<img border="0" src="look/portal/images/news_icon.gif" alt="Writer">
{$lang['LastsPostsWriter']}
<a href="index.php?page=profile&amp;show=1&amp;id=<?php echo $InfoWriter['id']; ?>">{$LastNews_subjectList['writer']}</a>
</span>

</td>
</tr>
<tr>
<td class="blocks_info" valign="top">
<?php
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = $PowerBB->Powerparse->replace($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']);
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']);
?>
{$LastNews_subjectList['text']}






<span class="r-right"><a href="index.php?page=topic&amp;show=1&amp;id={$LastNews_subjectList['id']}"><img border="0" src="look/portal/images/read_more_button.png" alt="readmore"></a></span>

</td>
</tr>
{/Des::while}
{if {$PagerLastNews}}
<tr>
<td class="blocks_info">

<span class="r-right">
{$PagerLastNews}
</span>
</td>
</tr>
{/if}

</table>
{else}
<?php $t= 0;?>
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse" align="center"><tr>
{Des::while}{LastNews_subjectList}
<?php
if ($PowerBB->_CONF['info_row']['portal_columns'] == '1' )
{
$columns_News = "3";
}
else
{
$columns_News = "2";
}
if($t== $columns_News){
$t=0;
echo "</tr><tr>";
}?>
<td valign="top">
<table border="1" width="100" class="border" cellpadding="0" style="border-collapse: collapse" align="center"><tr>
<td class="LastNews-tabclear" valign="top">

<?php
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title']);
$title = $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'];
$num = "20";
$title = $PowerBB->functions->words_count($title,$num);?>
<a href="index.php?page=topic&amp;show=1&amp;id={$LastNews_subjectList['id']}" title="<?php echo $title;?>"><?php echo $title;?></a>
</td>
</tr>
<tr>
<td class="rowthumb" valign="top">

<a href="index.php?page=topic&amp;show=1&amp;id={$LastNews_subjectList['id']}" title="<?php echo $title;?>">
<?php
$x = 1;

$images = array();
$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'] = stripslashes($PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text']);
preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'], $images);
foreach ($images[2] as $src)
{
if($src)
{
echo '<img border="0" width="200" height="200" src="'.$src.'" alt="'.$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'].'">';
}

break;
}
if(!preg_match_all('/src=([\'"])?((?(1).*?|\S+))(?(1)\1)/', $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'], $images))
{
echo '<img border="0" width="200" height="200" src="look/portal/images/traffic_cone.png" alt="'.$PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['title'].'">';
}

?>
</a>
</td>
</tr>
<tr>
<td class="row1" valign="top">
<?php
$num = $PowerBB->_CONF['template']['_CONF']['info_row']['portal_news_along'];
$text = $PowerBB->_CONF['template']['while']['LastNews_subjectList'][$this->x_loop]['text'];
$text = $PowerBB->functions->words_count_replace_strip_tags_html2bb($text,$num);
$text = $PowerBB->Powerparse->html2bb($text);
?>
<textarea dir="{$_CONF['info_row']['content_dir']}" class="r-right" readonly="readonly"><?php echo $text; ?></textarea>
</td>
</tr>
<tr>
<td class="theadv" valign="top">
<a href="index.php?page=topic&amp;show=1&amp;id={$LastNews_subjectList['id']}" title="Read More">
<div id="read_more_button">
{$lang['SubjectVisitor']}:
({$LastNews_subjectList['visitor']})
&nbsp;{$lang['usercp_reputations']}:
({$LastNews_subjectList['rating']})
</div>
</a>
</td>
</tr>
</table> 
</td>
<?php $t= $t+1;?>
{/Des::while}
</tr>
</table>

{if {$PagerLastNews}}
<table border="1" width="100%" cellpadding="0" style="border-collapse: collapse"><tr>
<tr>
<td class="row3">
<span class="r-right">
{$PagerLastNews}
</span>
</td>
</tr>
</table>
{/if}
{/if}

look/images/icons/i1.gif [مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى
  15-03-2017 12:45 صباحاً   [8]
Mr8BR
معلومات الكاتب
شكرآ لك اخي سليمان

look/images/icons/i1.gif [مجابه] كيفية أزالة الصورة شخصية من بوابة المنتدى
  15-03-2017 02:25 صباحاً   [9]
Soliman
معلومات الكاتب
السلام عليكم ورحمة الله وبركاته ،،

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



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



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






الساعة الآن 11:28 AM