XF 1.5 Is there a conditional to determine if an image is in a post or thread?


Active member
I want to position an ad in a location in a thread but do not want the ad to display if there are images in any posts in the thread...

Is there a conditional that will allow me to do this?

You can use $message.attach_count in the ad_message_body template, but that will only check for attached/uploaded files, it won't work for embedded images.
Top Bottom