Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Important encoding
15 years 8 months ago - 15 years 8 months ago #58377
by lev
Sorry for my English.
Find router.php
Changing
Thanks for the know-how ChaosHead! :evil:
example of this script here at: forum
router_php.zip this archive for K1.5.11
Code:
function filterOutput($str){
return trim(preg_replace(array('/\s+/','/[\$\&\+\,\/\:\;\=\?\@\'\"\<\>\#\%\{\}\|\\\^\~\[\]\`\.]/'), array('-',''), $str));
}
Changing
Code:
function filterOutput($str)
{
// { Cha0sHead
$gost = array(
"Рђ"=>"A","Р‘"=>"B","Р’"=>"V","Р“"=>"G","Р”"=>"D",
"Р•"=>"E","РЃ"=>"JO","Р–"=>"ZH",
"Р—"=>"Z","Р"=>"I","Р™"=>"J","Рљ"=>"K","Р›"=>"L",
"Рњ"=>"M","Рќ"=>"N","Рћ"=>"O","Рџ"=>"P","Р "=>"R",
"РЎ"=>"S","Рў"=>"T","РЈ"=>"U","Р¤"=>"F","РҐ"=>"H",
"Р¦"=>"C","Р§"=>"CH","РЁ"=>"SH","Р©"=>"SHH","РЄ"=>"",
"Р«"=>"Y","Р¬"=>"","Р"=>"JE","Р®"=>"YU","РЇ"=>"YA",
"Р°"=>"a","Р±"=>"b","РІ"=>"v","Рі"=>"g","Рґ"=>"d",
"Рµ"=>"e","С‘"=>"jo","Р¶"=>"zh",
"Р·"=>"z","Рё"=>"i","Р№"=>"j","Рє"=>"k","Р»"=>"l",
"Рј"=>"m","РЅ"=>"n","Рѕ"=>"o","Рї"=>"p","СЂ"=>"r",
"СЃ"=>"s","С‚"=>"t","Сѓ"=>"u","С„"=>"f","С…"=>"h",
"С†"=>"c","С‡"=>"ch","С€"=>"sh","С‰"=>"shh","СЉ"=>"",
"С‹"=>"y","СЊ"=>"","СЌ"=>"je","СЋ"=>"yu","СЏ"=>"ya"," "=>"-"
);
$str1 = trim($str);
$str1=strtr($str1, $gost);
$str1=preg_replace(array('/\s+/','/[\$\&\+\,\/\:\;\=\?\@\'\"\<\>\#\%\{\}\|\\\^\~\[\]\`\.]/'), array('-',''), $str1);
// remove any '-' from the str they will be used as concatonater
$str1 = str_replace ('-', ' ', $str1);
// lowercase and trim
$str1 = trim (strtolower ($str1));
// remove any duplicate whitespace, and ensure all characters are alphanumeric
$str1 = preg_replace(array('/\s+/','/[^A-Za-z0-9\-]/'), array('-','-'), $str1);
return $str1;
// Cha0sHead }
//off// return trim(preg_replace(array('/\s+/','/[\$\&\+\,\/\:\;\=\?\@\'\"\<\>\#\%\{\}\|\\\^\~\[\]\`\.]/'), array('-',''), $str));
}
Thanks for the know-how ChaosHead! :evil:
example of this script here at: forum
router_php.zip this archive for K1.5.11
Sorry for my English.
Last edit: 15 years 8 months ago by lev.
The following user(s) said Thank You: ChaosHead
Please Log in or Create an account to join the conversation.
15 years 8 months ago #58498
by lev
Sorry for my English.
Replied by lev on topic Re: encoding
sorry! actually forgot to write version Kunena 1.6.0 RC1 Installer/updater
tested on engine Jomla 1.5.20
tested on engine Jomla 1.5.20
Sorry for my English.
Please Log in or Create an account to join the conversation.
15 years 8 months ago #58534
by Cerberus
Replied by Cerberus on topic Re: encoding
this topic is absolutely meanless to me, can you explain what it is even about ???
Please Log in or Create an account to join the conversation.
15 years 8 months ago #58541
by fxstein
We love stars on the Joomla Extension Directory .
Replied by fxstein on topic Re: encoding
This is a hack for SEF URLs in combination with non-Latin characters and how to turn them in to latin ones for more compatible URLs.
We love stars on the Joomla Extension Directory .
Please Log in or Create an account to join the conversation.
15 years 8 months ago #58572
by Cerberus
Replied by Cerberus on topic Re: encoding
sounds a clever idea to me nice one lev.
Please Log in or Create an account to join the conversation.
15 years 8 months ago #58605
by Matias
Replied by Matias on topic Re: encoding
There is also configuration option in Kunena to show those Russian letters in your URL.. with no transliteration.
Please Log in or Create an account to join the conversation.
Time to create page: 0.235 seconds