Log in

View Full Version : How may I exclude....


Mecho
08-21-2008, 01:02 PM
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.

Dismounted
08-22-2008, 10:12 AM
<if condition="$_SERVER['HTTP_REFERER'] != 'www.x.com'">AD CODE HERE</if>

Mecho
08-22-2008, 04:58 PM
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.

Dismounted
08-23-2008, 05:24 AM
Wait...is "x.com" your site, or theirs?

Mecho
08-23-2008, 08:07 AM
Wait...is "x.com" your site, or theirs?

their website.

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

Mecho
08-27-2008, 12:52 PM
Anyone ?