×
Kunena 5.2 RC 1 Released (25 Oct 2020)

The Kunena team is thrilled to announce the first public release candidate of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 RC1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× 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
10 years 3 months ago #11 by sozzled
The things you wrote about the Cancel / Submit buttons actually made good sense to me. I guess hadn't taken much notice of the button placement because (perhaps unlike a lot of people, it seems) I read labels on buttons before I press them. But, I suppose a lot of people blindly press buttons out of habit. Good suggestion - let's see what the developers do with this suggestion.

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.

I also agree with your comments about the attachment insert feature. The mechanism you now see in K 1.6 was a compromise in order to achieve the multiple-attachment-upload-at-one-time functionality that users have been clamouring for ever since K 1.0.7b. More work is envisaged (to make things easier and better for inserting images/file attachments) for K 1.7.

Thank you. All of these are very good ideas and suggestions.

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

More
10 years 3 months ago - 10 years 2 months ago #12 by ChaosHead
I do not understand, why Cancel button is on the first place. Therefore I suggest it to correct.

To change an order of buttons, in a file ...editor\form.php replase
			<td id="kpost-buttons" colspan="2">
				<input type="button" name="cancel" class="kbutton"
				value="<?php echo (' ' . JText::_('COM_KUNENA_GEN_CANCEL') . ' ');?>"
				onclick="javascript:window.history.back();"
				title="<?php echo (JText::_('COM_KUNENA_EDITOR_HELPLINE_CANCEL'));?>" />
				<input type="submit" name="ksubmit" class="kbutton"
				value="<?php echo (' ' . JText::_('COM_KUNENA_GEN_CONTINUE') . ' ');?>"
				title="<?php echo (JText::_('COM_KUNENA_EDITOR_HELPLINE_SUBMIT'));?>" />
			</td>
with
			<td id="kpost-buttons" colspan="2">
            	<input type="submit" name="ksubmit" class="kbutton"
				value="<?php echo (' ' . JText::_('COM_KUNENA_GEN_CONTINUE') . ' ');?>"
				title="<?php echo (JText::_('COM_KUNENA_EDITOR_HELPLINE_SUBMIT'));?>" />
				<input type="button" name="cancel" class="kbutton"
				value="<?php echo (' ' . JText::_('COM_KUNENA_GEN_CANCEL') . ' ');?>"
				onclick="javascript:window.history.back();"
				title="<?php echo (JText::_('COM_KUNENA_EDITOR_HELPLINE_CANCEL'));?>" />
			</td>
In Advanced Search

in a file ...search\advsearch.php replase
				<td colspan="2">
					<input class="kbutton ks" type="reset" value="<?php echo JText::_('COM_KUNENA_SEARCH_CANCEL'); ?>" onclick="window.location='<?php echo CKunenaLink::GetKunenaURL();?>';"/>
					<input class="kbutton ks" type="submit" value="<?php echo JText::_('COM_KUNENA_SEARCH_SEND'); ?>"/>
				</td>
with
				<td colspan="2">
					<input class="kbutton ks" type="submit" value="<?php echo JText::_('COM_KUNENA_SEARCH_SEND'); ?>"/>
					<input class="kbutton ks" type="reset" value="<?php echo JText::_('COM_KUNENA_SEARCH_CANCEL'); ?>" onclick="window.location='<?php echo CKunenaLink::GetKunenaURL();?>';"/>
				</td>

Updated:

in a file ...view\message.contents.php replase
		<input type="reset" class="kbutton kreply-cancel" name="cancel" value="<?php echo JText::_('COM_KUNENA_CANCEL') ?>" />
		<input type="submit" class="kbutton kreply-submit" name="submit" value="<?php echo JText::_('COM_KUNENA_GEN_CONTINUE') ?>" />
with
		<input type="submit" class="kbutton kreply-submit" name="submit" value="<?php echo JText::_('COM_KUNENA_GEN_CONTINUE') ?>" />
		<input type="reset" class="kbutton kreply-cancel" name="cancel" value="<?php echo JText::_('COM_KUNENA_CANCEL') ?>" />
Attachments:
Last edit: 10 years 2 months ago by ChaosHead.
The following user(s) said Thank You: roland76, Admata

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

More
10 years 3 months ago #13 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
10 years 3 months ago #14 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
10 years 2 months ago #15 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
10 years 2 months ago - 10 years 2 months ago #16 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
<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
<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.
Attachments:
Last edit: 10 years 2 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
10 years 2 months ago #17 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
10 years 2 months ago #18 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.

More
10 years 2 months ago #19 by sozzled
There has been no response from the developers about the order of Cancel and Submit buttons. I agree that this is non-intuitive.

As far as the other matter is concerned, I would advise you to wait until we have a "Hacks, Tips and Tricks" category setup for K 1.6. B)
The following user(s) said Thank You: Baze

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

More
10 years 2 months ago #20 by Cerhio
Hallo!
Im just trying Kunena 1.6 and buttons order breaks my mind. in all windows applications and dialog pop-ups and so on the order of action is YES - NO
So when creating new thread I click first button and it is CANCEL :evil:

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 1.032 seconds