![]() |
Basic IF
What if would i use for the forum id so if it's forum id 50 then display this postbit but anything else is that.
<if condition="something"> $postbit <else /> $postbit2 </if> |
The following should work:
HTML Code:
<if condition="$forum[forumid] == 'x'"> Replace x with the forum id you want. |
thanks i tried that but left out the '' around the x
What would it be for threadid? |
you don't need the quotes round the number.
|
ok, must be something else then. The If Doesn't work properly i have it in my postbit as:
PHP Code:
|
All times are GMT. The time now is 01:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|