- Posts: 7
- Thank you received: 0
Kunena 6.3.8 Released
The Kunena team has announce the arrival of Kunena 6.3.8 [K 6.3.8] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.
The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.
Question [Resolved] Discussion plugin in module
- OutOfPower
-
Topic Author
- Offline
- New Member
I installed Kunena discussion plugin that work very nice.
Kunena discussion plugin provides the ability to "Allow Custom Topics", with that in any item you can add the {kunena_discuss:#} where the label # is ID of topic in which the article will be discussed.
My Idea: I need to add plug-in in module position, namely to add custom HTML module and easily type in {kunena_discuss:#} than he started Kunena plugin discussion as it does in every article, but it is not possible for me, module displays only the text "{kunena_discuss:#}" and does not start plugin.
So far I have tried installing the following things:
1. mod_plugin_module
2. Article As Module Module
Articles Anywhere
3. Art Plugin
4. I added the code in index.php:
With all this I had the same result: Module displays only the text "{kunena_discuss:#}" and does not start plugin
Does anyone have an idea how to solve this?
Thanks in advance
![:) :)](/media/kunena/emoticons/8.png)
(Sorry for my bad english
![:) :)](/media/kunena/emoticons/8.png)
BTW: You only need to add {kunena_discuss:#} to assign (or change) article into existing topic -- after you've displayed the article once, you can just remove the tag because of Kunena Discuss will store that information into a table.
But.. this is not a bad idea. We just need to tell KD that we really want to run it. Line 27 in the plugin prevents it from running if you're not in com_content or com_kunena..
- OutOfPower
-
Topic Author
- Offline
- New Member
- Posts: 7
- Thank you received: 0
Of courese, we really want to run it, it's small change, but means a lot
![:) :)](/media/kunena/emoticons/8.png)
Is it possible to change the line 27 manualy and enable running in other components or in all components and modules?
I need to display the plugin in component ZOO.
Line 27-36:
Here's what I can think of:
* Small performance decrease because of plugin does some work on every page
* Other components and modules may also trigger the event and even if there are good checks in it, there may be some unexpected side effects (hopefully not)
- OutOfPower
-
Topic Author
- Offline
- New Member
- Posts: 7
- Thank you received: 0
There will be no problem for me if there might be some side effects.
I will tested that for several days, and I'll let you know the results.
Can you help me edit kunenadiscuss.php?
You can contact me via email efektiv.b.c(at)gmail(dot)com.
It would be best to resolve here, that others see if they have the same problem.
Line 27-29:
- OutOfPower
-
Topic Author
- Offline
- New Member
- Posts: 7
- Thank you received: 0
They do not appear any error, everything works perfectly!
Thank you for your help. I hope that in the future this plugin will dont have lines 27-29.
If somebody have any question about this, post your question here.
![:) :)](/media/kunena/emoticons/8.png)
- OutOfPower
-
Topic Author
- Offline
- New Member
- Posts: 7
- Thank you received: 0
Matias wrote: Just remove this (not tested):
Line 27-29:Code:// If plugin is not enabled in current scope, do not register it if (! $this->enabled ()) return null;
I made this change because I want to add 'Discussion plugin' to the ZOO platform and this change work perfectly, but, there was one problem:
Meta: keywords and description are loaded from the Kunena on the page that I made in zoo platform.
For each page in ZOO I made meta keywords and description but still ZOO show just meta data from Kunena in evry page where I have "Discussion plugin" inserted in ZOO page.
Here's how it looks with "Discussion plugin" iz ZOO page:
<meta name="keywords" content="Kunena post keywords" />
<meta name="description" content="images/stories/I-start-topic-with-picture.gif Text from post // Link from post (/link/link.html)..." />
Here's how it looks without "Discussion plugin" iz ZOO Pgae:
<meta name="keywords" content="ZOO keywords" />
<meta name="description" content="ZOO description" />
My concern are keywords and description because it look pretty bad in google.
I hope somehow this can be corrected, thanks for the help in advance. (I'm sorry for my English).
![:) :)](/media/kunena/emoticons/8.png)
- OutOfPower
-
Topic Author
- Offline
- New Member
- Posts: 7
- Thank you received: 0
![:) :)](/media/kunena/emoticons/8.png)
![:) :)](/media/kunena/emoticons/8.png)