The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to have an individual usergroup (usergroup 1) that would have a field option like "interests" for the individual's profile. Then I want to have a organization usergroup (usergroup 2), but they would not receive the "interests" field as an option for their profile because it would be irrelevant.
I have pieced together this php code, but i still cant get it to work. <vb:if condition="is_member_of($bbuserinfo) == 9?> {vb:raw userinfo.field6} </vb:if> <vb:else condition="is_member_of($bbuserinfo) != 9?> {unset($userinfo.field6)} </vb:if> I have tried it in two different templates. memberinfo_block_aboutme memberinfo_profilefield Can someone please help me out. All the research I have done seems more geared toward vb version 3 and does not work either. Such as: Restrict some profile fields to specific usergroup https://vborg.vbsupport.ru/showthread.php?t=244946 Any help is greatly appreciated! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|