Display last poster name for threads on index page (General)
Hi Auge,
To display date of last post I edited index_table.inc.tpl and replaced the following code on Line 24:
{$data.$thread.formated_time}
with this code:
{$data.$thread.last_reply|date_format:#time_format#}
Here, 'time_format' is the new time syntax entry, I added in the lang file.
I've also added a custom code which will compare current date and will display Today or Yesterday with the last post date.
At this point I wish to display the user name of last reply for each thread on index page. This is the common feature in SMF, PHPBB, VBulletin and many other professional forums.