Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at forum.joomla.org

Question Mootools; selective enabling

More
13 years 5 months ago #11 by sozzled
Your site looks good to me, Oscar2. Javascript works in your Kunena forum. You have BBcode toolbar. Well done! :)

Now, if we could only capture this knowledge, summarise and package it into a way that other people in the same situation could benefit from, we would have a winner. ;)

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

More
13 years 5 months ago #12 by Oscar2
Well, Kunena works fine, but the mootools.js file is still loaded everywhere. That's what this topic was about.

I love Kunena 1.6 and hope to use it permanently, but not with a 75kb additional weight to all the other (1000+) pages... I really hope somehow, with your help, I can find out how to have the mootools loaded only for Kunena!

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

More
13 years 5 months ago #13 by sozzled
Well, the [Mootools] filename may be referenced on every page (and the references may not actually be invoked) but the file is not downloaded every time someone looks at a different page on your website. As you know, files are stored in your browser cache and they're only downloaded if your cache is cleared, if you force a page refresh or if the cached version of the files are different to the version on the server. Therefore, page load times should be insignificantly affected.

Do you have empirical evidence of the differences in the page load times between running with Mootools loaded and not running with it?

As I may have mentioned elsewhere (I can't remember the specifics), Joomla 1.6 will include the ability to selectively use extensions in different parts. I don't know if it helps knowing that. :S

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

More
13 years 5 months ago - 13 years 5 months ago #14 by Oscar2
Yes I know that, its just that most visitors wont use the forum and it doesnt make sense to require a 75kb additional weight to visit my website (which is entirely designed around the idea to be fast to load, or at least for joomla standards fast..).

I really appreciate all the help I got, and hope that I understood correctly that it should be possible to load mootools only on the forum pages or only for logged in users (also for Joomla 1.5)? Or is it simply no possible; in that case I have to weigh the pros and cons of 1.6 vs 1.5 (but it would be terrrrific if I could just learn a way to have mootools only for kunena parts :))
Last edit: 13 years 5 months ago by Oscar2.

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

More
13 years 5 months ago #15 by Oscar2
I got one step closer (I think) as I was recommended to disable mootools, and insert this code into my template:

<?php
$user = JFactory::getUser();
if( !$user->guest ) : ?>
<script type="text/javascript" src="/media/system/js/mootools.js"></script>
<?php endif; ?>

This way mootools is loaded only for logged in users. The strange thing is that although when I look in the source when logged in, mootools.js is listed, but the BB code doesnt work.

Hope someone can help me out, I would really like to understand how to do it!

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

Time to create page: 0.404 seconds