- Posts: 155
- Thank you received: 0
Kunena 7.0.8 Released
The Kunena team has announce the arrival of Kunena 7.0.8 [K 7.0.8] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.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 Chage date display of posting?
- wingnut144
-
Topic Author
- Offline
- Senior Member
-
Less
More
16 years 10 months ago #29730
by wingnut144
Chage date display of posting? was created by wingnut144
Is there a way to have the date of a posting formatted as October 5, 2009, or Oct. 5, 2009, instead of the standard Kunena format of 18 hours ago..... ??
Where would this be changed? And how?
Thanks!
Where would this be changed? And how?
Thanks!
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12288
- Thank you received: 2537
16 years 10 months ago #29744
by rich
Important! Always create a backup before you make any changes to your website!
Replied by rich on topic Re:Chage date display of posting?
Hi wingnut144,
you need another language file.
Regards
you need another language file.
templates.webdesign-welt.de/downloads.ht...viewcategory&catid=8Kunena file, that changes the dateformat.
Regards
Important! Always create a backup before you make any changes to your website!
Please Log in or Create an account to join the conversation.
- wingnut144
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 155
- Thank you received: 0
16 years 10 months ago #29758
by wingnut144
Replied by wingnut144 on topic Re:Chage date display of posting?
So I can change the standard listing for the posting time from 18 hours ago to something more like: Sun Sep 27, 2009 2:38 pm ??
How does the language file change that?
How does the language file change that?
Please Log in or Create an account to join the conversation.
- wingnut144
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 155
- Thank you received: 0
16 years 10 months ago #29820
by wingnut144
Replied by wingnut144 on topic Re:Chage date display of posting?
Is there any more info on this??
Please Log in or Create an account to join the conversation.
16 years 10 months ago - 16 years 10 months ago #29821
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re:Chage date display of posting?
Hello,
open the file \components\com_kunena\template\default_ex\flat.php and at the line 337 replace this :
by this :
and at line 447 replace this :
by this :
open the file \components\com_kunena\template\default_ex\listcat.php and at the line 235 replace this :
by this :
in the file \components\com_kunena\template\default_ex\message.php at line 69 replace this :
by this :
open the file \components\com_kunena\template\default_ex\flat.php and at the line 337 replace this :
Code:
<span class="topic_posted_time"><?php echo _KUNENA_POSTED_AT ?> <?php echo time_since($leaf->time,time() + ($fbConfig->board_ofset * 3600)); ?> <?php echo _KUNENA_AGO ?>
by this :
Code:
<span class="topic_posted_time"><?php echo _KUNENA_POSTED_AT ?> <?php echo strftime(_KUNENA_DT_DATETIME_FMT,$leaf->time + $fbConfig->board_ofset * 3600); ?>
and at line 447 replace this :
Code:
<?php echo time_since($last_reply[$leaf->id]->time , time() + ($fbConfig->board_ofset * 3600)); ?> <?php echo _KUNENA_AGO ?>
by this :
Code:
<?php echo strftime(_KUNENA_DT_DATETIME_FMT,$last_reply[$leaf->id]->time + ($fbConfig->board_ofset * 3600)); ?>
open the file \components\com_kunena\template\default_ex\listcat.php and at the line 235 replace this :
Code:
$lastptime = KUNENA_timeformat(CKunenaTools::fbGetShowTime($singlerow->time_last_msg));
by this :
Code:
$lastptime = strftime(_KUNENA_DT_DATETIME_FMT,$singlerow->time_last_msg + ($fbConfig->board_ofset * 3600));
in the file \components\com_kunena\template\default_ex\message.php at line 69 replace this :
Code:
$msg_time_since = str_replace('%time%', time_since($fmessage->time, CKunenaTools::fbGetInternalTime()), $msg_time_since);
by this :
Code:
$msg_time_since = strftime(_KUNENA_DT_DATETIME_FMT,$fmessage->time + ($fbConfig->board_ofset * 3600));
I don't provide support by PM, because this can be useful for someone else.
Last edit: 16 years 10 months ago by xillibit.
The following user(s) said Thank You: iseca
Please Log in or Create an account to join the conversation.
- wingnut144
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 155
- Thank you received: 0
16 years 10 months ago #29822
by wingnut144
Replied by wingnut144 on topic Re:Chage date display of posting?
Thank you for the help.
Is this something that will be easier to change in future versions? The ability to modify how the date is displayed?
Is this something that will be easier to change in future versions? The ability to modify how the date is displayed?
Please Log in or Create an account to join the conversation.
Time to create page: 0.231 seconds