Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

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

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

This category is for the plugin developed, endorsed, maintained and supported by the Kunena project team. The topics in this category only relate to the plugin developed for K 1.6 and later versions.

Question Kunena Discuss v 1.6.4 shows the number "1" in top of ALL articles - why?

More
14 years 9 months ago #105036 by Netthandel
I have also tried this patch (post 4 here). But that resulted in nothing being shown at all...

:-(
The topic has been locked.
More
14 years 9 months ago #105098 by Netthandel
The topic has been locked.
More
14 years 9 months ago - 14 years 9 months ago #105165 by sozzled
This problem has been resolved in a new version of Kunena Discuss that will be released very soon.

In the meantime, for anyone who wants to know how to fix this problem, the answer - again - is:

(1) If you are using Kunena Discuss 1.6.4, edit the file kunenadiscuss.php, find the following code
Code:
if ($kunenaCategory || $kunenaTopic) { self::$plgDisplay [$article->id] = $this->showPlugin ( $kunenaCategory, $kunenaTopic, $article, $show == 1 ); } } // end of $ksource!='kunena' check return true; } // *** display content *** protected function display($context, &$article, &$params) { if (isset ( self::$plgDisplay [$article->id] )) { $this->debug ( "onAfterDisplayContent: Returning content for article {$article->id}" );
Remove the line 235 that says "return true;", like this:
Code:
if ($kunenaCategory || $kunenaTopic) { self::$plgDisplay [$article->id] = $this->showPlugin ( $kunenaCategory, $kunenaTopic, $article, $show == 1 ); } } // end of $ksource!='kunena' check // return true; } // *** display content *** protected function display($context, &$article, &$params) { if (isset ( self::$plgDisplay [$article->id] )) { $this->debug ( "onAfterDisplayContent: Returning content for article {$article->id}" );
(2) If you can't do this simple thing, you can download (and extract from the .ZIP file) an edited version of kunenadiscuss.php from either of these two places:
  • msg #38 of Number Thingy; or
  • msg #4 of In Category Blog view, all of the comments and the quick reply form is shown after the article title .
We assume that you know where, on your server, the file kunenadiscuss.php is located. Do you know which file on your server you need to replace?
Last edit: 14 years 9 months ago by sozzled.
The topic has been locked.
More
14 years 8 months ago #105204 by Netthandel
Hi,
The case is that I HAVE done that :-)

I am no novice, even though I am pretty new here at this forum. Been using Joomla since the day it was birth from Mambo, and have done a lot of core hacks (in the past) in both Joomla, CB, Group Jive etc. Now it's none core hacks anymore, and onlu JomSocial and Kunena and EasyBlog :-)

However I don't have the "1" issue any longer, BUT I can not control what is shown on the front page. It either shows full discuss - or nothing anywhere.

Attached is my current file shown in DreamWeaver :-)
The topic has been locked.
More
14 years 8 months ago - 14 years 8 months ago #105285 by sozzled
This topic is only about the number "1" appearing at top of all articles. As you say, you've fixed that issue. That's good. The other matter you raise is off-topic to this discussion. You should use another topic for your discussion.

The last time we had a topic about this "number 1" issue, someone else also went off-topic and we had to lock the topic because it became too confusing. That is what is happening this time.

The subject of this topic is "Kunena Discuss v 1.6.4 shows the number "1" in top of ALL articles - why?". For other people who want the answer to this question, the answer is given in msg #2 of this topic and the answer is repeated in msg #21. This "number 1" problem that affects KD 1.6.4 has been fixed in Kunena Discuss 1.7.

This topic is now locked.
Last edit: 14 years 8 months ago by sozzled.
The topic has been locked.
More
14 years 8 months ago - 14 years 8 months ago #105347 by SteinerPDP
I'm preparing a new J 1.7 site and installed K 1.6.5 (1.6.5_b5005_2011-07-27) with Discuss (plg_kunenadiscuss_v1.6.4_b289_2011-05-07).

Installation went without a hitch. However, there is a "1" showing underneath the Joomla article title (before the date), irrespective of the J template or the plug-in hierarchy.



It only disappears when I disable the plug-in. It also shows on catergory content that is excluded.

[KunenaDiscuss debug: Created #__kunenadiscuss cross reference table. ]
[KunenaDiscuss debug: Constructor called in com_content ]
[KunenaDiscuss debug: onPrepareContent.Allow: Category 8 is in the category map using Kunena category 6 ]
[KunenaDiscuss debug: onPrepareContent: Article 5 ]
[KunenaDiscuss debug: onPrepareContent: Custom Topics disabled ]
[KunenaDiscuss debug: showPlugin: Rendering discussion ]
[KunenaDiscuss debug: onAfterDisplayContent: Returning content for article 5 ]

Same behaviour on safari 5.1, chrome and firefox 6.

Any suggestions?
Last edit: 14 years 8 months ago by SteinerPDP. Reason: error in subject
The topic has been locked.
Time to create page: 0.238 seconds