The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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. |
#2
|
||||
|
||||
Code:
<if condition="$_SERVER['HTTP_REFERER'] != 'www.x.com'">AD CODE HERE</if> |
#3
|
||||
|
||||
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. |
#4
|
||||
|
||||
Wait...is "x.com" your site, or theirs?
|
#5
|
||||
|
||||
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 |
#6
|
||||
|
||||
Anyone ?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|