I’ve spent the past couple hours trying to add a First Post link to spListView.php to appease users who are clamoring to know who started topics in the “Unread and recently updated topics” list we show them on our main Forums page with the Group View.
I realize now, this would require a function that doesn’t appear to exist. I thought I might be able to hack something together based on sp_ListLastPost and sp_TopicIndexFirstPost, but I quickly got lost.
I’d rather not hack core files, so could we please consider this a request for a sp_ListFirstPost function that could be added to the spListView template? Unless, of ourse, there is a way to do this with template edits…
In Forum view, there is a column displaying the first post date and author with vtip excerpt. For the List view it would be great if we could show the same details/format as LastPost, with icon, “First Post” author, and age of post.
During my futile exercise I thought the following code from line 38 of spListView.php might do what I’m looking for but it doesn’t seem to be working at all.
sp_ListNewPostButton('tagClass=spButton spRight', __sp('New: %COUNT%'), __sp('View the first new post in this topic'));
Looking at sp-list-view-functions.php, it appears this should “Display new post count with link to the first new post in the topic” but there is no such count, and no link. But as I read that again, it doesn’t appear intended to show a link to the post that started the topic anyway.
Somehow, one of our users dug up an old screen shot that showed who started a topic in this view, now everybody wants it back. Thanks in advance for any guidance here…