The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Checking Forum ID from template postbit
I am interested in knowing the forum id from within the template postbit in order to create a conditional around the Edit Post button.
PHP Code:
Alternatively is there a way to suppress or change the target of the edit post button on a per forum basis? |
#2
|
||||
|
||||
Your condition worked fine for me.
Code:
<if condition="$thread[forumid] == 2"> forum 2 <else /> some other forum </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|