XF 1.2 conversation Unread

netkingZ

Active member
Hello ,
in the model/template how can check if a conversation has been accessed or not?
I would like to create an alert that notifies the user that a call has not yet read.
I found the variable $conversationsUnread and tried to use it so it does not work:

Code:
    <xen:if is="{$conversationsUnread}">
                MESSAGE CONVERSATION UNREAD
            </xen:if>
            <xen:if is="{$conversationsRead}">
              MESSAGE CONVERSATION READ
            </xen:if>

any suggestions?
 
Code:
<xen:if is="{$visitor.conversations_unread}">
	MESSAGE CONVERSATION UNREAD
</xen:if>

That is true if the current logged in user has at least 1 unread PM.
 
Back
Top Bottom