Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...DotnetNuke Member Directory Profile Property VisibilityDotnetNuke Member Directory Profile Property Visibility
Previous
 
Next
New Post
8/15/2012 6:27 AM
 
Hi,

I am using the Member directory module on a page, i am trying to display all the registered users to the public with a certain amount of profile properties such as email address and telephone number.
When logged into the admin account i am able to see all the properties displayed of a user configured  via the item template.
However an unlogged in user can only see the name of a user. is there a way to display all the properties i want to a public user?

the site is here as an example

http://www.ite-manuals.com/Home.aspx

I have tried adding a public security role as well and that didnt help at all.
i am also trying to link the name to the profile page directly rather than the activity feed.

 any guidance would be appreciated

 
New Post
8/15/2012 7:36 AM
 
Hi,

I believe you can go into the Users Accounts module (under Admin), then click the Manage button in the top left corner and choose 'Manage Profile Properties'. There is a default visibility property for each property that you can change to a new role. I think the ones you are looking for are all set to 'AdminOnly' by default.


Richard Edwards
www.dnnstuff.com
Quality DotNetNuke Modules, Unrivaled Support (since 2004)
All 6 modules for as low as $49
 
New Post
8/15/2012 9:50 AM
 

Hi Richard,

 thanks for your reply.
I found the section to change the visibility of the Profile properties  in the site settings of admin section.
i should have mentioned i was using dotnetnuke 6.
I have set the Default profile Visibility Mode to AllUsers and also set the default visibility for each of the default properties and one custom one i created to AllUsers.
The properties are still not visible to a user who is logged in.
when logged in a user sees only their own profile
but the administrator can see all the properties of all the members and see all their entire profilea.

this is the site
http://www.ite-manuals.com/Home.aspx

username: test
pass: testtest

if anyone else wants to try and see what i mean

Thanks

 
New Post
8/15/2012 1:27 PM
 
1. Go to "admin" / "site settings", tab "userprofiles". At the bottom you see a grid where you can set the viewability for each field. These settings are the default visibilities for NEW users that are created. They don't have any effect on already EXISTING users! (--> To developers: An admin should be able to change these settings for already existing users too, somewhere, please!)

2. Each individual user, when logged in, can go to his own profile (click his avatar or username somewhere in the website, choose "my profile" then "edit profile", go to tab "manage profile"). Each field has a "lock"-icon to the right side. Clicking on it, allows to change the visibility for this field. (--> To developers: If a field is flagged as a "required field" it uses slightly more horizontal space because of the red marking, causing the "lock"-icon to slide downwards, which looks extremely ugly. Please correct this! Thanks.)

3. The "usercards" generally show only SOME of the profile's fields. If you click on the username, you see his profile with all the fields that are visible to you. If you want to add additional fields to this "usercard" you have to modify the templates within the module-settings tab of the properties of the "Member Directory" module instance. One of the newer videos of the (publicly viewable) Training videos section on dotnetnuke.com demonstrates this with the example of adding the userprofile's "URL" field to this "usercard" view. (--> To developers: It's extremely difficult for newbies to figure out the syntax and field names to to this. What about making a wizard or WYSIWIG-editor or something to customize the template of these usercards? Thanks!)

 
New Post
8/16/2012 7:04 AM
 
Thank you very much Softize.
you have saved me hours of work.

the last thing i not working for me  is to try and link the name of a member directly their My profile page directly without going through  the Activity feed page.

I have tried editing the following code in the item template but it usually breaks the whole directory as i am not doing it correctly or a page not found, i am trying to amend this unsuccessfully.

<a href="" class="mdMemberImg" data-bind="attr: { title: DisplayName, href: ProfileUrl }"> 

to this

<a href="" class="mdMemberImg" data-bind="attr: { title: DisplayName, href: 'profile?userid=' + UserId }">

to try and link to the the profile of a user without going to the activity page and doesnt work....

any help would be greatly appreciated,

thanks

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...DotnetNuke Member Directory Profile Property VisibilityDotnetNuke Member Directory Profile Property Visibility


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out