Alttaki Kodları Bulun:
function urlize($txt) {
global $vbulletin;
if ($vbulletin->options['vrewrite_stopword_on']) {
$stop_words = preg_split('#\s+#', $vbulletin->options['vrewrite_stopword_filter'] );
foreach ($stop_words AS $word) {
$txt = preg_replace('#\s' . $word . '\s#i', ' ', $txt);
}
}
$txt = unaccent($txt);
$txt = html_entity_decode($txt);
$txt = str_replace(' ', '-', $txt);
$txt = str_replace('_', '-', $txt);
$txt = preg_replace('#[^a-zA-Z0-9_\-]+#', '', $txt);
$txt = preg_replace('#[\-]+#', '-', $txt);
return strtolower($txt);
}Değiştirin:
function urlize($txt) {
global $vbulletin;
if ($vbulletin->options['vrewrite_stopword_on']) {
$stop_words = preg_split('#\s+#', $vbulletin->options['vrewrite_stopword_filter'] );
foreach ($stop_words AS $word) {
$txt = preg_replace('#\s' . $word . '\s#i', ' ', $txt);
}
}
$txt = str_replace('ğ', 'g', $txt);
$txt = str_replace('ç', 'c', $txt);
$txt = str_replace('ı', 'i', $txt);
$txt = str_replace('İ', 'I', $txt);
$txt = str_replace('Ö', 'O', $txt);
$txt = str_replace('ö', 'o', $txt);
$txt = str_replace('Ü', 'U', $txt);
$txt = str_replace('ü', 'u', $txt);
$txt = unaccent($txt);
$txt = html_entity_decode($txt);
$txt = str_replace(' ', '-', $txt);
$txt = str_replace('_', '-', $txt);
$txt = preg_replace('#[^a-zA-Z0-9_\-]+#', '', $txt);
$txt = preg_replace('#[\-]+#', '-', $txt);
return strtolower($txt);
}Kendinize Göre Değiştirebilirsiniz.Ama Yinede Problem Oluyor.
Örneğin : i => y Olarak Çıkıyor...