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 Smilies Javascript bug...

More
17 years 1 week ago - 17 years 1 week ago #13663 by zzbomb
On my site i have rokbox which creates lightboxes where i want them and it caused the "More Smilies" button to not work.

So here is the solution i found from the rokbox site. It fixes Kunena instead of rokbox, and it would also resolve other javascript issues, i suggest making it permanent.

Simply "disguise" the <head> and </head> tags of the javascript.

In file components\com_kunena\template\default\plugin\emoticons\emoticons.js.php

find the line that reads:

Code:
smileyPopupWindow.document.write('\n\t<head>\n ...



and replace it with
Code:
smileyPopupWindow.document.write('\n\t<h'+'ead>\n ...

(that is: you break the <head> tag in two and you add them up).

find:
Code:
...style> \n\t</head>'



and replace it with:
Code:
...style> \n\t</h'+'ead>'


Thanks to the person who made this mod, it was not me i only take credit for wanting it in a final build.
Last edit: 17 years 1 week ago by zzbomb. Reason: Grammer Fix

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

More
17 years 1 week ago - 17 years 1 week ago #13667 by grumblemarc
Thanks for the fix. But you realize you run the risk of this fix being most certainly wiped out on the next Kunena release if not compromising your Kunena install to where upgrade is not possible. If that happens there will probably be no way to support it. It is also not guaranteed that this hack will work on any future versions of Kunena either. Granted this looks like a very benign hack but you run those risks.

We love stars on the Joomla Extension Directory . :-)
Last edit: 17 years 1 week ago by grumblemarc.

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

More
17 years 1 week ago #13668 by grumblemarc
Also I just noticed this is K1.5a that you are running. DEFINITELY not supported in any instance. Only bug reports are being accepted for this version. Not any hacks or fixes.

We love stars on the Joomla Extension Directory . :-)

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

More
17 years 1 week ago #13669 by zzbomb
Replied by zzbomb on topic Re:Smilies Javascript bug...
Yea, i know i always do a template backup, so i can easily upgrade especially since this is a template hack. And it should not cause any issues and if it did i would just revert it and find another solution.

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

More
17 years 1 week ago #13671 by grumblemarc
My posts was actually to anyone that thought about attempting to use this hack. Use at your own risk. Thee is a lot of code mixed in with the templating right now so any hacks to them aren't really simple.

We love stars on the Joomla Extension Directory . :-)

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

More
17 years 1 week ago #13756 by zzbomb
Replied by zzbomb on topic Re:Smilies Javascript bug...
ah ok

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

Time to create page: 0.233 seconds