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 Attachments appearing two times

More
14 years 11 months ago #92754 by vvolf69

sozzled wrote: I have not seen a live example of this problem yet


wow thats cool. beside the fact that you have answered to three problems noone asked you for why don´t you have clicked on any attachment in her forum to see it? and how does this help all others who have the same problem?

three people have now reported this inside this thread and there are at least two more unanswered threads about this topic inside this forum.

i understand that you do this for free and that kunena is freeware. i apreciate your help but a statement like "i doubt this mysterious problem exists somewhere outside your head cause i don´t have seen this..." is helping anyone. beside that i doubt that it is helpfull to anyone else than alaplume if her joomla is up to date or not. i hope you have checked that no plugin or any module she uses needs legacy support before you made that statement. thanks for looking into this...

www.pokermods.tk/index.php?option=com_ku...=4&id=3&Itemid=233#3

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

More
14 years 11 months ago - 14 years 11 months ago #92756 by sozzled
vvwolf69: Please do not assert something that I did not write and, unless you are a mind-reader, I suggest that you carefully watch the tone of your input to this discussion.

I have no doubt in my mind that this is a real problem for some people. I'm doing my best to help. Many people come to this forum and report their problems but, more often than not, it's what people do not tell us that is just as important - dare I say, more important - as what people do report to us. What I am trying to do is to find a real case where this situation can be reproduced, consistently. At this time I am only guided by static images or textual descriptions of the problem. As I've written before, I have not see a live example of this problem yet in a K 1.6.3 site and so I don't really have a lot to work with.

If you have a live example (the URL of a topic that demonstrates this case) I would be very interested to see it. I haven't seen a live example; that's what I'm saying.

It is not the moderator's job to answer questions. My role, as a forum moderator, is try to connect people with the best resources that will help them in their situation; I would ask you to keep that in mind before you launch into a broadside criticism about my helpfulness or lack of it. Thank you.
Last edit: 14 years 11 months ago by sozzled.

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

More
14 years 11 months ago - 14 years 11 months ago #92759 by vvolf69
your answers inside this thread don´t provide any help to the topic of this thread. they are simply spam. also your answers are useless related to the aspects of moderation. as it isn´t the worst your last answer can cause additional problems to a site of of which you have no clue.

there are several url´s in this thread linked to a thread of a forum which shows this problem. one post above yours for example there is a link... may be you try and click it one time? if you don´t have a look into it you will never see it.

however, everyone who comes across this problem, should be everyone with a yoo theme and yoo tools or a rocket theme can fix the problem himself but that´s only a hotfix. a clean solution would be be to add a config function to the backend which allows to decide wether to load the lightbox library or not. loading unecessary scripts will cause always porblems -> "Common causes of Mootools (Javascript library) issues and Kunena" .

open file /components/com_kunena/template/your_template/initialize.php

search for
Code:
CKunenaTools::addScript( KUNENA_DIRECTURL . 'js/mediaboxadvanced/js/mediaboxAdv.js' ); //

replace with
Code:
// CKunenaTools::addScript( KUNENA_DIRECTURL . 'js/mediaboxadvanced/js/mediaboxAdv.js' ); //

that´s it. now the script isn´t loaded twice but it is still called so you can use your built in shadowbox of a rocket or yoo theme with kunena. if your theme has no initialize.php it will use the one from the default theme.

have fun and relax iron man... ;)
Last edit: 14 years 11 months ago by vvolf69.
The following user(s) said Thank You: emilyaoo

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

More
14 years 11 months ago - 14 years 11 months ago #92763 by emilyaoo
Thanks~ I follow your step, it's at line 21..
Goes well~~~ thanks again~~
Last edit: 14 years 11 months ago by emilyaoo.

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

More
14 years 11 months ago - 14 years 11 months ago #92766 by sozzled
emilyaoo: There is a configuration option in the Kunena configuration settings

Forum configuration » Frontend » Look and Feel » Enable lightbox for images = No

xillibit wrote about it in msg #8 in this topic. On the one hand, vvolf69 says that was not a solution.

vvolf69 wrote: ... that´s no solution. just saying. the problem is that kunena loads its lightbox script when another instance of the lightbox script is already running

On the other hand ...

vvolf69 wrote:

... a clean solution would be be to add a config function to the backend which allows to decide wether to load the lightbox library or not

I am therefore puzzled by this contradiction. A configuration setting already exists. Does xillibit's solution work or not? That's what we need to know to close this topic.
Last edit: 14 years 11 months ago by sozzled.

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

More
14 years 11 months ago - 14 years 11 months ago #92775 by vvolf69
why can´t you read the thread it´s all in there!!??

problem: lightbox is shown twice inside kunena.

reason: lightboxscript is loaded twice. one time it is loaded by the joomla theme or a joomla content plugin and one time it is loaded by kunena. when you call the script it will respond twice.

solution: load the script only once

result: lightbox is shown only once


to answer your question:

xilibits solution doesn´t work because it is preventing kunena from calling the lightbox script. result is that you don´t have any lightbox inside kunena. it has no influence wether the script is loaded or not.

disabling the content plugin or the script of the theme which has already loaded the lightbox script is no solution either cause it would mean you don´t have a lightbox inside your content/articles anymore.

a clean solution would be an option in the backend to load or not load the lightbox script. good plugins or templates like the ones of yoo for example have this feature. however most people need a lightbox in their content AND in the forums. loading unecessary java scripts is causing a lot of problems and not the fine art of coding and in that case the script is always loaded by kunena no matter if it is used or not! even if you switch off the lightbox in the backend the script will be loaded cause the switch in the backend only has effect on wether the rel-parameter is used to call the lightbox or not.
Last edit: 14 years 11 months ago by vvolf69.

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

Time to create page: 0.283 seconds