View Full Version : This_script
woostar
08-09-2007, 09:58 PM
Wonder if someone can help? What is wrong with this:-
<if condition="(THIS_SCRIPT != 'forumdisplay' OR 'showthread')">
<br />
</if>
because it doesn't seen to work :(
Regards,
W.>
Adrian Schneider
08-09-2007, 10:14 PM
Use this,
<if condition="THIS_SCRIPT != 'forumdisplay' and THIS_SCRIPT != 'showthread'"> or use this,
<if condition="!in_array(THIS_SCRIPT, array('forumdisplay', 'showthread'))">
woostar
08-09-2007, 10:20 PM
First one did the trick :) Thanks again SirAdrian
kronnos
02-04-2008, 01:36 PM
I tried to use this code in Ultimate side colums in an ad block but it didnt do anything. Could that be because i cant use php code in adblocks or because i did something wrong.
BTW, i wanted to use the above code to set it say if its not forum home then show adcode1 if its any other page show adcode2.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.