حرر pbboardCodeparse.class.php في المجلد includes
ابحث عن:
CODE
function resize_image($img,$time='')
{
global $PowerBB;
أضف بعده:
CODE
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']));
}
والباقي نفس السابق:
استبدل
CODE
return '<img src="'.$img.'" border="0" alt="" onload="ResizeIt(this)"/>';
ب
CODE
return '<img src="'.$img.'" border="0" alt="'.$subject_title.'" title="'.$subject_title.'" onload="ResizeIt(this)"/>';
استبدل:
CODE
return '<img border="0" alt="" src="'.$img.'" />';
ب
CODE
return '<img border="0" alt="'.$subject_title.'" title="'.$subject_title.'" src="'.$img.'" />';