Hi
I am trying to workaround the Adsence requiment for not serving ads in several topics with "improper" content.
this I could do with,
{{if \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'topic' and in_array(\IPS\Request::i()->id, array(107168,164188))}}
and serving the static ad with ELSE condition
but also I have several forums locked for guests and because IPS could no provide solution for allowing the Adsense crawler in this forums, google serve no ads there.
I tried to solve this issue with ELSEIF condition, but then whle code became too bulky and duplicate.
Coudl I somehow combine the following logic to serve the ads in the topic view:
If the ForumID = a,b,c OR TopicID= d,e,f then "Code1"
else "code 2"
Thank you