thenashy Active member Jul 25, 2018 #1 Hi Guys, I'm wanting to put a message above the editors, but I'm useless with conditionals. How would I do an if/else for users with 10 or less posts? Appreciate any help.
Hi Guys, I'm wanting to put a message above the editors, but I'm useless with conditionals. How would I do an if/else for users with 10 or less posts? Appreciate any help.
oman Well-known member Jul 29, 2018 #2 Hi @thenashy You could try this, and will probably (hopefully) work: Code: <xen:if is="{$visitor.message_count} <= 10"> YOUR CONTENT GOES HERE </xen:if> Let me know if that works. Upvote 0 Downvote
Hi @thenashy You could try this, and will probably (hopefully) work: Code: <xen:if is="{$visitor.message_count} <= 10"> YOUR CONTENT GOES HERE </xen:if> Let me know if that works.