The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]() |
#12
|
||||
|
||||
![]()
So, I'm still trying to figure out why this doesn't work...
I want this profile field to show in the postbit to those who are a member of both usergroups 2 and 15. No matter what group the poster is in. Now I'm trying variations on a theme. I tried doing this but I don't know if it's even possible: Code:
<if condition="is_member_of($bbuserinfo, 2) AND is_member_of($bbuserinfo, 15)"> <div> <if condition="$post['field5']"> a.k.a.: $post[field5] </if> </div> </if> |
#13
|
||||
|
||||
![]() Code:
<if condition="is_member_of($bbuserinfo, 2) AND is_member_of($bbuserinfo, 15)"> Code:
<if condition="is_member_of($bbuserinfo, 2, 15)"> |
#14
|
||||
|
||||
![]()
Have you tried
Code:
<if condition="(is_member_of($bbuserinfo, 2,15)) AND ($post[field5]) "> a.k.a.: $post[field5] </if> |
#15
|
||||
|
||||
![]() Quote:
Code:
<if condition="is_member_of($bbuserinfo, 2, 15)"> Code:
<if condition="is_member_of($bbuserinfo, 2) OR is_member_of($bbuserinfo, 15)"> ![]() |
#16
|
||||
|
||||
![]()
My bad, Lynne. Late at night and not enough coffee.
![]() I stand corrected. |
#17
|
||||
|
||||
![]()
As I understand it, that would mean that anyone who had filled out field 5 and was a member of UG #2 would see this. Which would mean that any regular user who filled out field 5 would be able to see everyone's field 5 entry. Right?
|
#18
|
||||
|
||||
![]() Quote:
If you aren't in usergroup 2 or 15 and the user has it entered, it wont show it to you If you are in usergroup 2 or 15 and the user doesn't have field 5 entered, it shows nothing So you probably just want the usergroup ID of 15 there (and not 2), and the field5 |
#19
|
||||
|
||||
![]()
My club members have 15 as primary and 2 as additional. It does not show for them. Is there a way to change that "or" to "and"?
|
#20
|
||||
|
||||
![]() Code:
<if condition="is_member_of($bbuserinfo, 2) AND is_member_of($bbuserinfo, 15) AND $post['field5'] "> a.k.a.: $post[field5] </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|