Kunena 5.2.6 released and Blue eagle 1.6.6 released (25 Jul 2021)

The Kunena team has announce the arrival of Kunena 5.2.6 [K 5.2.6] 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.6

× 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.

Solved SOLVED: Display Reply Count in Article Details

7 years 2 weeks ago - 7 years 2 weeks ago #1 by Oddy94

I want to display the total count of replies in my article details.
How can I access it?

I found out, that the variable %1d must have something to do with it.
PLG_KUNENADISCUSS_DISCUSS_ON_FORUMS="Discuss this article in the forums (%1d replies)."

Does anyone know how to get the total count of replies?
Last edit: 7 years 2 weeks ago by Oddy94. Reason: Problem solved

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

7 years 2 weeks ago - 6 years 6 months ago #2 by Oddy94

I've found a better solution for this problem!

I solved this by myself. Here a little guide.

1. This is how Kunena display the Comment Count (Link at the bottom).

2. I created a template override of the blog_item.php file of the prostar template (put it in the html folder of my own template). You may have to change this code in multiple "views"-files. But I think you know how this works. If not: docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core

The highlighted text is where Kunena makes the output of the "Discuss in Forum"-Link. Delete the item-sperator div and...

3. Insert the PHP-Line where you want to place the reply-counter.

4. Create a language override for PLG_KUNENA_DISCUSS_ON_FORUMS like I did it in the image.

5. This is how i want the comment count to look like. Just a counter in article details that links to the forum thread.

I hope this helped everyone with the same problem.
If you need help: info[at]oddymedia.com

Cheers, Oddy
Last edit: 6 years 6 months ago by Oddy94.

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

6 years 9 months ago #3 by gvour

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