XF 1.5 Go to /unread post on forum_list (XF1)

Russ

Well-known member
Maybe my morning coffee hasn't kicked in... but is there a way to link to the latest unread rather than the latest post.

Code:
<a href="{xen:link posts, $forum.lastPost}" title="{$forum.lastPost.title}">{$forum.lastPost.title}</a>

Did a
Code:
{xen:helper dump, $forum}
but not really seeing anything to adjust the URL.
 
Probably not. The unread data is only really available in the thread record itself. We do some preparation of the thread beforehand to ascertain its unread state, you can sort of see this in the thread_list_item template:
Code:
{xen:link "threads{xen:if '{$thread.isNew} AND {$thread.haveReadData}', '/unread'}", $thread}
 
Probably not. The unread data is only really available in the thread record itself. We do some preparation of the thread beforehand to ascertain its unread state, you can sort of see this in the thread_list_item template:
Code:
{xen:link "threads{xen:if '{$thread.isNew} AND {$thread.haveReadData}', '/unread'}", $thread}

Coffee didn't fail me, thank you Chris I kind of assumed it wasn't available but wanted to check. Appreciate it.
 
Back
Top Bottom