×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release 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 B1 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.

× Before posting in this category, please read sticky topics and, as general background, My Joomla site template makes a mess of Kunena .

If you have questions about third-party templates, please use the User-written Templates category or contact the author directly. This category should only be used for questions about templates developed and supported by the Kunena project.

Important Template changes between different Kunena versions (1.6.1 - 1.7.1)

More
8 years 8 months ago - 8 years 8 months ago #1 by Matias
For those who want to update their template, here are the complete diff files for the default template starting from Kunena 1.6.1. Difference between Kunena 1.6.0 and Kunena 1.6.1 was too huge, so I decided to skip it.

I will include one diff file per message. Files were generated by commands like:
git diff 1.6.1...1.6.2 components/com_kunena/template/default/ > template-161-162.diff


More information from diff files can be found from here (or by Googling):
en.wikipedia.org/wiki/Diff#Unified_format
Last edit: 8 years 8 months ago by Matias.

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

More
8 years 8 months ago - 8 years 8 months ago #2 by Matias
Here is the difference between Kunena 1.6.1 and 1.6.2:

File Attachment:

File Name: template-1...diff.zip
File Size:8 KB
Attachments:
Last edit: 8 years 8 months ago by Matias.

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

More
8 years 8 months ago - 8 years 8 months ago #3 by Matias
Here is the difference between Kunena 1.6.2 and 1.6.3:

File Attachment:

File Name: template-1...diff.zip
File Size:8 KB
Attachments:
Last edit: 8 years 8 months ago by Matias.

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

More
8 years 8 months ago - 8 years 8 months ago #4 by Matias
Here is the difference between Kunena 1.6.3 and 1.6.4:

File Attachment:

File Name: template-1...diff.zip
File Size:18 KB
Attachments:
Last edit: 8 years 8 months ago by Matias.

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

More
8 years 8 months ago #5 by Matias
Here is the difference between Kunena 1.6.4 and 1.6.5:

File Attachment:

File Name: template-1...diff.zip
File Size:8 KB
Attachments:

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

More
8 years 8 months ago #6 by Matias
Here is the difference between Kunena 1.6.5 and 1.7.0:
diff --git a/components/com_kunena/template/default/css/kunena.forum.css b/components/com_kunena/template/default/css/kunena.forum.css
index caa14d3..03ad7b1 100644
--- a/components/com_kunena/template/default/css/kunena.forum.css
+++ b/components/com_kunena/template/default/css/kunena.forum.css
@@ -61,7 +61,7 @@ PX		EM			PCT			PT
 #Kunena ul li,
 #Kunena ul li a {
 	font-size: 1em;
-	line-height: 1.333em;
+	line-height: auto;
 }
 #Kunena sup {
 	vertical-align: super;
@@ -1457,6 +1457,7 @@ PX		EM			PCT			PT
 }
 #Kunena div.kmsgbody div.kmsgtext {
 	word-wrap:break-word;
+	overflow: hidden;
 }
 #Kunena td.kmessage-right div.kmsgbody,
 #Kunena td.kmessage-left div.kmsgbody,
diff --git a/components/com_kunena/template/default/editor/bbcode.php b/components/com_kunena/template/default/editor/bbcode.php
index 6fdf9eb..9cf5fb9 100644
--- a/components/com_kunena/template/default/editor/bbcode.php
+++ b/components/com_kunena/template/default/editor/bbcode.php
@@ -276,7 +276,7 @@ $kunena_config = KunenaFactory::getConfig ();
 		<div class="clr"> </div>
 		<fieldset>
 			<legend><?php echo (JText::_('COM_KUNENA_EDITING_REASON')) ?></legend>
-			<input class="kinputbox" name="modified_reason" size="40" maxlength="200" type="text" />
+			<input class="kinputbox" name="modified_reason" size="40" maxlength="200" type="text" value="<?php echo $this->modified_reason; ?>" />
 		</fieldset>
 		<?php endif; ?>
 	</td>
diff --git a/components/com_kunena/template/default/editor/form.php b/components/com_kunena/template/default/editor/form.php
index 799916e..d8a1286 100644
--- a/components/com_kunena/template/default/editor/form.php
+++ b/components/com_kunena/template/default/editor/form.php
@@ -74,6 +74,7 @@ $this->k=0;
 		</tr>
 		<?php endif; ?>
 
+		<?php if ($this->my->id) : ?>
 		<tr class="krow<?php echo 1 + $this->k^=1 ?>" id="kanynomous-check" <?php if ((!$this->allow_anonymous && $this->catid != 0) || !$this->cat_default_allow ): ?>style="display:none;"<?php endif; ?>>
 			<td class="kcol-first">
 				<strong><?php echo JText::_('COM_KUNENA_POST_AS_ANONYMOUS'); ?></strong>
@@ -83,6 +84,7 @@ $this->k=0;
 				<label for="kanonymous"><?php echo JText::_('COM_KUNENA_POST_AS_ANONYMOUS_DESC'); ?></label>
 			</td>
 		</tr>
+		<?php endif; ?>
 
 		<tr class="krow<?php echo 1 + $this->k^=1 ?>" id="kanynomous-check-name"
 		<?php if ( $this->my->id && !$this->config->changename && !$this->cat_default_allow ): ?>style="display:none;"<?php endif; ?>>
@@ -97,7 +99,11 @@ $this->k=0;
 		<?php if ($this->config->askemail && !$this->my->id) : ?>
 		<tr class = "krow<?php echo 1+ $this->k^=1 ?>">
 			<td class = "kcol-first"><strong><?php echo JText::_('COM_KUNENA_GEN_EMAIL');?></strong></td>
-			<td class="kcol-mid"><input type="text" id="email" name="email"  size="35" class="kinputbox postinput required validate-email" maxlength="35" value="<?php echo !empty($this->email) ? $this->escape($this->email) : '' ?>" /></td>
+			<td class="kcol-mid">
+				<input type="text" id="email" name="email"  size="35" class="kinputbox postinput required validate-email" maxlength="35" value="<?php echo !empty($this->email) ? $this->escape($this->email) : '' ?>" />
+				<br />
+				<?php echo $this->config->showemail == '0' ? JText::_('COM_KUNENA_POST_EMAIL_NEVER') : JText::_('COM_KUNENA_POST_EMAIL_REGISTERED'); ?>
+			</td>
 		</tr>
 		<?php endif; ?>
 
@@ -169,7 +175,7 @@ $this->k=0;
 				<strong><?php echo JText::_('COM_KUNENA_POST_SUBSCRIBE'); ?></strong>
 			</td>
 			<td class="kcol-mid">
-				<?php if ($this->config->subscriptionschecked == 1) : ?>
+				<?php if ($this->subscriptionschecked == 1) : ?>
 				<input type="checkbox" name="subscribeMe" value="1" checked="checked" />
 				<i><?php echo JText::_('COM_KUNENA_POST_NOTIFIED'); ?></i>
 				<?php else : ?>
@@ -204,15 +210,6 @@ $this->k=0;
 				title="<?php echo (JText::_('COM_KUNENA_EDITOR_HELPLINE_CANCEL'));?>" />
 			</td>
 		</tr>
-
-		<tr class="krow<?php echo 1 + $this->k^=1;?>">
-			<td colspan="2" class="kcol-first"><?php
-			if ($this->config->askemail) {
-				echo $this->config->showemail == '0' ? "<em>* - " . JText::_('COM_KUNENA_POST_EMAIL_NEVER') . "</em>" : "<em>* - " . JText::_('COM_KUNENA_POST_EMAIL_REGISTERED') . "</em>";
-			}
-			?>
-			</td>
-		</tr>
 	</tbody>
 </table>
 </div>
diff --git a/components/com_kunena/template/default/js/editor.js b/components/com_kunena/template/default/js/editor.js
index a0989d7..4b8fa34 100644
--- a/components/com_kunena/template/default/js/editor.js
+++ b/components/com_kunena/template/default/js/editor.js
@@ -553,7 +553,12 @@ function cancelForm() {
 	return true;
 }
 
-function newAttachment() {
+var __attachment_counter = 0;
+
+function newAttachment() {	
+	if (__attachment_counter < '8') __attachment_counter++;
+	else return false;
+	
 	var __kattachment = document.id('kattachment-id');
 	if (!__kattachment) return;
 	__kattachment.setStyle('display', 'none');

File Attachment:

File Name: template-1...diff.zip
File Size:2 KB
Attachments:

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

More
8 years 8 months ago #7 by Matias
Here is the difference between Kunena 1.7.0 and 1.7.1:
diff --git a/components/com_kunena/template/default/js/editor.js b/components/com_kunena/template/default/js/editor.js
index 4b8fa34..bb8a044 100644
--- a/components/com_kunena/template/default/js/editor.js
+++ b/components/com_kunena/template/default/js/editor.js
@@ -572,6 +572,9 @@ function newAttachment() {
 	input.addEvent('change', function() {
 		this.removeEvents('change');
 		var __filename = this.get('value');
+		if (__filename.lastIndexOf('\\') > -1) {
+			__filename = __filename.substring(1 + __filename.lastIndexOf('\\'));
+		}
 		this.addEvent('change', function() {
 			__file.getElement('input.kfile-input-textbox').set('value', __filename);
 		});
diff --git a/components/com_kunena/template/default/menu.php b/components/com_kunena/template/default/menu.php
index 663b157..de67f2e 100644
--- a/components/com_kunena/template/default/menu.php
+++ b/components/com_kunena/template/default/menu.php
@@ -12,6 +12,7 @@
 
 // Dont allow direct linking
 defined ( '_JEXEC' ) or die ();
+jimport( 'joomla.document.html.html' );
 ?>
 <!-- Kunena Menu -->
 <div id="ktop">

File Attachment:

File Name: template-1...diff.zip
File Size:1 KB
Attachments:

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: 0.140 seconds