XF 1.5 Removing Ads from register/register page + /account-confirmation

ActorMike

Well-known member
I have successfully created the conditional statement below that does not show Google Ads to paid upgrades or the predefined pages like registration. I noticed that on the /register/register page it shows ads. I would really like to remove the ad from that page too as well as the account-confirmation. Can anybody help? Thank you!

Code:
<xen:if is="!{xen:helper ismemberof, $visitor, 3, 5, 12, 15, 10, 11} AND !in_array({$contentTemplate}, array('message_page', 'error', 'search_form', 'search_form_post', 'search_form_profile_post', 'search_results', 'register_form', 'register_facebook', 'register_twitter', 'register_google', 'login', 'login_two_step', 'error_with_login', 'contact'))">

googlead.webp
 
Back
Top Bottom