The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide ad if on xyz page
I have some pages where I want to avoid my ads from showing. So, I need some type of conditional.
How can stop my ad code from showing on certain pages? I am using 3.8x. Thanks, Jon |
#2
|
||||
|
||||
https://vborg.vbsupport.ru/showthread.php?t=215032
On the linked page, look for the If This Script Is or Is Not XXX section. You will be wanting to use the following on the page you do not want the ad code to show. Code:
<if condition="THIS_SCRIPT != 'your page name'"></if> |
#3
|
|||
|
|||
I tried something like that but I am not sure I got the page name right. Is it the file name or template name or what?
|
#4
|
||||
|
||||
What php file created the page?
Look in URL |
#5
|
||||
|
||||
Quote:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|