Wyvh Member Aug 18, 2017 #1 Greetings, Title says it all: How can I show content if unread conversations count is superior than 0 ? Like, if you have 1, 2, 3 or more unread conversations, show X content. I did check the Conditional Statements guide. Thanks !
Greetings, Title says it all: How can I show content if unread conversations count is superior than 0 ? Like, if you have 1, 2, 3 or more unread conversations, show X content. I did check the Conditional Statements guide. Thanks !
Naz XenForo developer Staff member Aug 19, 2017 #4 PHP: <xen:if is="{$visitor.conversations_unread} > 0"> this will show if the visitor has unread conversations </xen:if> Upvote 0 Downvote
PHP: <xen:if is="{$visitor.conversations_unread} > 0"> this will show if the visitor has unread conversations </xen:if>
Wyvh Member Aug 19, 2017 #5 NixFifty said: PHP: <xen:if is="{$visitor.conversations_unread} > 0"> this will show if the visitor has unread conversations </xen:if> Click to expand... Thanks a lot NixFifty. Problem solved. Upvote 0 Downvote
NixFifty said: PHP: <xen:if is="{$visitor.conversations_unread} > 0"> this will show if the visitor has unread conversations </xen:if> Click to expand... Thanks a lot NixFifty. Problem solved.