
17-05-2007, 00:20:30
|
| |
/sources/classes/bbcode/class_bbcode_core.php
açıyoruz.
Aşağıdaki satırı aratıp buluyoruz. Alıntı:
return ( isset($url['st']) ? $url['st'] : '' ) . "<a href=\"".$url['html']."\" target=\"_blank\">".$show."</a>" . $url['end'];
}
| Sonra şununla değiştiriyoruz. Alıntı:
return ( isset($url['st']) ? $url['st'] : '' ) . "<a href=\"".$url['html']."\" rel=\"nofollow\" target=\"_blank\">".$show."</a>" . $url['end'];
}
| Eğer kendi domainimiz ile ilgili linklere bu tagı eklemesin istiyorsak o zaman bunu kullanıyoruz. Alıntı:
if ( strpos($url['html'],'DOMAINADIN.com' ) ) {
return ( isset($url['st']) ? $url['st'] : '' ) . "<a href=\"".$url['html']."\" target=\"_self\">".$show."</a>" . $url['end'];
}
else {
return ( isset($url['st']) ? $url['st'] : '' ) . "<a href=\"".$url['html']."\" target=\"_blank\" rel=\"nofollow\">".$show."</a>" . $url['end'];
}}
| Elbetde DOMAINADIN.com yerine forum veya sitenin adresini yazıyorsun.
Saygılar.
Zagor. |