The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
forumid conditional help in templates please?
I'm trying to edit my forumhome_lastpostby template to display a banner only for a certain forumid. Here's the conditional I'm using, which is not working. Any help is appreciated:
<vb:if condition="$forum['forumid'] == 38"> <div style="float:right;">banner here</div> </vb:if> I've also tried $foruminfo['forumid'], and I've even tried making a plugin to register a new variable and then using that in the conditional as follows: $thisforumid = $forum['forumid']; vB_Template:reRegister('forumhome_lastpostby',ar ray('thisforumid' => $thisforumid)); Any suggestions? This was so easy in vb3, crazy how it's so difficult (or I'm just missing something terribly easy) in vB4. Thanks in advance! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|