Kunena 6.4.8 Released

The Kunena team has announce the arrival of Kunena 6.4.8 [K 6.4.8] in stable which is now available for download as a native Joomla extension for J! 5.0.x/5.1.x/5.2.x/5.3.x/5.4.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 6.4
Important note: Go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated. This is particularly necessary for major version jumps so that the table changes are adapted.

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

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 Is it possible to activate Mootools 1.2 ONLY for Kunena Pages?

More
14 years 11 months ago #86753 by luisfdoc1
After installing Kunena 1.6, I had to install other extensions (Virtuemart), and I am having some problems because of having Mootools 1.2 activated. So, is there a way I can only have Mootools 1.2 for the Kunena section?
Any other solution?
Thanks!

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

More
14 years 11 months ago - 14 years 11 months ago #86756 by ChaosHead
There is a hack for this purpose.:

In index.php your Joomla template write this сode:
Code:
<? $component = $_GET['option']; if($component=="com_kunena") { /*Disable mootools*/ $headerstuff = $this->getHeadData(); $scripts = $headerstuff['scripts']; $headerstuff['scripts'] = array(); foreach($scripts as $url=>$type) { if (strpos($url, 'js/mootools.js') === false && strpos($url, 'mtupgrade/mootools.js') === false) { $headerstuff['scripts'][$url] = $type; } } $this->setHeadData($headerstuff); /*Disable mootools complete*/ } ?> <jdoc:include type="head" />

In initialize.php your Kunena template:
after this line
Code:
$template->loadMootools();
write this сode:
Code:
$document =& JFactory::getDocument(); $document->addScript("/media/system/js/caption.js"); $document->addScript("/plugins/system/mtupgrade/mootools2.js");

In advance create a file Mootools 1.2 with such name: plugins/system/mtupgrade/mootools2.js
Last edit: 14 years 11 months ago by ChaosHead.
The following user(s) said Thank You: luisfdoc1

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

More
14 years 10 months ago - 14 years 10 months ago #86867 by luisfdoc1
Thank you ChaosHead,

There is a small issue... My javascript files are being duplicated (I am loading each JS twice!)
How can I solve that?

Also, The "AJAX" features in Kunena stop working... such as Model windows, collapsing threads, etc... :(

Thanks!
Last edit: 14 years 10 months ago by luisfdoc1.

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

More
More
14 years 10 months ago #86985 by luisfdoc1
Thanks!

Also just doing the Kunena part of ChaosHead trick works! (Without the Joomla step)

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

More
14 years 10 months ago #87331 by daviper
Neither ChaosHead's trick or loadplugin_CK don't work for me. Could anyone point me to the right direction here?

ChaosHead, when you wrote "In advance create a file Mootools 1.2 with such name: plugins/system/mtupgrade/mootools2.js" did you mean just copy mootools.js, rename it to mootools.js and upload it? Because I did that and it didn't work.

I really need to fix BBcode in Kunena as soon as possible :)

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

Time to create page: 0.295 seconds