Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 04 Apr 2007, 16:03
MARKETPROFITS's Avatar
MARKETPROFITS MARKETPROFITS is offline
 
Join Date: Nov 2006
Real name: Koach
Question What is the conditional code to do this

I want to prevent my google adsense ads from being displayed to a specific domain.

The domain is

http://5centminimum.com/members/timerPTC.php


Can someone help me with the correct conditional statement to prevent adsense ads from being displayed to the above listed url?

Thank you.
Reply With Quote
  #2  
Old 04 Apr 2007, 16:27
Snort_2005 Snort_2005 is offline
 
Join Date: Jun 2005
5CENTMINIMUM Please log into your account and try again.

That's all I see.. o_O;
Reply With Quote
  #3  
Old 04 Apr 2007, 17:07
MARKETPROFITS's Avatar
MARKETPROFITS MARKETPROFITS is offline
 
Join Date: Nov 2006
Real name: Koach
Oh wait. sorry.. I did not explain myself properly.

Ok, some person submitted my board to that site without my permission.

But I don't want my Google adsense ads to be displayed on that url when my site is viewed.


I think that site is a banner exchange, I'm not sure.

But what I want to do is prevent my Google Adsense ads from being displayed on that domain.


Isn't there a code for this involving .htaccess and a rewrite of some kind?

I want those who use that domain to look at my site, but I do not want them to look at my Google Adsense ads. But I only want that domain to not "see" my Google ads.
Reply With Quote
  #4  
Old 04 Apr 2007, 18:12
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
So basically preventing hotlinking?
__________________

Posting for support? Read THIS first
Do NOT PM me unless I asked you to. Your PM will be deleted and ignored!
Do NOT IM me unless I asked you to. You will be added to my ignore list!
Chuck Norris once shot an enemy plane down with his finger.... by yelling, “Bang!”
Reply With Quote
  #5  
Old 04 Apr 2007, 18:27
MARKETPROFITS's Avatar
MARKETPROFITS MARKETPROFITS is offline
 
Join Date: Nov 2006
Real name: Koach
Well, if it can prevent my Google Adsense ads from showing up on that domain when my board is viewed on that domain, then I guess it does prevent hot linking.

Although I'm not quite sure what hotlinking is...

Ok everyone, this is what I have so far, please correct me if I am wrong.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Ok this is what I have:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And I also have this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And also this



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Will these codes prevent Adsense from showing up in a domain I don't want them to, even if my site shows up on that domain?


Well, I have an idea as to how to block this type of cheap traffic, and it involves modifying the .htaccess file.

sweet!

Last edited by MARKETPROFITS : 04 Apr 2007 at 22:26. Reason: Automerged Doublepost
Reply With Quote
  #6  
Old 06 Apr 2007, 03:37
MARKETPROFITS's Avatar
MARKETPROFITS MARKETPROFITS is offline
 
Join Date: Nov 2006
Real name: Koach
Yes, this is similar to preventing "hotlinking." I found out what that was...lol. Thanks for pointing me in the right direction Redlinemotorsports.
Here is what I was after


This code is for multiple referrer that you want to block


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


This code here is for one referrer to block


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



This code is useful to block sites that you do not want traffic from, and in my case, this is very helpful as I do not need traffic from a few sites.

I just tested this using vbulletin.org and it works great!

Last edited by MARKETPROFITS : 06 Apr 2007 at 03:42. Reason: Automerged Doublepost
Reply With Quote
  #7  
Old 06 Apr 2007, 03:55
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
So you got it working now?
__________________

Posting for support? Read THIS first
Do NOT PM me unless I asked you to. Your PM will be deleted and ignored!
Do NOT IM me unless I asked you to. You will be added to my ignore list!
Chuck Norris once shot an enemy plane down with his finger.... by yelling, “Bang!”
Reply With Quote
  #8  
Old 06 Apr 2007, 04:55
MARKETPROFITS's Avatar
MARKETPROFITS MARKETPROFITS is offline
 
Join Date: Nov 2006
Real name: Koach
Yes, I did.

I tried a plug in, but that wasn't working.


This does the trick!

Last edited by MARKETPROFITS : 06 Apr 2007 at 04:58.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 21:12.

Layout Options | Width: Wide Color: