Kunena 7.0.3 Released

The Kunena team has announce the arrival of Kunena 7.0.3 [K 7.0.3] 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

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Loved Kunena Login module with K, JS or CB Avatar

More
16 years 8 months ago - 16 years 8 months ago #24473 by @quila
Hi,

if someone want to use this module in the profilebox of Kunena, with default_ex template, instead of standard Kunena menu, here is a modified file profilebox.php.

This module take your user in the same page where they do Login.

Installation

BACKUP your file profilebox.php

overwrite the file profilebox.php which you can find in

components / com_kunena / template / default / plugin / profilebox / profilebox.php

with this one (attachment).
  • If you have already installed Login module, do the copy and, in the configuration, select Horizontal style.
  • If you have not installed Login module, install and, in the configuration, select Horizontal style.

Publish the Login module in the position kunena_profile

The result is this:




Attachment profilebox-20090720.zip not found



Regards
Last edit: 16 years 8 months ago by @quila.

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

More
16 years 8 months ago #25777 by @quila
Hello,

from now this module also on JED extensions.joomla.org/extensions/extensi...orum-extensions/9322

Regards

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

More
16 years 8 months ago #25833 by Mortti
Very nice job quila! Looks great.

On little thing. In your module install package is one little "bug". You are put there two times sr-RS.mod_klogin.ini language file so there isn't sr-YU language file and Joomla! installer report of that. I do for your package finnish language file in the near future.

Best Regards,

Sami

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

More
16 years 8 months ago #25842 by @quila
Hi Sami,

Thank you very much for reporting.

It's just corrected in download package. Thank you for translating the module.

Regards

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

More
16 years 8 months ago #25915 by Mortti
Hi,

here is Finnish language file your package.

Can you also check horizontal.php file (I think?), I have that modified profilebox.php file using but last visit time don't take Joomla! time offset...

Mayby in here:
Code:
<?php if ($params->get('lastlog')){?> <div class="k_lastvisit"> <?php $db = & JFactory::getDBO(); $db->setQuery ('SELECT `lastvisitDate` FROM #__users WHERE `id` ='.$user->get('id')); $lastvisitDate = $db->loadResult(); if ($lastvisitDate != '' && $lastvisitDate != '00-00-0000') { echo JText::_('Lastvisit').': <strong> '.$lastvisitDate.'</strong>'; } // } ?>

Regards,

Sami

Attachment fi_FI.zip not found

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

More
16 years 8 months ago - 16 years 8 months ago #25965 by @quila
Hi Sami,

thank you for translation, will be in the next release.

For date, I'll look this later, for now horizontal.php line 92-106 instead of this
Code:
<?php if ($params->get('lastlog')){?> <div class="k_lastvisit"> <?php $db = & JFactory::getDBO(); $db->setQuery ('SELECT `lastvisitDate` FROM #__users WHERE `id` ='.$user->get('id')); $lastvisitDate = $db->loadResult(); if ($lastvisitDate != '' && $lastvisitDate != '00-00-0000') { echo JText::_('Lastvisit').': <strong> '.$lastvisitDate.'</strong>'; } // } ?> </div> <?php } ?>
insert this
Code:
<?php if ($params->get('lastlog')){?> <div class="k_lastvisit"> <?php jimport('joomla.utilities.date'); $db = & JFactory::getDBO(); $db->setQuery ('SELECT `lastvisitDate` FROM #__users WHERE `id` ='.$user->get('id')); $lastvisitcopy = $db->loadResult(); $lastvisitDate = new JDate( $lastvisitcopy ); if ($lastvisitcopy != '' && $lastvisitcopy != '0000-00-00 00:00:00') { echo '<strong>'.JText::_('Last visit').':</strong> '.$lastvisitDate->toFormat(JText::_('DATE_FORMAT_LC1'))."<br />"; } ?> </div> <?php } ?>

When is fixed i will post here. Thank you for reporting.

Regards
Last edit: 16 years 8 months ago by @quila.

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

Time to create page: 0.295 seconds