The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How To Hide (cannot edit) Profile Fields From Specific Groups With Conditionals
How to use the vB4?
Fields From Specific Groups With Conditionals This is used for vB3.x Admin CP -> User Profile Fields -> User Profile Field Manager For example, a profile field that says field2 has a profilefieldid of 2, so you would replace A, B, C with 2 if that is the only profile field you want to restrict. Specify Which Groups CANNOT Edit Simply add a ! to the previous code to reverse the logic on the group checking: Code:
<if condition="THIS_SCRIPT != 'profile' OR (!in_array($profilefield[profilefieldid], array(A, B, C)) OR !is_member_of($bbuserinfo, X, Y, Z))"> ... </if> Thanks for the help |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|