The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
[HELP] Hidden Profile Field Permissions
Is anyone else having issues with setting custom profile fields to private & dis-allowing all usergroups but admins usergroup to see private fields that all usergroups can still see and use private custom profile fields?
I created two seperate custom profile fields, one for registered users, allowed by all & one for admins, set to private. When viewing general settings through registered user test account I can still see & use the private field for admins that is set to private. How can I set permissions for custom profile fields to hide the option to see it in General Settings without adding code to the userfield_wrapper template for all but admins usergroup but display the output? I added the following to the userfield_wrapper template & it will hide the option from showing in general settings from all but admins. But, this will hide the output of selected option in postbit to all users but admin. Code:
<vb:if condition="THIS_SCRIPT != 'profile' OR (!in_array($profilefield[profilefieldid], array(6)) OR is_member_of($bbuserinfo, 6))"> userfield_wrapper template contents </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|