Hello.
Could you please help me.
How can I make a boolean variable to see if a user has unread messages?
For example, a user has >0 messages, I need a variiable for the template like {S_HAS_UNREAD} which is ==1. If a user has no unread messages the variable should be equal to 0.
I tried to use chatgpt to help me but without any success - it turned out to be too difficult for AI. Hope for human help )
Could you please help me.
How can I make a boolean variable to see if a user has unread messages?
For example, a user has >0 messages, I need a variiable for the template like {S_HAS_UNREAD} which is ==1. If a user has no unread messages the variable should be equal to 0.
I tried to use chatgpt to help me but without any success - it turned out to be too difficult for AI. Hope for human help )
Statistics: Posted by romeo_piter — Sat Jun 21, 2025 8:52 pm