Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] 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.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

Idea SOLVED: NOT SOLVED: BBCode legend (Help) doesn't work

More
16 years 11 months ago - 16 years 11 months ago #18844 by sozzled
I can confirm that I had exactly the same problem as JComeskey ... exactly as he described it! I can also confirm that I've fixed the problem as described in lemur's post SOLVED: BBCode legend (Help) doesn't work . First of all, thank you, lemur and Matias, for your help. :woohoo:

You need to follow the procedure carefully; it's easy to make a mistake and discover that you've made no improvement.
  1. Examine the directory ../components/com_kunena/templates/defaul/js
  2. there are two files, one called kunenaforum.js (which is 4467 bytes) and the other called kunenaforum.min.js (which is 4323 bytes);
  3. delete kunenaforum.min.js
  4. make another copy of kunenaforum.js and rename the copy as kunenaforum.min.js
  5. you should now have two identically-sized files (of 4467 bytes) in your directory called kunenaforum.js and kunenaforum.min.js
This solved my problem and I'm rapt! B) What causes this problem, I still don't know. I did not need to see these problems occur after upgrading to K 1.0.10 with J! 1.5.7 or J! 1.5.8. The problems exhibited themselves with J! 1.5.10. Perhaps it's a Joomla thing? Can someone else confirm this is the case? :S
Last edit: 16 years 11 months ago by sozzled.

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

More
16 years 11 months ago - 16 years 11 months ago #18847 by JComeskey
???? I must be living in a parallel universe...

I tried this solution before I made this original post. Then I tried it again just now. No change for me.

Where are you finding your kunenaforum.js file? I took mine from com_kunena_v1.0.10_stable_b1344_2009-05-21, but it is only 4.22kb.

I will paste my file below.

Can you please paste your kunenaforum.js file?

Thanks!
Code:
/*<![CDATA[*/ /** * @version $Id: kunenaforum.js 756 2009-05-17 23:06:01Z mahagr $ * Kunena Component * @package Kunena * @Copyright (C) 2006 - 2007 Best Of Joomla All rights reserved * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.bestofjoomla.com **/ jQuery.noConflict(); jQuery.kunena_cookie = function(name, value, options) { if (typeof value != 'undefined') { // name and value given, set cookie options = options || { }; var expires = ''; if (options.expires && ( typeof options.expires == 'number' || options.expires.toGMTString)) { var date; if (typeof options.expires == 'number') { date = new Date(); date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); } else { date = options.expires; } expires = '; expires=' + date.toGMTString(); // use expires attribute, max-age is not supported by IE } var path = options.path ? '; path=' + options.path : ''; var domain = options.domain ? '; domain=' + options.domain : ''; var secure = options.secure ? '; secure' : ''; document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); } else { // only name given, get cookie var cookieValue = null; if (document.cookie && document.cookie != '') { var cookies = document.cookie.split(';'); for (var i = 0; i < cookies.length; i++) { var cookie = jQuery.trim(cookies[i]); // Does this cookie string begin with the name we want? if (cookie.substring(0, name.length + 1) == (name + '=')) { cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); break; } } } return cookieValue; } }; function JRshrinkHeaderMulti(mode, imgId, cid) { if (mode == 1) { cMod = 0; jQuery("#" + cid).show(); } else { cMod = 1; jQuery("#" + cid).hide(); } jQuery.kunena_cookie("upshrink_" + imgId, cMod); jQuery("#" + imgId).attr("src", window.jr_expandImg_url + (cMod ? "expand.gif" : "shrink.gif")); } function kunenaShowHelp($text) { jQuery('input[name=helpbox]').val($text); } function fbGetPreview(content, sitemid) { var templatePath = document.postform.templatePath.value; var content = encodeURIComponent(content); var kunenaPath = document.postform.kunenaPath.value; jQuery('input[name=previewspeicher]').val('preview'); jQuery.ajax({url:kunenaPath, data : { msgpreview : content, Itemid : sitemid , option: "com_kunena" , func: "getpreview" , no_html: 1}, type: "POST", beforeSend : function (req){ jQuery('#previewContainer').show(); jQuery('#previewMsg'). html("<img src='"+templatePath+"/images/preview_loading.gif' />"); }, success : function (req){ jQuery('#previewMsg'). html(req); return; } }); return false; } function kunenaRedirectTimeout(redirecturl, timeout) { var redirect_timeout = setTimeout("location='"+redirecturl+"'", 3500); jQuery("body").bind("click", function(e) { clearTimeout(redirect_timeout); } ); } jQuery(document).ready(function() { jQuery(".hideshow").click(function() { var imgId = jQuery(this).attr("id"); var cId = imgId.split("__")[1]; var cVal = jQuery.kunena_cookie("upshrink_" + imgId); JRshrinkHeaderMulti(cVal, imgId, cId); }).each(function() { var imgId = jQuery(this).attr("id"); var cId = imgId.split("__")[1]; var el = jQuery("#" + cId); if (el.hasClass("fb-hidden")) { jQuery.kunena_cookie("upshrink_" + imgId, 1); } if (el.hasClass("fb-visible")) { jQuery.kunena_cookie("upshrink_" + imgId, 0); } if (jQuery.kunena_cookie("upshrink_" + imgId) == 1) { JRshrinkHeaderMulti(0, imgId, cId); } }); }); /*]]>*/
Last edit: 16 years 11 months ago by JComeskey.

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

More
16 years 11 months ago #18853 by sozzled
I think you'll find that the file I'm attaching will be identical to yours.

File Attachment:

File Name: kunenaforum.txt
File Size:4.36 KB

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

More
16 years 11 months ago #18884 by JComeskey
sozzled wrote:

I think you'll find that the file I'm attaching will be identical to yours.


Yep, seems to be.

Just in case, I tried it 2 more times. The first time, I cut and pasted your file content into my files.
Then the second time, I uploaded and renamed your file.

My problem persists.

So are you thinking it is a javascipt conflict with some other extension?

Can I just go back to the plain old popup tooltips?

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

More
16 years 11 months ago #18885 by grumblemarc
I've been thinking that since you reopened this issue. Disable all extensions and drop back to a default Joomla template. Better yet set up a local testbed with a vanilla Joomla and Kunena install only. See if still happens.

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

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

More
16 years 11 months ago - 16 years 11 months ago #18896 by JComeskey
OK, here is a question for you: On a K1.0.8 site, should I get a toolbar function example in the yellow box?

I just checked one of my other sites that is J1.5.10 and K1.0.8 and discovered that the function examples work for the stuff on the second row (spoiler and ebay) but not for any of the stuff on the top row (bold, italic, underline, etc).

I will upgrade to 1.0.10 now and see if it behaves the same as the ORRRC site.

UPDATE: Yep, it behaves the same as the ORRRC site.
Last edit: 16 years 11 months ago by JComeskey.

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

Time to create page: 0.279 seconds