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
Question [Merged topic] When the number of views or replies is greater than 9999 ...
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- ComposerRyan
-
- Offline
- Junior Member
-
- Posts: 40
- Thank you received: 3
Please Log in or Create an account to join the conversation.
Each time you upgrade Kunena you will have to remember to change this file.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- ComposerRyan
-
- Offline
- Junior Member
-
- Posts: 40
- Thank you received: 3
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;
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.