Hiding profile fields for some usergroups in postbit/postbit legacy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WildEye
    Senior Member
    • Jan 2004
    • 140
    • 3.7.x

    Hiding profile fields for some usergroups in postbit/postbit legacy

    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
    vBulletin Technical Support Lead
    • Aug 2000
    • 73981

    #2
    To deny viewing to the groups you listed, and using default vBulletin usergroupids, you would use a conditional like this:

    HTML Code:
    <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.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    Related Topics

    Collapse

    Working...