PDA

View Full Version : vBulletin variables doesn't work


Fabikus
03-30-2009, 11:40 AM
Hi, i need to exclude some banners in some forums id (and his discussions).
I use this code but it shows banner2 only into theese forum id index, instead it show banner1 into discussions of this forum. What can i do?

This is the code i use (i use it into header template):

<if condition="!in_array($_GET['f'], array(26,38,47,71,72,73))">
$banner1
</if>
<if condition="in_array($_GET['f'], array(26,38,47,71,72,73))">
$banner2
</if>

Lynne
03-30-2009, 02:07 PM
You asked this same thing over on vb.com and I replied over there.

Try something more along the lines of:
<if condition="in_array($forumid, array(26,38,47,71,72,73))">
$banner2
<else />
$banner1
</if>