Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Mar 2010, 00:02
elenh's Avatar
elenh elenh is offline
 
Join Date: Jun 2009
Real name: Elen H.
vB4 Template Conditionals

Hello , im trying to add 2 banners banner1 & banner 2 with this method:
banner 1 showing every where but no in forum id 1 + 2
banner 2 showing only in forum id 1+2 and not in other forums.

i have read in the articels the bellow topic but the code works not.
http://www.vbulletin.org/forum/showthread.php?t=231525

I have added:

<vb:if condition="$forum[forumid] == 1,2">Show this if forum id is x</vb:if>
<vb:if condition="$forum[forumid] != 1,2">Show this if forum id is not x</vb:if>

but is works not.Ihave tryed with one id too but worked not.
Anyone who can help about?
Thanks.
Reply With Quote
  #2  
Old 07 Mar 2010, 16:19
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Try to use this instead:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will show it only to the forum id''s 1 and 2.



Whereas this below will show it to every forum but 1 and 2.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
My mods.
Reply With Quote
  #3  
Old 07 Mar 2010, 18:54
elenh's Avatar
elenh elenh is offline
 
Join Date: Jun 2009
Real name: Elen H.
Thanks for the help!
Reply With Quote
  #4  
Old 07 Mar 2010, 21:15
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Originally Posted by elenh View Post
Thanks for the help!
You are welcome.
__________________
My mods.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:01.

Layout Options | Width: Wide Color: