How to hide content in exact URL?
Posted July 13th 2017, 10:41am
Hi,

I need to remove the AdSense banners from the forum login page because they sent me a notice saying that this violates the AdSense Policy as there is no content on the login page. The problem is that the banners run with the extension of Advertising Management that shows the banners in all the pages of the forum. How can I hide the banners exactly on the login page?

Thanks in Advance
φ
Posts: 1
Joined: February 10th 2013, 6:40am
How to hide content in exact URL?
Posted July 13th 2017, 11:30am
I wasn't aware that Advertisement Management was available for phpBB 3.1. You learn something new every day!

In any case, you'll need to find the ad template that you need to block on the login page, and then surround it with an appropriate <!-- IF --> template statement. Maybe something like:

<!-- IF not S_LOGIN_ACTION -->
(template code for ad)
<!-- ENDIF -->

I hope this helps!
φ
Posts: 1599
Joined: March 12th 2009, 11:00pm
Location: Uncertain due to momentum
Likes Given: 26
Likes Received: 357

Who is online

Users browsing this forum: No registered users and 0 guests