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]The great Mootools/Javascript conflict discussion

More
15 years 4 months ago #78041 by sozzled

morness wrote: I'm really not sure what I'm supposed to do next. System - Mootools12 does not appear in my plugin list, though the upgrade one does. Upgrading Mootools doesn't seem so cut and dry... not sure how to go about that. We're using a custom template based off of rhys_milkyway that uses jquery 1.3.

You are right. If you are using Joomla 1.5.21 then System - Mootools12 will not appear on your plugin list. What you need to do next is to remove, from the extension that has it, the reference to
Code:
<script type="text/javascript" src="/joomla/media/system/js/mootools.js"></script>
Another thing that you might possibly do is to rename the file ../joomla/media/system/js/mootools.js as ../joomla/media/system/js/mootools.old.

If you are using jQuery, you need to make sure that it is loaded in "noconflict" mode.
The following user(s) said Thank You: morness
The topic has been locked.
More
15 years 4 months ago #78056 by morness

sozzled wrote: If you are using jQuery, you need to make sure that it is loaded in "noconflict" mode.

Thank you! After a couple hours of experimenting, researching, and learning... was finally able to get it all working. Turns out my problems had nothing to do with mootools, therefore kind of the wrong thread. In my case, it was a jquery/javascript conflict, which I suppose is the same thing. Our website had jquery code to do fades, slideouts, and transitions, and apparently that code stomped all over Kunena functionality. Putting the code into noConflict mode is what ultimately fixed it.

You can read on for other things I messed around with to figure it all out.

sozzled wrote: You are right. If you are using Joomla 1.5.21 then System - Mootools12 will not appear on your plugin list. What you need to do next is to remove, from the extension that has it, the reference to

Code:
<script type="text/javascript" src="/joomla/media/system/js/mootools.js"></script>
Another thing that you might possibly do is to rename the file ../joomla/media/system/js/mootools.js as ../joomla/media/system/js/mootools.old.

1. We were using JBLibrary (which owns jquery), and disabling it had no effect... and the website still worked! So then I looked at the code to see where it was referencing jquery, and found it was grabbing directly from jquery.com. Doh! So I fixed that and pointed that to our own internal version within JBLibrary, although that also feels wrong:
Code:
<script src="/joomla/media/plg_jblibrary/jquery/jquery-1.4.4.min.js" type="text/javascript"></script>
This is because if I disable JBLibrary, the jquery still runs because we're just skipping the whole intermediate layer and going right to the source.

3. Renaming mootools.js to something else or disabling Mootools via JBLibrary both had the same effect. Couldn't discover what impact that had on the site, but in either case, the Kunena features still did not work. So basically this proved mootools wasn't the issue here.

4. I could get the Kunena features back was by disabling JBLibrary and switching our template to the default rhys_milkyway. That basically proved it was jquery.

5. I had no clue how to get jquery in noconflict mode, but this article helped me figure it out: api.jquery.com/jQuery.noConflict/
The topic has been locked.
More
15 years 4 months ago #78060 by sozzled

morness wrote: Turns out my problems had nothing to do with mootools, therefore kind of the wrong thread. In my case, it was a jquery/javascript conflict, which I suppose is the same thing. Our website had jquery code ...

No, this isn't the wrong topic. Kunena uses Mootools 1.2.4 and therefore if you can't get the Javascript behaviours for the BBclode toolbar, the smiley insertion, the inability to edit profiles, etc., then you have a Mootools 1.2.4 conflict issue with another Javascript library.

The two Javascript libraries that cause the most problems for Kunena are Mootools 1.1.2 and jQuery.
The topic has been locked.
More
15 years 4 months ago - 15 years 4 months ago #78066 by iVeedu
I wish there is a dummies version of step-by-step instruction to fix this. I should have stayed with K1.5 :(

Anyone know any trick to insert an image in the topic without the help of k toolbar?
Last edit: 15 years 4 months ago by iVeedu.
The topic has been locked.
More
15 years 4 months ago #78102 by tanya0602
I have the same problem as in first post. I even found the reason for this: Rocketthemes plugin System_Rokbox. I tried older versions and the new one - 2.5. All the same Kunena and it are not friends.
Now i swiched this plugin off/// And it was usefull for me template. Othere is a topic about this on Rocket forum, but without replies yet:(
The topic has been locked.
More
15 years 4 months ago - 15 years 4 months ago #78109 by lanya
Replied by lanya on topic 1.6.1 error help
Poor English translation machine translation of:After I installed 1.6.1 MooTools Open Show * Kunena: You have a plug-in that uses MooTools 1.1 or a custom version of JHTMLBehavior.
* Many features, including Quick Reply and the BBCode editor, may be broken.
* Please enable the System - MooTools Upgrade plug-in.

then led me to my big brother some modules will not work Does any know how this is true? My php: 5.2.11joomla: 1.5.22apache2.2.11
Last edit: 15 years 4 months ago by lanya.
The topic has been locked.
Time to create page: 0.289 seconds