Welcome, Guest
Username Password: Remember me
Joomla!Day USA West | October 1-3, 2010

join date
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: join date

join date 6 months, 3 weeks ago #1

can we show the join date of user in their post

example
Attachments:

Re:join date 6 months, 3 weeks 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 for ever
  • Posts: 3221
I don't provide support by PM, because this can be useful for someone else.
Become a Kunena fan

Re:join date 6 months, 3 weeks ago #3

what file in folder default_ex i must add that code?
Last Edit: 6 months, 3 weeks ago By clevercat.

Re:join date 6 months, 3 weeks ago #4

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

Re:join date 6 months, 1 week 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

Re:join date 6 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
Attachments:
  • xillibit
  • NOW ONLINE
  • Kunena Developer
  • Kunena for ever
  • Posts: 3221
I don't provide support by PM, because this can be useful for someone else.
Become a Kunena fan
Last Edit: 6 months ago By xillibit.

Re:join date 6 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
Attachments:

Re:join date 6 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 for ever
  • Posts: 3221
I don't provide support by PM, because this can be useful for someone else.
Become a Kunena fan
  • Page:
  • 1
Time to create page: 0.41 seconds