View Full Version : attachment conditional
dinodonk
03-27-2008, 11:12 AM
Can anyone help me how to check new post has attachment or not?
what conditional should i use in my modification?? $attachment ??
Thanks!
Neutral Singh
02-28-2011, 03:43 PM
i am looking for the same this. What will be the syntax if i want something to be done based on: if there is a attachment or not in a thread. Thanx
e.g.
If there is a attachment
do this
else
do this
Lynne
02-28-2011, 04:06 PM
This is in the postbit/postbit_legacy template. Have you tried it?
<vb:if condition="$show['attachments']">attachment code,/vb:if>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.