PDA

View Full Version : if contain attachment


thesatman
12-12-2006, 06:10 AM
Hi i'm currenlty using the following code in the postbit style to only show a banner advert in some forums-


</if>

<if condition="!is_member_of($bbuserinfo, 4) AND in_array($forum[forumid], array(23,24,25,37,38,39)) AND !$GLOBALS['FIRSTPOSTID']">


But what i need to do is only show the banner advert in posts that DONT contain an attachment, Is that possible and if so how would i change the above code ?

Thanks
Chris.

CyberAlien
12-14-2006, 10:24 AM
$show['attachments']