![]() |
Problem with conditionals
In my postbit template, I have:
Code:
<if condition="is_member_of($bbuserinfo, 5,6,7,15)"> So do I have to change the way my subscription is set up or the way I have the if condition set up? |
That conditional will not match those who are only in 2, so you do not have to change it.
|
But it's not showing up for those who are primarily in 15 and additionally in 2. And that's what I want.
Let me say it another way and maybe it will be more clear. The way I want it and the way I thought it would work: Club members with a subscription who are in 15 and 2 - see this field Regular users who are only in 2 - don't see it The way it is now: Club members who are in 15 and 2 - don't see it <-- bad Regular users who are only in 2 - don't see it <--good |
Can members in group 5,6,7 see it? Is your condition perhaps inside of another condition that members in group 15 don't get to see?
|
It works for 6 (me) and 7. Just not 15. And it's not inside another condition.
|
If you remove the "$post['field5']" conditional (the second one), does it still not show for the other group?
|
If I remove that, all group 15 sees is "a.k.a.:" but it doesn't show the value in field5. Group 6 sees both the aka and the value in the field.
This is what I have now: Code:
<if condition="is_member_of($bbuserinfo, 5,6,7,15)"> |
That means "field5" is not populated for group 15 - fill in that field for the user.
|
It is filled in in many user's profiles. It's an optional profile field.
|
Are you sure it is field 5? Because none of the conditionals are wrong - they are working.
|
All times are GMT. The time now is 11:23 AM. |
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:
|