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

ملحق الروابط المحسنة لمحركات البحث html seo links


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif [تحت الإختبار] ملحق الروابط المحسنة لمحركات البحث html seo links
  14-08-2011 04:26 مساءً  
PhpMax
معلومات الكاتب
المشاركة الأصلية كتبت بواسطة: StoL Are you interested in Turkish characters have to solve the problem of
I don't know why you want to change Turkish letters to English .!!

I can't add it the mod until I know the reason and is it important, because these are UTF8 chars.
It is not recommended to put such letters directly on php class files

If you still want it: Edit the file

includes/functions.class.php

find

CODE
$string = $PowerBB->sys_functions->CleanVariable($string, 'html');


add above it this line

CODE
$string = str_replace(array('ş','Ş','ö','Ö','ı','I','ğ','Ğ','Ç','ç','Ü','ü'), array('s','s','o','o','i','i','g','g','c','c','u','u'), $string); 


remember these are utf8 chars, you must change the file encoding to be utf8.

save and upload
 
  functions.class_seo_turkish_chars.zip   تحميل zip مرات التحميل :(16)
الحجم :(8.644) KB


تم تحرير المشاركة بواسطة :emovip بتاريخ:14-08-2011 04:28 مساءً



الساعة الآن 04:12 PM