![]() |
Multiple conditions
I've been trying to get a different background appear in the postbit_legacy for different usergroups.
I got 2 different types to appear ok, but when i add more it breaks. This is the code i'm using: Code:
<vb:if condition="is_member_of($post, 6)"> If I do it only for the first two it works fine, but when I do it for all of them it goes mental. Can anyone see where I have gone wrong? |
I think it needs to be <vb:elseif... without the space.
|
wow as simple as a space! Thanks for your help.
|
All times are GMT. The time now is 07:33 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:
|