Kunena
   
Welcome, Guest
Please Login or Register.    Lost Password?
Bookmark and Share

join date
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: join date
#39480
join date 1 Month ago  
can we show the join date of user in their post

example
clevercat
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#39487
Re:join date 1 Month ago  
Hello,

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

Code:

<div class = "viewcover">
                   <?php $joindate = explode(' ',$kunena_my->registerDate);
                   echo $joindate[0];
                    ?>
                  </div>

xillibit
Kunena Developer
Posts: 2058
graphgraph
User Online Now Click here to see the profile of this user
Gender: Male AlienTuningPC Location: France Birthday: 03/15
The administrator has disabled public write access.
I don't provide support by MP, because this can be useful for someone else.
 
#39519
Re:join date 1 Month ago  
what file in folder default_ex i must add that code?
clevercat
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/02/07 18:20 By clevercat.
The administrator has disabled public write access.
 
#39572
Re:join date 4 Weeks, 1 Day ago  
Oop, i forgot to give you the file, it's in message.php
xillibit
Kunena Developer
Posts: 2058
graphgraph
User Online Now Click here to see the profile of this user
Gender: Male AlienTuningPC Location: France Birthday: 03/15
The administrator has disabled public write access.
I don't provide support by MP, because this can be useful for someone else.
 
#41186
Re:join date 1 Week, 4 Days ago  
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
sakolhcpt
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#41261
Re:join date 1 Week, 3 Days ago  
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
Kunena Developer
Posts: 2058
graphgraph
User Online Now Click here to see the profile of this user
Gender: Male AlienTuningPC Location: France Birthday: 03/15
Last Edit: 2010/02/28 05:30 By xillibit.
The administrator has disabled public write access.
I don't provide support by MP, because this can be useful for someone else.
 
#41277
Re:join date 1 Week, 3 Days ago  
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
sakolhcpt
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#41282
Re:join date 1 Week, 3 Days ago  
Yes, this works too, but in the changes that i have proposed, i use an existing query to get user info
xillibit
Kunena Developer
Posts: 2058
graphgraph
User Online Now Click here to see the profile of this user
Gender: Male AlienTuningPC Location: France Birthday: 03/15
The administrator has disabled public write access.
I don't provide support by MP, because this can be useful for someone else.
 
Go to topPage: 1