Issues on member Profile Pages
Installation and Configuration
thechocolatelife:WRT the way the discussions are being listed within the Lastest Discussions panel. I can change the sort as shown here - from " _created " to " _updated ".
{jrCore_list module="jrGroupDiscuss" order_by="_updated desc" profile_id=$_profile_id template=$pd_tpl}
The resultant displayed text is:
@chocliferoot 2 years ago - Comments: 9
What I really want it to say is:
@chocliferoot - Comments: 9; Last updated ## on MMMDDYY; Created 2 years ago
Taking a closer look, it might be in the foreach loop above but, again, I am not familiar enough with the core to know how to get the output I am looking for.
{jrCore_list module="jrGroupDiscuss" order_by="_updated desc" profile_id=$_profile_id template=$pd_tpl}
The resultant displayed text is:
@chocliferoot 2 years ago - Comments: 9
What I really want it to say is:
@chocliferoot - Comments: 9; Last updated ## on MMMDDYY; Created 2 years ago
Taking a closer look, it might be in the foreach loop above but, again, I am not familiar enough with the core to know how to get the output I am looking for.
If you look in the profile_index_discussion.tpl file above where that jrCore_list is called, you'll see where the template assigned to $pd_tpl is created. Line 20 is where the above is outputted, so change that line to something like -
<br><small><a href="{$jamroom_url}/{$item.original_profile_url}">@{$item.original_profile_url}</a> - {jrCore_lang skin=$_conf.jrCore_active_skin id="37" default="Comments"}: {$item.discuss_comment_count|default:0}; Last updated on {$item._updated|jrCore_format_time:false:"M d y"}; Created {$item._created|jrCore_format_time:false:"relative"}</small>