The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide custom fields by usergroup?
Can someone give me a hand in creating a small plugin for vB 3.8.7? I want to hide/show the custom profile fields in usercp/editprofile by usergroup.
I guess the plugin should look something like this: Code:
if (!is_member_of($vbulletin->userinfo, array(X, Y, Z))) { unset( $vbulletin->cfield['1'], $vbulletin->cfield['2'], $vbulletin->cfield['3'] ); } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|