Log in

View Full Version : Profile Fields - On Certain Usergroups Only


Psyd0x
06-02-2012, 12:59 PM
Hello All,

Is it possible to set up Profile Fields for certain usergroups only?

Example: I have an username image profile field, And I want to limit it to afew usergroups

Thanks and Regards,

Ben

Psyd0x
06-09-2012, 07:15 PM
no one can help me with this?

stuartn
06-10-2012, 08:41 AM
I found the only way to do this without requiring .php is to use template conditionals.

So for example - you set one or a bunch of options within the user options and select them to only be displayed on 'Options other' page then in the

modifyoptions template

<vb:if condition="is_member_of($bbuserinfo, xx)">
{vb:raw template_hook.usercp_options_other}
{vb:raw customfields.other}
</vb:if>

So by default only members within usergroup xx see the page with the other options.

What would be ideal and I need to get my head round it and I'm sure it should be possible is to set a template conditional that revolves around the actual category of the use option.

Hope this helps.