|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
hi everybody.. I installed 4 0 2 and it perfectly works, but I have a problem with the turkish characters in url of the forums and posts .. I have this problem: http://ilkerhoca.org/showthread.php?6-ingilizce-%FEakalar : instead s I get this sembol: %FE in earlier versions I could solve this problem by adding some codes into class_friendly_url file.. I remove these lines HTML Code: // Remove url entities $fragment = preg_replace(self::CLEAN_REGEX, '-', strip_tags($fragment)); $fragment = trim(preg_replace('#-+#', '-', $fragment), '-'); and I put these and the problem is solved.. HTML Code: // Remove url entities { $translite_simbols = array( '?'=>'U', 'ü'=>'u', '?'=>'A', '?'=>'a', 'ss'=>'ss', '?'=>'o', '?'=>'O', 'ç'=>'c', '?'=>'C', 'ğ'=>'g', 'Ğ'=>'g', 'ü'=>'u', '?'=>'u', 's'=>'s', 'Ş'=>'S', 'ı' => 'i', 'i'=>'i', 'I'=>'I', '®'=>'r', '©'=>'c', '€'=>'E', 'ue'=>'u', 'oe'=>'o' '√' => 'v', '?' => 'c', 'ç' => 'c', '?' => 'u', 'ü' => 'u', '?' => 'o', '?' => 'o', 'ı' => 'i', 'İ' => 'i', 'é' => 'i', 'â' => 'a', '?' => 'e', '?' => 'a', '?' => '', '*' => '', '.' => '', ',' => '', ';' => '', ')' => '', '~' => '', '(' => '', '{' => '', '}' => '', '[' => '', ']' => '', '!' => '', '@' => '', '+' => '', '"' => '', '%' => '', '&' => '', '#' => '', '$' => '', '=' => '', 'ê' => 'e' ); $fragment = strtr($fragment, $translite_simbols); $fragment = to_ascii($fragment); return trim(urlencode(preg_replace('#-+#', '-', $fragment)), '-'); } but in the latest version it doesn't w0rk... please help me.. __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |