Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Posting guide:

For a quick response, please give us as much information that helps us to understand the problem.
Please read first What information should I include when I ask for help (including how to post my configuration report)?
This category is for:
  • Kunena 1.7 product-related issues only; and
  • when your Kunena forum does not work.
Do not use this category:
  • to request adding to or removing from the standard features of Kunena;
  • if your question is of a commonly asked "how to" nature;
  • if you are not using the latest stable release of Kunena; or
  • ▪ general Joomla or website adminstration matters
General hints: How To Ask Questions The Smart Way .
Please read the guides posted as sticky topics in this category.
Also refer to the FAQs menu tab above for frequently asked questions.

Note: Support for, and all questions relating to, K 1.7 will cease on 31 August 2012. Our advice is, if you are having problems with K 1.7, to upgrade to K 2.x as soon as practicable,

Question Cyrrilic meta description for posts

More
12 years 1 week ago #1 by smartcall
Hello,

I just found out that this line
Code:
$metaDesc = preg_replace('/^[^\w0-9]+/', '', $metaDesc); // remove characters at the beginning that are not letters or numbers
in the file view.php is causing empty meta description when the first post is in cyrrilic, so I commented it.

I guess an updated regex would fix the issue. Also it would be a great idea if the developers mind the fact that not all people in the world write in Latin alphabet.

Thanks for the good forum!
The following user(s) said Thank You: ChaosHead, shibaevvv

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

More
11 years 6 days ago #2 by 810
@ChaosHead can you test if this works:

remove that one line. And add this:

$description = preg_replace('/[^a-z0-9 àáâãäåçèéêëìíîïðñòóôõöøùúû-]+/g', '', $description);
$description = preg_replace('/ +/g', ' ', $description);

regards 810

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

Time to create page: 0.329 seconds