- Posts: 7245
- Thank you received: 566
Kunena 6.2.5 & module Kunena Latest 6.0.7 released
The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
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.
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)
12 years 2 months ago - 12 years 2 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:
More information from diff files can be found from here (or by Googling):
en.wikipedia.org/wiki/Diff#Unified_format
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: 12 years 2 months ago by Matias.
Please Log in or Create an account to join the conversation.
12 years 2 months ago - 12 years 2 months ago #2
by Matias
Replied by Matias on topic Re: Template changes between Kunena 1.6.1 and 1.6.2
Here is the difference between Kunena 1.6.1 and 1.6.2:
Last edit: 12 years 2 months ago by Matias.
Please Log in or Create an account to join the conversation.
12 years 2 months ago - 12 years 2 months ago #3
by Matias
Replied by Matias on topic Re: Template changes between Kunena 1.6.2 and 1.6.3
Here is the difference between Kunena 1.6.2 and 1.6.3:
Last edit: 12 years 2 months ago by Matias.
Please Log in or Create an account to join the conversation.
12 years 2 months ago - 12 years 2 months ago #4
by Matias
Replied by Matias on topic Re: Template changes between Kunena 1.6.3 and 1.6.4
Here is the difference between Kunena 1.6.3 and 1.6.4:
Last edit: 12 years 2 months ago by Matias.
Please Log in or Create an account to join the conversation.
12 years 2 months ago #5
by Matias
Replied by Matias on topic Re: Template changes between Kunena 1.6.4 and 1.6.5
Here is the difference between Kunena 1.6.4 and 1.6.5:
Please Log in or Create an account to join the conversation.
12 years 2 months ago #6
by Matias
Replied by Matias on topic Re: Template changes between Kunena 1.6.5 and 1.7.0
Here is the difference between Kunena 1.6.5 and 1.7.0:
Code:
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');
Please Log in or Create an account to join the conversation.
12 years 2 months ago #7
by Matias
Replied by Matias on topic Re: Template changes between Kunena 1.7.0 and 1.7.1
Here is the difference between Kunena 1.7.0 and 1.7.1:
Code:
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">
Please Log in or Create an account to join the conversation.
Time to create page: 0.389 seconds