> Forums > Active Social > Themes and Templates > Show/hide profile fields based on member's role
Last Post 25 Apr 2011 02:01 PM by Sue Boothby. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Sue Boothby
Customers
Sue Boothby
Post Count:4

--
25 Apr 2011 09:11 AM
    • Active Social Version: 1.9.1
    • DotNetNuke Version: 5.6.1
    I have a site with community members and professional members, and would like to extend the user's profile for professional members. Does anyone know how to do this?
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    25 Apr 2011 11:12 AM
    Do you mean how do you add more fields or how can you show those fields to members with a "higher" role?
    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Sue Boothby
    Customers
    Sue Boothby
    Post Count:4

    --
    25 Apr 2011 12:24 PM
    How to show and display the fields based on member role.

    Community members can edit: First name, last name, profile photo

    Professional members can edit: Biography, logo, address, phone number.

    Profile view is also based on role. When viewing the profile of a community member, only first name, last name and profile photo can be viewed. When viewing the profile of a professional member, the biography, address and phone number can also be seen.
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    25 Apr 2011 01:35 PM
    Professional members can edit: Biography, logo, address, phone number.


    DNN does not currently have a way to restrict/show profile fields by role (good idea though...). Since Active Social depend on the DNN profile fields there is not a way I"m aware of to hide fields during profile registration/maintenance through AS.

    One option might be to use something like Dynamic Registration for Reg and Maintenance....which allows you to build rules on various parameters including DNN roles. AS would still "read" these values since both modules would still be using the core profile fields.

    As far as display goes. I don't think the templates support conditional concepts like [INROLE:Professional Member] show some content [/INROLE:Professional Member]. However, views like the profile info will skip empty profile fields, so if you prevent them from being filled out on the front end....

    I know there was some talk about profile types coming up but I don't know if that's planned for 6.0 or not and if it can be related to roles.
    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Sue Boothby
    Customers
    Sue Boothby
    Post Count:4

    --
    25 Apr 2011 02:01 PM
    Thanks for your help. I will look into Dynamic Registration.
    You are not authorized to post a reply.
    > Forums > Active Social > Themes and Templates > Show/hide profile fields based on member's role
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy