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.

Question Edit time problem

More
16 years 3 months ago #38886 by gdsttian
Edit time problem was created by gdsttian
Is it Kunena taking the time from the server as Edit time of the post? Is it possible to set Kunena to show the time of the time zone set in Joomla!?

Thank you.

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

More
16 years 3 months ago #38898 by xillibit
Replied by xillibit on topic Re:Edit time problem
Hello,

Open the file components\com_kunena\template\default_ex\message.php and replace the line 332 :
Code:
if ($fmessage->modified_by) { echo '<span class="fb_message_editMarkUp">'. _KUNENA_EDITING_LASTEDIT .': '. date(_DATETIME, $fmessage->modified_time) .' '. _KUNENA_BY .' '. CKunenaTools::whoisID($fmessage->modified_by) .'.';

with this :
Code:
$config =& JFactory::getConfig(); $tzoffset = $config->getValue('config.offset'); $ok_offsetdate = JFactory::getDate($fmessage->modified_time); $ok_offsetdate->setOffset($tzoffset); if ($fmessage->modified_by) { echo '<span class="fb_message_editMarkUp">'. _KUNENA_EDITING_LASTEDIT .': '. $ok_offsetdate->toFormat() .' '. _KUNENA_BY .' '. CKunenaTools::whoisID($fmessage->modified_by) .'.';

I don't provide support by PM, because this can be useful for someone else.

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

More
16 years 3 months ago #38905 by gdsttian
Replied by gdsttian on topic Re:Edit time problem
Thank you so much.

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

Time to create page: 0.243 seconds