The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]() Quote:
1) Placing $threadinfo['forumid'] directly in the conditional: <vb:if condition="$threadinfo['forumid'] == 38"> <br /><br /> <div style="float:right;">banner here</div> <br /><br /> </vb:if> 2) Creating a plugin to register the variable $thisforumid and then placing that in the forumhome_lastpostby template: Plugin: $thisforumid = $threadinfo['forumid']; vB_Template: ![]() $thisforumid)); Template: <vb:if condition="$thisforumid == 38"> <br /><br /> <div style="float:right;">banner here</div> <br /><br /> </vb:if> For what it's worth, forumid 38 is the parent forum and there are several subforums below it. I'm assuming that the parent forum ID I need to use here, as that's how it's cycling through on FORUMHOME to show all of the forums. I have, however, also tried putting both the parent and subforum ID's all in an in_array conditional as well - which also didn't work. Screenshot is attached here for review. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|