افتح ملف : includes/pbboardCodeparse.class.php
وابحث ابتداءً من السطر 1142 إلى السطر 1146 عن :
CODE
if(!@strstr($img,$PowerBB->_SERVER['HTTP_HOST'])
and!@strstr($img,"smiles"))
{
$img = str_replace('alt=""', 'alt="http://'.$PowerBB->_SERVER['HTTP_HOST'].$PowerBB->_SERVER['REQUEST_URI'].'"', $img);
}
واستبدله بـ :
CODE
// get page title
$url = "http://".$PowerBB->_SERVER['HTTP_HOST'].$PowerBB->_SERVER['REQUEST_URI']."";
if($PowerBB->_GET['page']=='topic'){
$SubjectArr = array();
$SubjectArr['where'] = array('id',$PowerBB->_GET['id']);
$SubjectInfov = $PowerBB->subject->GetSubjectInfo($SubjectArr);
$subject_title = trim($PowerBB->Powerparse->censor_words($SubjectInfov['title']));
}
if (isset($subject_title))
{
$alt = $subject_title;
}
else
{
$alt = $subject_title;
}
if(!@strstr($img,$PowerBB->_SERVER['HTTP_HOST'])
and!@strstr($img,"smiles"))
{
$img = str_replace('alt=""', 'alt="'.$alt.'"', $img);
}
انتهى ..
طلب مشابه
[مجابه] طلب هاك وضع اوصاف للصور
ينقل لـ
طلبات وحلول الملحقات البرمجية