Custom profile elements not visible to Admin account

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/5/2012 3:55:56 PM
Gravatar
Total Posts 104

Re: Custom profile elements not visible to Admin account

ah - nevermind - It's probably because I have three sites lol

4/5/2012 4:33:36 PM
Gravatar
Total Posts 104

Re: Custom profile elements not visible to Admin account

and you were right there Joe A. - thanks!  looked it up in the table and sure enough, it was a bit different...

4/5/2012 6:35:31 PM
Gravatar
Total Posts 104

Re: Custom profile elements not visible to Admin account

seem to be running into some more challenges here....   I thought that if I set     visibleToAnonymous="true"     visibleToAuthenticated="true"  , that these elements should show up on the ProfileView page....   which is not happening....

4/5/2012 6:39:26 PM
Gravatar
Total Posts 104

Re: Custom profile elements not visible to Admin account

I see that if I change - onlyVisibleForRoles="Admins;Role Admins;Staff Members"

to - onlyVisibleForRoles=""

then it now shows up.

So, I am really confused about how these settings are supposed to work together I guess...

    visibleToAnonymous     visibleToAuthenticated

vs.

    onlyAvailableForRoles     onlyVisibleForRoles

4/5/2012 6:58:39 PM
Gravatar
Total Posts 104

Re: Custom profile elements not visible to Admin account

it also appears that use of the system.boolean, with the true and false images does not appear to be working... instead, I see something like this generated in the HTML source...  

<NeatHtmlReplace_img src_NeatHtmlReplace='/Data/SiteImages/true.png' alt='customItem7' /></div>

is there a library missing perhaps? 

4/6/2012 8:27:52 AM
Gravatar
Total Posts 18439

Re: Custom profile elements not visible to Admin account

onlyVisibleToRoles will trump the other visibleTo settings.

onlyAvailableForRoles determines which users will have the property at all, if they don't have the property it will not be visible to anyone

Keep in mind there are 3 places where these settings matter, "My Account" aka /Secure/UserProfile.aspx which is where the user can manage their own profile, /Admin/ManageUsers.aspx which is where admins can manage user profile properties, and ProfileView.aspx which is where site visitors can view a members profile.

visibleToAnonymous only comes into play on ProfileView.aspx in the case where unauthenticated users are allowed to view the member list they are also allowed to view the user profile, but you may not want them to be able to see all the properties on the user profile if they are not signed into the site, so setting this to false would hide the property in that case, but again, if true will be trumped by more restirctive setting of roles on the onlyVisibleToRoles.

onlyVisibleToRoles applies to all 3 places, ie if the user is not in the roles he will not see it on his user profile.

if you want the user to be able to see it but not edit it just set editableByUser to false

I confirm the problem with the boolean properties not displaying the images for true and false on ProfileView.aspx as a bug, I've just fixed it in my copy so it will be fixed in the next release coming soon.

Hope that helps,

Joe

4/6/2012 11:49:21 AM
Gravatar
Total Posts 104

Re: Custom profile elements not visible to Admin account

thanks again for your time, information and prompt responses : )

4/9/2012 11:02:03 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Custom profile elements not visible to Admin account

In the interest of total clarity, the setting name is actually onlyVisibleForRoles. I'll update the User Profile Configuration document soon with Joe's extra note about how the onlyVisibleForRoles setting takes precedence over all other visibility settings.

Jamie

You must sign in to post in the forums. This thread is closed to new posts.