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

Question [Solved - Finally!] Change Date-Format in myprofilebox

More
17 years 2 months ago #5436 by Matias
There are European core developer, so yes, this is something that is coming. And it will use language file to get the right format to all languages used in the same site.

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

More
17 years 2 months ago #5649 by Lambas
Lintzy wrote:

Thanks for your effort, that changes or similar, i have made yet. And the last post of this thread asks exactly for the last changes :(

It is interesting to hear, if the time-format is on the to-do list,


Hey this last post was mine :P

Im still trying to find a way to do it but im a nood with coding etc :)
Ill be waiting for the ...

it will use language file to get the right format to all languages used in the same site.


nice to find all you here again!!!

love!

hey yo!

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

More
17 years 2 months ago - 17 years 2 months ago #5657 by xillibit
In template/default/plugin/myprofile/myprofile_summary.php, for change the birthday date you can type this : <?php echo $userinfo->birthdate=date("j, n, Y"); ?> instead <?php echo $userinfo->birthdate; ?> this modification display : 22, 2, 2009

You can set diffent alternative in fonction of your need in following the example in this page : fr3.php.net/manual/en/function.date.php


I make a little mistake this display the date of the day, I have a solution for change the date by defaut with this code which will display 20-Mar-1998 :

<?php $birthdate=explode("-",$userinfo->birthdate);
$test=date("d-M-Y",mktime(0,0,0,$birthdate[1],$birthdate[2],$birthdate[0])); ?>

Then in your file(template/default/plugin/myprofile/myprofile_summary.php) you type this :

<td><b><?php echo _KUNENA_MYPROFILE_BIRTHDATE; ?></b> </td>
<td><?php echo $test; ?></td>

I don't provide support by PM, because this can be useful for someone else.
Last edit: 17 years 2 months ago by xillibit.

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

More
17 years 2 months ago #5658 by Lintzy
Wow, thanks very much! I will test it :)

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

More
17 years 2 months ago #5659 by Lintzy
:woohoo: :woohoo: :woohoo: IT WORKS

You are my Hero ;)

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

More
17 years 2 months ago #5660 by Lintzy
No, it doesn't work.It shows the date of today :(

I was blended from european format

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

Time to create page: 0.251 seconds