Store Community Support Documentation
How to hide Google adsense in welcome page?

I want to hide google ads from my welcome page.

I edited welcome.css put this code

Quote:
body#welcome div.advert {
display:none!important
}


but nothing happened?

what should i do?
Be the first person to like this.
i want google add to display on all pages except welcome page??
Be the first person to like this.
Donna(data66)
#2
Normally we put adsense in an ad block and then use the disallow controller that is in the same screen where we are adding the ad to disallow core.index-visitor. This is how I did mine.

If you search this forum by POST for the thing you want, you will usually find it. Smile

You should remove your css edit.
Last update on April 9, 10:49 am by Donna(data66).
Be the first person to like this.
Thank you now i got it
Be the first person to like this.
#4
tell me please how to hide ad on password request page/
Thank you
Quote:
Originally posted by: data66

Normally we put adsense in an ad block and then use the disallow controller that is in the same screen where we are adding the ad to disallow core.index-visitor. This is how I did mine.

If you search this forum by POST for the thing you want, you will usually find it. Smile

You should remove your css edit.
Be the first person to like this.
Donna(data66)
#5
Oh for v3.2, there is a bug with the disallow that is for block 3 and not sure block 2 or 7 that they still show. I think it's fixed in 3.3.

As for the password request page, I was not able to turn it off on that without just turning it off for guests.
Be the first person to like this.
#6
Quote:
Originally posted by: data66

Normally we put adsense in an ad block and then use the disallow controller that is in the same screen where we are adding the ad to disallow core.index-visitor. This is how I did mine.

If you search this forum by POST for the thing you want, you will usually find it. Smile

You should remove your css edit.


Hello,
I have the same dilemma as the topic starter. I don't want to show any google adsense on my visitor index page.

I'm running phpfox v3.4.1 and I cannot find the disallow controller you mentioned. There is a controller dropdown box but when I select "core.index-visitor" from the dropdown, nothing happens. My google ads still display in the visitor index page.
Be the first person to like this.
Donna(data66)
#7
use the disallow controller that is in the same screen where we are adding the ad

go to edit your ad and look carefully on the screen. if you still don't see disallow controller, let me know and I'll take a screen shot but if you just take a minute to fully read every line on the ad edit page, you will see it. This is admin created ads.
Be the first person to like this.
#8
Hi data66,
Thank you for your reply. I went back and edit the ad block as your mentioned but still can't see the disallow controller. I even tried creating a new block and switching between php code/html code from the Type dropdown but there is still no disallow controller available.

Fo your reference, I included the link to the tutorial I used http://www.diigo.com/item/image/2kb28/7tr6

The screenshot on the tutorial is exactly what I see on my add block page.

Your assistance is much appreciated. Thank you in advance.
Last update on January 1, 3:54 pm by hmong612.
Be the first person to like this.
Donna(data66)
#9
Sorry I thought you said you were putting it in an ad and not in a cms block. You can put this in an ad in the modules >> ad and then you can see the disallow.

For putting this in a block, just uncheck the guest user group.
Be the first person to like this.
i want to hide adsense from welcome page only..
i dont want to use core.index-visitor Disallow Controller or user group setting .
i just wants to hide from welcome page not from any other inner pages. kindly help
thanks
Be the first person to like this.
Donna(data66)
#11
i want to hide adsense from welcome page only.. i dont want to use core.index-visitor Disallow Controller or user group setting . i just wants to hide from welcome page not from any other inner pages. kindly help thanks
That is how you do it though. The core.index-visitor is the page for the visitor welcome. You need to do it how the script is programmed to work or you will make a mess on your site.
Be the first person to like this.
if i disallow- core.index-visitor
if some visitor open my website blogs - www.mywebsite.com/blog/
adsense not visible to them....
i just wants to hide adsense from welcome page for visitors..
i want to show adsense to visitors on all other pages like blog, forum, photo, profile, etc etc
Be the first person to like this.
Donna(data66)
#13
if i disallow- core.index-visitor if some visitor open my website blogs - www.mywebsite.com/blog/ adsense not visible to them.... i just wants to hide adsense from welcome page for visitors.. i want to show adsense to visitors on all other pages like blog, forum, photo, profile, etc etc
The disallow controller is only for the page it is on. It will show on other pages. I use it myself on my own sites. http://scripttechs.com/ http://scripttechs.com/blog
Be the first person to like this.

Any update ?

Be the first person to like this.