The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Issue With Conditionals
Hello,
I'm trying to display an html advertisement in one subforum. I understand that you can do this with conditionals. Code:
<if condition="$forum[forumid] == 11"> html ad code here </if> Is the code above correct? The forum ID is 11. I have vbseo installed would that make a difference as far it being listed as 11 and not the actual name of the forum? If the code above is correct, where do I place the code so that it appears in that one forum? What specific template do I edit? I also have one other forum section I want to advertise in as well. Any help would be greatly appreciated! |
#2
|
||||
|
||||
The above condition may or may not be correct - it depends on what template you put it in. What page are you wanting to put in on and where on the page?
You can find the template you want to add the code to by doing this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|