The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|