Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

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

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.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 How To Display Date In Message?

More
16 years 11 months ago #20251 by barthle
Hello,

I am terribly sorry if this question is asked before.

I searched the forum with "show date" and "display date" but hundreds of posts are listed.

I coudl find a post for changing the date/time format but not for displaying the date in the first place.

My question is this:

Is it possible to show the exact message date along with " x days y hours ago".

And is it possible to show date in the recent messages page? I have chosen "Show Date" option in the settings but no dates are shown. I was expecting to see a date column like we have in the search results.

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

More
16 years 11 months ago #20285 by xillibit
Hello,

You need modified the file components/com_kunena/template/default/flat.php at line 337 :
Code:
<span class="topic_posted_time"><?php echo _KUNENA_POSTED_AT ?> <?php echo strftime(_KUNENA_DT_DATE_FMT,$leaf->time); //echo time_since($leaf->time , time() + ($fbConfig->board_ofset * 3600)); ?> <?php //echo _KUNENA_AGO ?>

in the same file at line 444 :
Code:
<?php echo strftime(_KUNENA_DT_DATE_FMT,$last_reply[$leaf->id]->time); //echo time_since($last_reply[$leaf->id]->time , time() + ($fbConfig->board_ofset * 3600)); ?> <?php //echo _KUNENA_AGO ?>

And in the file components/com_kunena/template/default/message.php at line 77 :
Code:
<span class = "<?php echo $msgtitle; ?>"><?php echo $msg_subject; ?> </span> <span class = "msgdate" title="<?php echo $msg_date; ?>"><?php echo $msg_date; //echo $msg_time_since; ?></span>

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 10 months ago - 16 years 10 months ago #21982 by setubal
I don't understand this ... I could not find the code in flat.php or message.php, is it to add or update? Are you sure is it for version 1.5.3?
Last edit: 16 years 10 months ago by setubal.

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

More
16 years 10 months ago #21986 by JiiKoo

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

Time to create page: 0.226 seconds