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

This category is for discussing issues with the K 2.0 Blue Eagle template.

As general background, My Joomla site template makes a mess of Kunena .

We do not answer questions about other templates for Kunena here.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question change number format from 20k to 20,000

More
13 years 7 months ago #134484 by woonydanny
Sometimes I think you write for the sake of writing. Your last response was just not necessary. I understand the process and realise that by adding a setting it is going to mean some changes to the extension.

I think this would be a useful addition to the core extension that would suit many users.

If there weren't any changes to kunena it would sit stagnant, so obviously the extension is going to have changes made to it going forward. Frankly, on a coding issue I would prefer to hear a response from Matias et al.

still wish that i can write my forum signature through a jomsocial plugin and do it from my jomsocial profile :(

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

More
13 years 7 months ago #134490 by sozzled
You say it's not that hard to add extra options to the configuration. I say it's not as easy as you think. I respect your opinion to ask questions. Please respect my opinion, too, even if you disagree or do not like my responses.

My response was not specifically targeted at you; I was merely trying to explain, for the benefit of others reading this topic, that when we're discussing the addition of new configuration options, we're discussing a very different issue from a hack.

When Matias or other developers have time to devote from their busy schedules, they will respond in their own good time. I do not make promises on their behalf.

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

More
13 years 2 months ago - 13 years 2 months ago #141012 by Mikote
Hello.

I made this modification and works fine.

In Kunena 2.0.4 need to modify the function formatLargeNumber found in:
/administrator/components/com_kunena/libraries/view.php

Original code:
Code:
public function formatLargeNumber($number, $precision = 3) { $output = ''; // Do we need to reduce the number of significant digits? if ($number >= 10000){ // Round the number to n significant digits $number = round ($number, -1*(log10($number)+1) + $precision); } if ($number < 10000) { $output = $number; } elseif ($number >= 1000000) { $output = $number / 1000000 . JText::_('COM_KUNENA_MILLION'); } else { $output = $number / 1000 . JText::_('COM_KUNENA_THOUSAND'); } return $output; }

Modify code:

public function formatLargeNumber($number, $precision = 3) {
// $output = '';
// Do we need to reduce the number of significant digits?
$salida=$number;
// if ($number >= 10000){
// // Round the number to n significant digits
// $number = round ($number, -1*(log10($number)+1) + $precision);
// }
// if ($number < 10000) {
// $output = $number;
// } elseif ($number >= 1000000) {
// $output = $number / 1000000 . //JText::_('COM_KUNENA_MILLION');
// } else {
// $output = $number / 1000 . //JText::_('COM_KUNENA_THOUSAND');
// }

return $salida;
}


I hope it helpful, regards :)

Miguel
Madrid (Spain)
Last edit: 13 years 2 months ago by Mikote.

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

Time to create page: 0.245 seconds