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

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.

Merged Change order of Cancel and Submit buttons

More
15 years 9 months ago #54151 by roland76
Yes, in normal case Submit should before Cancel... You have my vote...

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

More
15 years 9 months ago #54152 by Admata

ChaosHead wrote: I do not understand, why Cancel button is on the first place. Therefore I suggest it to correct.

I agree! Especially because they are the other way around what they used to be in previous versions and other forums. If they stey as present, meny users in multiple forums will make mistakes with buttons after update Kunena 1.6 and they will be very irritated.

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

More
15 years 8 months ago #55193 by Baze

sozzled wrote: ...The smileys issue - ugh! - your demonstration clearly shows that Kunena 1.6 has a problem here. I can't see this being fixed soon and it will probably have to wait until K 1.7. I like your suggestion about a "More smileys" option to offer an extended range of emoticons (maybe a webdialog or pop-up) to keep the overall editing tools area down to a "manageable"/convenient size....


Something has just crossed my mind.. can't the same code which is used for showing spoilers inside messages to be implemented in the emoticons area? That way in the boardcode area the users will see something like "click for smilies" and upon clicking the div will expand just like the spoilers do in a message...

just a loud thinking..

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

More
15 years 8 months ago - 15 years 8 months ago #55201 by Baze
OMG! It's so easy...

turn this:




into this:




The emoticons box will expand/collapse on mouse click :)


Just open ..components/com_kunena/template/default/editor/bbcode.php

At line 240
Code:
<div id="smilie"><?php $emoticons = smile::getEmoticons(0, 1); foreach ( $emoticons as $emo_code=>$emo_url ) { echo '<img class="btnImage" src="' . $emo_url . '" border="0" alt="' . $emo_code . ' " title="' . $emo_code . ' " onclick="kbbcode.insert(\''. $emo_code .' \', \'after\', true);" style="cursor:pointer"/> '; } ?> </div>

replace with
Code:
<script type="text/JavaScript"> <!-- Chief... function toggle(d) { var o=document.getElementById(d); o.style.display=(o.style.display=='none')?'block':'none'; } --> </script> <a href="javascript:;" onClick="toggle('smilie');">Show/hide smilies</a>&nbsp<img src="../components/com_kunena/template/default/images/emoticons/smile3.png" style="vertical-align: bottom;" /> <a href="javascript:;" onClick="toggle('two');">&nbsp</a> <div id="smilie" style="display:none;"><?php $emoticons = smile::getEmoticons(0, 1); foreach ( $emoticons as $emo_code=>$emo_url ) { echo '<img class="btnImage" src="' . $emo_url . '" border="0" alt="' . $emo_code . ' " title="' . $emo_code . ' " onclick="kbbcode.insert(\''. $emo_code .' \', \'after\', true);" style="cursor:pointer"/> '; } ?> </div> <div id="two" style="display:none;"></div>

Sorry for writing this here, please split/move wherever is necessary.
Last edit: 15 years 8 months ago by Baze.
The following user(s) said Thank You: squale, shipedia

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

More
15 years 8 months ago #55202 by sozzled
Thank you, Baze, for that wonderful digression. :lol:

Back on topic: there still hasn't been any movement on rearranging the order of Cancel and Submit. The order of those buttons is, I agree, non-intuitive.:)
The following user(s) said Thank You: Baze

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

More
15 years 8 months ago #55355 by Baze
I guess we will all have to change them manually :)

about the smileys, will this solution be implemented in the stable release or i should post it as hack?

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

Time to create page: 0.241 seconds