What will be the syntax if i want something to be done based on: if there is an attachment or not in a thread. Thanx
e.g.
If there is an attachment
do this
else
do this
e.g.
If there is an attachment
do this
else
do this
vBulletin 3 is end of life and will not be receiving future development. Warning: vBulletin 3.8.11 is not compatible with PHP 7.2.0 or higher.
Welcome to the vBulletin support forums! In our community forums you can receive professional support and assistance with any issues you might have with your vBulletin Products.
Useful Links for Guests:
If you are having problems posting in the relevant areas for your software, please see this topic.
<vb:if condition="$show['attachments']">all attachment code</vb:if>
<if condition="$show['attachments']">all attachment code</if>
Comment