XF 1.1 Is there a conditional for unread content in nodes?

Ingenious

Well-known member
I'm looking at replacing the read/unread node icons with fancy ones that look the same regardless of whether the user has read/unread content in them. However I would like an option to still show if there are unread posts, maybe a star or graphical icon, but only for logged in users (it's pointless for guests as it will always show).

I'm OK with the conditional to only do something for logged in users, but is there a conditional I can use in the node list for whether there are unread posts?

So in english, for each node:

Is the user logged in? If so, is there unread content here? If so, display this graphic.

Thanks :)
 
See example in this template:

Admin CP -> Appearance -> Templates -> node_forum_level_2

Rich (BB code):
<div class="nodeInfo forumNodeInfo primaryContent {xen:if $forum.hasNew, 'unread'}">
 
Top Bottom