Log in

View Full Version : Profile fields visibility based on usergroups


calvert
08-18-2008, 08:53 AM
Hi friends,

I searched the mod database but didn't found something like this.

I would like to have the possibility to configure profile fields based on the usergroup, the user belongs to.

For example, if he is member of usergroup x, he should have the possibility to fill out the profile field y. If he's member of usergroup z, he should be able to fill out the profile field i but not profile field y.

Do you remember if there was a mod which provides this functionality? If yes, please give me a link or perhaps you can give me a few tips, how to create something like this?

R34GTT
12-01-2008, 09:33 AM
I need the same.. anyone?

christian8a
12-01-2008, 02:37 PM
Same here :up:

R34GTT
12-01-2008, 09:09 PM
In detail I have a custom profile field shown in the post bit, and I only want this field to come up if they are in a certain usergroup, and if they are a registered user it doesn't show.

--------------- Added 1228180875 at 1228180875 ---------------

I just need simple code to put in the postbit.

On the lines of "if usergroup 'x','y','z' $show[field'x']"

I just need someone to write it out for me so I can add it in if possible

dismas
12-02-2008, 01:03 AM
I just need simple code to put in the postbit.

On the lines of "if usergroup 'x','y','z' $show[field'x']"

I just need someone to write it out for me so I can add it in if possible

This will show profile field X to just the members of those usergroups. Change X to the number of the field you want to use.


<if condition="is_member_of($bbuserinfo, 5,6,7,15)">
<div>
a.k.a.: $post[fieldX]
</div>
</if>

mindfrost82
01-13-2009, 03:40 PM
Hi friends,

I searched the mod database but didn't found something like this.

I would like to have the possibility to configure profile fields based on the usergroup, the user belongs to.

For example, if he is member of usergroup x, he should have the possibility to fill out the profile field y. If he's member of usergroup z, he should be able to fill out the profile field i but not profile field y.

Do you remember if there was a mod which provides this functionality? If yes, please give me a link or perhaps you can give me a few tips, how to create something like this?
I'm looking for a mod like this as well. Were you able to find anything?