![]() |
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))"> Thanks for the help |
All times are GMT. The time now is 05:01 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:
|