thumped
Well-known member
Resposting this from the conditional statements thread...
For years i've been successfully preventing adsense from appearing on certain flagged threads by wrapping the adsense code in page_container_js_head using
I have
in page_container and everything works as expected.
Or rather, worked as expected. Last Friday I received a warning email from Google saying ads were appearing on one of the threads (43336) and should be removed... I've no idea when the conditional actually stopped working, or what caused it.
Meanwhile, I'm also blocking all ads for sponsors with
in page_container_js_head, and that's still working fine
I've tried disabling all addons via config.php but it doesn't help.
(The problem seems to be the same as this one.)
For years i've been successfully preventing adsense from appearing on certain flagged threads by wrapping the adsense code in page_container_js_head using
Code:
<xen:if is="!in_array({$threadId}, array(43336,52702,46855,27897,84323,58726,28197,50759,81976,52186,53815,53126,59333,67655,22744))">
Code:
<xen:container var="$threadId">{$thread.thread_id}</xen:container>
Or rather, worked as expected. Last Friday I received a warning email from Google saying ads were appearing on one of the threads (43336) and should be removed... I've no idea when the conditional actually stopped working, or what caused it.
Meanwhile, I'm also blocking all ads for sponsors with
Code:
<xen:if is="!{xen:helper ismemberof, $visitor, 9}">
I've tried disabling all addons via config.php but it doesn't help.
(The problem seems to be the same as this one.)