The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there a function that can be used to determin wether a forum is a child of another forum? I think this would work, but I am wondering if there is a better solution, one where I wouldn't have to state every possible forum that would be a child of another forum. Just use the one forumid for the parent forum to test if the current forum is a child of it.
Code:
<if condition="!in_array($forumid, array(X, Y))"> --------------- Added [DATE]1193770683[/DATE] at [TIME]1193770683[/TIME] --------------- Poking around the vBulletin code I found the variable $forum['parentlist'] which may be able to help. From what I can tell it is a comma separated list of the parent forumids of a section. But how to use this data in a template conditional? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|