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.

Question [Merged topic] When the number of views or replies is greater than 9999 ...

More
15 years 6 months ago #68094 by sozzled
Replied by sozzled on topic Re: More 9999 replies
What option were you looking to find? Kunena, as you already know, can be changed. Somewhere in the source code there will be a conditional statement that says, if the number of replies is greater than 9999 divide that number by 1000 and put a K after it. But I haven't dug into at the source code to find where that statement is. That's something you can do. ;)
The following user(s) said Thank You: ComposerRyan

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

More
15 years 6 months ago #68291 by ComposerRyan
Replied by ComposerRyan on topic Re: More 9999 replies
Okay, I have no idea where to find that in the source code unfortunately. :( I will try to look at it but Kunena has hundreds of files to look through...

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

More
15 years 6 months ago #68295 by sozzled
Replied by sozzled on topic Re: More 9999 replies
You will find the coding that changes the number forum in ../component/com_kunena/class.kunena.php - from around line 656, look for the function formatLargeNumber($number, $precision = 4)

Each time you upgrade Kunena you will have to remember to change this file.
The following user(s) said Thank You: ComposerRyan

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

More
15 years 6 months ago #68442 by ComposerRyan
Replied by ComposerRyan on topic Re: More 9999 replies
Thanks again Sozzled! Here is what I changed:

open components/com_kunena/class.kunena.php


1) Next find this code:

} elseif ($number >= 1000000) {
$output = $number / 1000000 . JText::_('COM_KUNENA_MILLION');
} else {
$output = $number / 1000 . JText::_('COM_KUNENA_THOUSAND');
}




2) Next, replace it with this:

} elseif ($number >= 1000000) {
$output = $number;
} else {
$output = $number;
}

The following user(s) said Thank You: gjhvs

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

More
15 years 6 months ago - 15 years 6 months ago #70243 by pequeno74
Nobody has seen this?
Point and K apperars...



Appears in the views or replies.

Thanks.
Last edit: 15 years 6 months ago by pequeno74.

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

More
15 years 4 months ago - 15 years 4 months ago #80725 by gjhvs
I have just installed Kunena 1.6.2. and love it so far :)

I have a very big and busy forum so a lot of topics are viewed more than thousands and thousands of times.
When you look at a category index of the forum you can see that in the column 10.000 views for instance.

I do find the way the views are presented a bit strange. If you look at the file attached in the column 'bekeken' (=views in Dutch). Look at the first topic, it is viewed 61.37duizend (duizend=the word thousand in dutch).

I find that a bit strange. I'd rather have it displayed just in numbers like 61.372 (and not with the word 'duizend').

I have looked in the admin but can't find anything... Is this changeble? And if yes, how can I change it so the views will be like 61.178 / 10.890 again?

Hope someone can help :)

Kind regards, GertJan
Last edit: 15 years 4 months ago by gjhvs.

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

Time to create page: 0.342 seconds