Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question How to know If you have a mootools Conflict!

More
15 years 7 months ago #57306 by Cerberus
blake this is not a solution but only a dirty hack so that lazy template makers dont have to update there templates to work with mootools 1.2
The topic has been locked.
More
15 years 7 months ago #57309 by Blake

Cerberus wrote: blake this is not a solution but only a dirty hack so that lazy template makers dont have to update there templates to work with mootools 1.2


I made this hack myself, only for other people to use it because their template makers won't do anything about the mootools problem. I am glad to take off the code for the hack, if it proofs to be no use to anyone but the lazy template makers. I also said this was a "HACK" not a "Solution", the only solution is to upgrade the old Javascript functions that use the old mootools and the old mootools framework they blundle with their template.
The topic has been locked.
More
15 years 7 months ago - 15 years 7 months ago #57319 by Cerberus

Blake wrote:

Cerberus wrote: blake this is not a solution but only a dirty hack so that lazy template makers dont have to update there templates to work with mootools 1.2


I made this hack myself, only for other people to use it because their template makers won't do anything about the mootools problem. I am glad to take off the code for the hack, if it proofs to be no use to anyone but the lazy template makers. I also said this was a "HACK" not a "Solution", the only solution is to upgrade the old Javascript functions that use the old mootools and the old mootools framework they blundle with their template.


exactly :) but dont get me wrong if your HACK works then its a great tempory solution to the problem.
Last edit: 15 years 7 months ago by Cerberus.
The topic has been locked.
More
15 years 7 months ago - 15 years 7 months ago #57341 by fxstein
@Blake: Good idea. Not the perfect fix as you state, but a great work around.

Wonder if we should include the reverse logic in Kunena itself with a config option. Something like: Enable local mootools 1.2 system plugin

What do you think?

We love stars on the Joomla Extension Directory . :-)
Last edit: 15 years 7 months ago by fxstein.
The topic has been locked.
More
15 years 7 months ago #57343 by Matias
Wow!

This is really cool hack to fix many issues in deprecated templates, at least when you're not inside Kunena. So you can keep using your old template everywhere else, you just need to redesign forum pages not to use dropdown menus etc.. which are using Mootools 1.1.

While it's not optimal solution, it can safe a day from many users. Thank you!
The topic has been locked.
More
15 years 7 months ago - 15 years 7 months ago #57354 by Blake

fxstein wrote: @Blake: Good idea. Not the perfect fix as you state, but a great work around.

Wonder if we should include the reverse logic in Kunena itself with a config option. Something like: Enable local mootools 1.2 system plugin

What do you think?


For Kunena.. ( just a idea )
Code:
if ($option == 'com_kunena') { $header = $this->getHeadData(); // find any script that uses mootools or switch it into a array to find even more scripts based on any word... $search = 'mootools'; // look for the old mootools and get rid of them, this includes the system core plugin and any old template ones foreach($header['scripts'] as $key => $script) { foreach($search as $find) { if(stristr($key, $find) !== false) { unset($header['scripts'][$key]); } } } // include the system mootools upgrade plugin $this->addScript('/plugins/system/mtupgrade/mootools.js'); $this->setHeadData($header); }

theres a problem tho, you need to have the system upgrade plugin on to include it ( has far has I know ), and even if you where to put that into Kunena. The upgrade plugin would fudge with the rest of the site that uses the old mootools ( usually what will happen is that the rest of the site will slow down because of the two frameworks conflicting with each other ). But if you don't need to turn on the upgrade plugin to include the js file... Then the code above will work and the rest of site will be fine B) .
Last edit: 15 years 7 months ago by Blake.
The topic has been locked.
Time to create page: 0.297 seconds