PDA

View Full Version : Hiding profile fields for some usergroups in postbit/postbit legacy



WildEye
Wed 14th Jun '06, 3:03pm
I want to hide some/all user profile fields from a couple of user groups. (Unregistered, banned, awaiting email confirmation etc..)

I know it can be done with "if conditionals" but need some pointers on how to do it. => read: at detailed as possible please :)

I denied the unregistered users from viewing the public profile, but the info can still be found in the postbit / postbit legacy templates.

Thanks for any help!

Wayne Luke
Wed 14th Jun '06, 3:15pm
To deny viewing to the groups you listed, and using default vBulletin usergroupids, you would use a conditional like this:



<if condition="!is_member_of ($bbuserinfo, 1,3,4,8)">
Profile field information
</if>


You can change the list of usergroups to match your needs.