Kunena 7.0.3 Released

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

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.

Solved K 2.0.2, K 2.0.3: problems with preview

More
13 years 6 months ago - 13 years 6 months ago #134922 by roland_d_alsace
Hi.

In my case with k 2.0.2, it's only a preview problem linked to html receive instead of json atfer clicking on ajax preview button.

...and when i downgrade to 2.0.1 i don't have the problem.

With 2.0.2 I don't have others problems and 2.0.2 is in production since it is released, here is this forum...

I don't think that it's a plugin problem, otherwise why the 2.0.1 preview could be run without any problems ?

I think that i will test by downgrading step by step some php script from 2.0.2 to 2.0.1, ...
...but someone can say me what php script will be called by ajax button preview ?

Regards
Last edit: 13 years 6 months ago by roland_d_alsace.

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

More
13 years 6 months ago #134924 by 810
html here: "\components\com_kunena\template\blue_eagle\html\topic\edit.php"

script here: "components\com_kunena\template\blue_eagle\js\editor.js"

but the script isn't edited last 5 months.

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

More
13 years 6 months ago #134925 by 810
Open k2.0.1 package and extract the blue_eagle template.

then check the preview.

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

More
13 years 6 months ago #134934 by sozzled
We know, for a fact, that a lot of Kunena's functionality is derived through the use of Javascript-driven functions and we know, for a fact, that Kunena does not work properly if the normal Javascript libraries are in conflict with other software on a user's website. These are established facts and, when other software is installed that interferes with the normal operation of Joomla Mootools or the couple of Javascript libraries (developed by the Kunena team) that are needed for Kunena to run properly, then problems occur. In particular, when the problems cannot be reproduced here at this website (and there's nothing strikingly special about this website), we have to ask ourselves, why are we continuing to see these kinds of Javascript-related problems?

The answers may become more apparent if we look at the underlying source code on these problem websites. The following image compares the HTML source of the site run by roland_d_alsace with a "vanilla-flavoured" website (i.e. J! 2.5.7, Beez20 template + K 2.0.2 and nothing else).



In the above image you can see that the pink-shaded items correspond, one to another. This is good. The unshaded items are unimportant. What we do not know anything about is how the grey-shaded items may be interfering. If we eliminate the grey-shaded items, we may find the one (or the ones) that is/are causing the interference.

I doubt that the upgrade to K 2.0.2 itself is the source of these problems particularly if ../components/com_kunena/template/blue_eagle/html/topic/edit.php and ../components/com_kunena/template/blue_eagle/js/editor.js have not changed. I doubt this because, if upgrading from K 2.0.1 to K 2.0.2 was the singular cause of this problem, there would be tens (or hundreds) of thousands of websites around the world - including this one - that would have been affected.

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

More
13 years 6 months ago #134941 by xillibit

810 wrote: Open k2.0.1 package and extract the blue_eagle template.

then check the preview.

Not sure if the things about preview are located in the template

I don't find which fix has been added in Kunena 2.0.2 and which affects preview :(

I don't provide support by PM, because this can be useful for someone else.

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

More
13 years 6 months ago #134943 by TKtemp

xillibit wrote:

810 wrote: Open k2.0.1 package and extract the blue_eagle template.

then check the preview.

Not sure if the things about preview are located in the template

I don't find which fix has been added in Kunena 2.0.2 and which affects preview :(

Well, function for preview is in the file:
components -> com_kunena -> lib -> kunena.bbcode.js.php
Code:
function kPreviewHelper() { if (_previewActive == true){ previewRequest = new Request.JSON({url: "<?php echo KunenaRoute::_('index.php?option=com_kunena&view=topic&layout=edit&format=raw');?>", onSuccess: function(response){ var __message = document.id("kbbcode-preview"); if (__message) { __message.set("html", response.preview); __message.fireEvent('updated'); } }}).post({body: document.id("kbbcode-message").get("value") }); } }

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

Time to create page: 0.266 seconds