Welcome, Guest
Username Password: Remember me
Keyword
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.
  • Page:
  • 1

TOPIC: join date

join date 2 years ago #1

can we show the join date of user in their post

example
Untitled-20100207.jpg
The topic has been locked.

Re:join date 2 years ago #2

Hello,

open the file components\com_kunena\template\default_ex and add this to line 213 :

<div class = "viewcover">
<?php $joindate = explode(' ',$kunena_my->registerDate);
echo $joindate[0];
?>
</div>
  • xillibit
  • NOW ONLINE
  • Kunena Developer
  • Kunena always better
  • Posts: 6943
I don't provide support by PM, because this can be useful for someone else.
Become a Kunena fan
The topic has been locked.

Re:join date 2 years ago #3

what file in folder default_ex i must add that code?
Last Edit: 2 years ago by clevercat.
The topic has been locked.

Re:join date 2 years ago #4

Oop, i forgot to give you the file, it's in message.php
  • xillibit
  • NOW ONLINE
  • Kunena Developer
  • Kunena always better
  • Posts: 6943
I don't provide support by PM, because this can be useful for someone else.
Become a Kunena fan
The topic has been locked.

Re:join date 1 year, 11 months ago #5

Hello xillibit,

I did as per your advice but it happened to show all posts with same join date (the date of my registration).

Is there other way to show join date related to their post's owner?

Sakol
The topic has been locked.

Re:join date 1 year, 11 months ago #6

Hello,

I have made a mistake, forgot what i wrote in the post before, i can post directly the changes because of rules of mod_rewrite, so look the file below :

File Attachment:

File Name: changes.zip
File Size: 489
  • xillibit
  • NOW ONLINE
  • Kunena Developer
  • Kunena always better
  • Posts: 6943
I don't provide support by PM, because this can be useful for someone else.
Become a Kunena fan
Last Edit: 1 year, 11 months ago by xillibit.
The topic has been locked.

Re:join date 1 year, 11 months ago #7

Hello xillibit,

Thanks for your reply.

But I've managed to make it done alternatively as per below.

Edit message.php and add these command at line 213


Thanks again for helping.
Sakol
1-20100228-2.jpg
The topic has been locked.

Re:join date 1 year, 11 months ago #8

Yes, this works too, but in the changes that i have proposed, i use an existing query to get user info
  • xillibit
  • NOW ONLINE
  • Kunena Developer
  • Kunena always better
  • Posts: 6943
I don't provide support by PM, because this can be useful for someone else.
Become a Kunena fan
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.46 seconds