1
I want to change the last post field in the Recent Topics block to read "20min ago by <username> I know a little C# but am unsure how to call datetime.now in PHP in order to subtract the actual post time in order to return the days/hours/min back. Any ideas OR a nice little solution would be great!
This is what the cell currently contains. Note, I am using IPBoards if it makes a diff.
<td align="right"><{$topic.time}><br><{if $topic.last_post_id <> 0}><a href='<{$xoops_url}>/modules/ipboard/index.php?s=<{$topic.sess_id}>&act=Profile&CODE=03&MID=<{$topic.last_post_id}>'><{$block.lang_by}>: <{$topic.last_post_name}></a><{else}><{$block.lang_by}>: <{$topic.last_post_name}><{/if}></td>