How can I not show the footer advertisement (in AdminCP>Advertising>Manage Ads) on this custom vB page? Thanks!
|
Quote:
|
Quote:
Code:
define('THIS_SCRIPT', 'thankyou'); Code:
<vb:if condition="THIS_SCRIPT != 'thankyou'"> |
(try this)
PHP Code:
did u put the code in Manage advertisement right? |
Quote:
That all looks right to me, you shouldn't be seeing the ad stuff on that page. Where did you put the define() line? It needs to be before the require_once('global.php') line. |
sivaganeshk: I tried what you suggested and it didn't work.
kh99: Yep, it is before the require_once('global.php'). Here is the code for the page: Code:
<?php Code:
<vb:if condition="THIS_SCRIPT != 'thankyou'"> |
Quote:
Edit: this was wrong - you *can* use conditions in the ad code, as it says on the ad editing page. |
Quote:
|
I added an ad to my test site with that condition around it (only my test page has THIS_SCRIPT set to test) and it worked just fine. Do you have any other conditions set for the ad?
|
edit
--- for delete --- |
All times are GMT. The time now is 01:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|