![]() |
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')))"> |
All times are GMT. The time now is 04:24 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|