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

  • lev
  • lev's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Lorem Ipsum...
More
15 years 8 months ago - 15 years 8 months ago #58377 by lev
encoding was created by lev
Find router.php
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.

  • lev
  • lev's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Lorem Ipsum...
More
15 years 8 months ago #58498 by lev
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

Sorry for my English.

Please Log in or Create an account to join the conversation.

More
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.

More
15 years 8 months ago #58541 by fxstein
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.

More
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.

More
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