The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
In my postbit template, I have:
Code:
<if condition="is_member_of($bbuserinfo, 5,6,7,15)"> <div> <if condition="$post['field5']"> a.k.a.: $post[field5] </if> </div> </if> So do I have to change the way my subscription is set up or the way I have the if condition set up? |
#2
|
||||
|
||||
![]()
That conditional will not match those who are only in 2, so you do not have to change it.
|
#3
|
||||
|
||||
![]()
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 |
#4
|
||||
|
||||
![]()
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?
|
#5
|
||||
|
||||
![]()
It works for 6 (me) and 7. Just not 15. And it's not inside another condition.
|
#6
|
||||
|
||||
![]()
If you remove the "$post['field5']" conditional (the second one), does it still not show for the other group?
|
#7
|
||||
|
||||
![]()
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)"> <div> a.k.a.: $post[field5] </div> </if> |
#8
|
||||
|
||||
![]()
That means "field5" is not populated for group 15 - fill in that field for the user.
|
#9
|
||||
|
||||
![]()
It is filled in in many user's profiles. It's an optional profile field.
|
#10
|
||||
|
||||
![]()
Are you sure it is field 5? Because none of the conditionals are wrong - they are working.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|