I'd like to use a conditional that excludes ads being shown based on one of the user' cutom profile field. More specifically ads that are targetted to men shouldn't be shown to women and vice versa.
The profile field is either: Male / Female
The ads that are for men contain this keyword: MenOnly
The ads that are for women contain this keyword: WomenOnly
The install instructions suggest using this invocation using template conditionals:
<if condition="$bbuserinfo['usergroupid']==1"><ad what="" /></if>
Based on that what would the conitional be that I'd need to use for:
don't show banners containing "MenOnly" if the profile field = Female
don't show banners containing "WomenOnly" if the profile field = Male
|