MyBB Community Forums
Templates Conditionals - Display text if no one reply's to the thread for 30 days - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Templates Conditionals - Display text if no one reply's to the thread for 30 days (/thread-164405.html)



Templates Conditionals - Display text if no one reply's to the thread for 30 days - Phantomer - 2014-12-19

How do I display a text below the quick reply if no one responds to the thread for 30 days using Templates Conditionals? Thank you!


RE: Templates Conditionals - Display text if no one reply's to the thread for 30 days - Destroy666 - 2014-12-19

<if $thread['lastpost'] < TIME_NOW - 2592000 then>
Noone responded during the last 30 days.
</if>