![]() |
How may I exclude....
Hi
I'm wondering How may I exclude a ADS in showthread.php for visitors coming from a certain domain? I've heard you can do this with an <if condition ...> and $_SERVER. Can you please show me how to do this for example for www.x.com ? Thanks in advance. |
Code:
<if condition="$_SERVER['HTTP_REFERER'] != 'www.x.com'">AD CODE HERE</if> |
Thanks but it doesn't work .
the ads shows up for normal users and the referrers from that website . btw that code suppose to Show the ads to those guests or not showing it ? i want to not Showing ads to them . I dont know that it is different or not but my linkS in their website are like this : www.x.com/something.something.html thanks in advance. |
Wait...is "x.com" your site, or theirs?
|
Quote:
my links in their website are like this for example : www.x.com/something/something/something and that link would redirect to my website but my website is in a Iframe so still in browser u can see their website link (x.com/.....) . thanks |
Anyone ?
|
All times are GMT. The time now is 04:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|