×
Kunena 5.2.2 released (13 Jan 2021)

The Kunena team has announce the arrival of Kunena 5.2.2 [K 5.2.2] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.2 and issues discovered during the development stages of K 5.2.2

× 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
8 years 10 months ago #21 by Trunkz Jr
We have about 101,900 replies on our forum. Just wondering how can we have it so it shows that number rather then just 101.9k?

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

More
8 years 10 months ago #22 by sozzled

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

More
8 years 10 months ago #23 by Trunkz Jr
Replied by Trunkz Jr on topic Re: More 9999 replies

gjhvs wrote:

ComposerRyan wrote: 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;
}



Yes this code does the trick, ty for posting it ^^

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

More
8 years 10 months ago #24 by Trunkz Jr
Hmmmm. I notice that even tho it's displaying it the way I want to, it's not counting each post being made (example it's not hitting 101901 even tho we've had multiple people post in this category. Anyone know the fix so it counts every since post? The way it is now, I can only guess that it will change every 100 or 1000 posts or something.

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.073 seconds