The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Conditional Assistance
I'm trying to restrict Adsense ads from being displayed on several pages and to avoid the use of a bunch of 'OR' conditionals, I'm trying to stick all the bad pages in an array and then have the conditional check for the script name in the array instead. But, I can't seem to get it working, I'm sure it's something simple and I just need a fresh perspective on it. Thanks for any help!
Code:
<if condition="!(in_array(THIS_SCRIPT, array('search','editpost','newreply','newthread')))"> <!-- ADSENSE --> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|