The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Condition for parent forum id?
I'm looking to write a condition where if a forum has a top level parent forum it will display differently on forumhome.
Is this possible? Say for example. -Forum A --General ---DVDs -Forum B --Help ---Answered I need DVDs to display differently than Answered. Thanks for any suggestions. ~007 |
#2
|
|||
|
|||
Hmm i don't really understand you. Both DVDs & Answered dont have a top level as parent.
|
#3
|
||||
|
||||
Well I know, that's what I am trying to figure out how to write into a conditional.
So, if the highest parent forum = Forum A, execute condition, else, do not execute. So Since DVD's is under General, which is Under Forum A, the condition would apply to it. Does that make sense? Thanks for the help. |
#4
|
||||
|
||||
Well, the key is parentid - now the question is which array it is in
In which Template do you want to use the condition? |
#5
|
||||
|
||||
I'm looking to use it in 4 templates that start with forumhome_forumbit_ .
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|