tribedude Active member Mar 16, 2016 #1 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? Thanks,
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? Thanks,
P Paul B XenForo moderator Staff member Mar 16, 2016 #2 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. Upvote 0 Downvote
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.