> Forums > Active Forums > Themes and Templates > DNN:User:Profile info in PostInfo Only Shows "Private"
Last Post 11 Jan 2012 09:57 AM by Adam Jones. 27 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Steven Webster
Customers
Steven Webster
Post Count:1665

--
02 Jun 2011 02:41 PM
    • DotNetNuke Version: 5.6.2
    • Active Forums Version: 4.3.5
    Originally posted this on an old post (about a year old) and thought I'd re-post as it's own topic since it's not really about the previous topic

    I'm trying to make this work in AS 1.9.3 and AF 4.3 and no matter what I do the PostInfo template just shows: Private

    Here is what I've done:

    Created a new profile property called Badge.
    It's of type image and visibility is set to All Users From the AS CP updates it to "read only"
    From the user manager (not AS edit profile) added an image to those new field for my admin account
    Modified the PostInfo template in AF to include [DNN:Profile:Badge]

    To make sure it wasn't an "image" thing...I repeated the steps for a new profile property called "level". Same steps only this was a text field. Same results....just shows Private in the forum below the other PostInfo stuff What am I missing here?


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    02 Jun 2011 03:40 PM
    Here is my PostInfo template

    [AF:PROFILE:AVATAR]
    [AF:PROFILE:DISPLAYNAME][AF:PROFILE:USERSTATUS]
    [AF:PROFILE:USERCAPTION]
    [AF:PROFILE:RANKDISPLAY]
    [AF:PROFILE:RANKNAME]
    [AF:PROFILE:PMLINK]
    Posts:[AF:PROFILE:POSTCOUNT]
    [MODIPADDRESS]

    [DNN:PROFILE:BADGE]
    [DNN:PROFILE:LEVEL]
    [DNN:PROFILE:POSTALCODE]


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    02 Jun 2011 04:24 PM
    Active Forums doesn't know anything about Active Social profile settings. It only looks at what DNN has set.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    02 Jun 2011 04:31 PM
    Active Forums doesn't know anything about Active Social profile settings. It only looks at what DNN has set.


    Yep, I get that. These are DNN profile settings. I was following your advice from this previous post: http://www.activemodules.com/active...site-roles related to showing a badge in the postinfo section of the forum.

    Again, here is what I did:

    1. Create a new DNN profile field called "Badge" type "Image" set to "All Users".
    2. Uploaded an image to my profile through DNN User Manager
    3. Added [DNN:PROFILE:BADGE] to PostInfo template in AF

    (I repeated this with a simple text value called "level" jsut to remove any issues with images.

    In both cases they show the word Private, in italics in PostInfo.

    Am I missing a step or has something changed?


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    02 Jun 2011 04:35 PM
    I am seeing the same thing as you Steven.

    I have tried just about everything, it's possible that something changed with the PostInfo template, but I am not sure what.


    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    02 Jun 2011 04:37 PM
    The word "private" would only appear if the field wasn't visible. What is the visibility setting for the profile field set by the user? I know you set the default to All Users, but that might not apply to accounts created before you created that field.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    02 Jun 2011 04:44 PM
    I can safely say nothing has changed in the DNN Profile parsing in Active Forums for a couple of years. I'll have to do some digging on this one.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    02 Jun 2011 04:47 PM
    I'm testing with a Text property and on the DNN manage profile page, the radio button next to Public is selected.

    I have a couple thing to add that are not directly helpful but:
    - Sometimes you need to restart the application from the host settings menu or otherwise clear the cache to see changes you have made to the PostInfo template.
    - The token is formatted like [DNN:PROFILE:ProfileProperty] and is case sensitive.
    - The example Will used before was a text property containing html to load the image, instead of using the image profile property type. Not sure if there is a performance benefit, but it does save you from uploading pictures for every user.


    edit: changed Visible to Public


    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    02 Jun 2011 04:49 PM
    The example Will used before was a text property containing html to load the image, instead of using the image profile property type. Not sure if there is a performance benefit, but it does save you from uploading pictures for every user.

    Good point. Active Forums will treat all profile properties as plain text.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    02 Jun 2011 05:02 PM
    I tried the app restart too.  I was concerned about the image type so I also tested with a text value called "Level".  Same results however.

    Here are some screenshots to help document things.

    PS - I was going to insert these into the post but it seems like the insert image and the new telerik editor might not like each other. 




    PropfileProperties.jpg
    AccountManager.jpg
    EditProfile.jpg
    PostInfo.jpg

    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    02 Jun 2011 05:06 PM
    You might notice the postal code displays in PostInfo. So this has something to do with NEW profile property not getting permissions set correctly. Open to all ideas.

    Also, will you mentioned that adding a new property might be set to All Users but existing accounts won't have permissions set. This represents a big UX issue for admins...as adding a new profile for All Users won't display any permissions setting on an AS profile. So there is no way to change these. Additionally, for a hidden field, like a badge (text link to a badge) I don't want the users to even know about it as the badge assignment might occur through some other process (payment, subscription, etc).

    Just to be sure I set it to User Pref and went into my AS profile and updated it to All Users. Still showing Private on PostInfo.

    Lastly, this is a localhost clean install of DNN 5.6.2 with AF 1.9.3 and AF 4.3.5



    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    02 Jun 2011 05:15 PM
    Take a look at this thread...
    http://www.activemodules.com/active...ons/#70046

    I changed the postinfo template to display our Badge profile property. You can see it says "Badge Goes Here". I followed the same steps as I have done before. We are running DNN 5.6.1, but I'm not sure if that makes a difference.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    02 Jun 2011 05:24 PM
    Will...was the Badge profile property already there or was it one you just added now?


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    02 Jun 2011 05:27 PM
    Ok, something has definitely changed with the security access on those profile properties with the Core API. It was working for my profile until I updated my profile from within DNN. Now it says "private" here too. This goes back to my original theory about the way the default value is being applied. This will take some time to debug. I'll see if we can come up with a sql fix.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    02 Jun 2011 05:28 PM
    Will...was the Badge profile property already there or was it one you just added now?

    It has been there for awhile and now that I've made changes it stopped working. It was definitely created prior to DNN 5.6.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    02 Jun 2011 05:30 PM
    Thanks Will!


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    02 Jun 2011 05:33 PM
    For what its worth, all this profile confusion between products and core will be resolved with the new forum module and DNN 6.1.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    07 Jun 2011 07:05 AM
    Do you think this will make it into the upcoming patch release for AF? I'm anxious to get this functioning again for a project I'm working on.


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Adam Jones
    Customers
    Adam Jones
    Post Count:406

    --
    12 Jun 2011 09:07 AM
    I was having this same issue a few months back.

    I couldnt figure it out, and decided to remove the entire section in the postinfo.

    I wanted to simply show where users were located, etc... But every time I added it in, it said PRIVATE.

    What was strange, was it didnt happen to everyone. Only some people.

    When you were logged in, for some it showed the location, then you would log in, and it would show private, so it was really really strange.

    All in all, it was removed, and I just waited until there was a fixed solution, which it seems to be getting worked out now.


    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    12 Jun 2011 09:28 AM
    I believe this is resolved in the upcoming AF patch release.


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Adam Jones
    Customers
    Adam Jones
    Post Count:406

    --
    25 Jun 2011 11:41 AM
    Has this been resolved?


    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    25 Jun 2011 04:50 PM
    Adam, I've beta tested 4.3.6 and it is resolved. Not sure when Will plans to release that patch.


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Adam Jones
    Customers
    Adam Jones
    Post Count:406

    --
    25 Jun 2011 11:30 PM
    Thanks Steven, I want to start utilizing the profile section once again. I just removed it months ago, because things broke.


    Adam Jones
    Customers
    Adam Jones
    Post Count:406

    --
    10 Jan 2012 09:28 AM
    Steven,

    I have the latest version installed 4.3.7 AF and I am still getting users showing PRIVATE even though the profile field is set to EVERYONE.

    If you view the members list, I can see all of there [CITY] locations, which is what I am trying to pull into the AF PROFILE templates on each users AF posts.

    Has something happened from 4.3.6 to 4.3.7 which caused it to revert back to not showing it correctly?

    The only other thing I can think of, is that within the database, each users security for that profile setting is still set restricted, and the new version of AF is not really modifying that existing setting, and only setting this to newly joined members, and not the old members before AF 4.3.7 was installed.

    Can anyone tell me if AF 4.3.7 is working correctly with displaying profile fields within the AF PROFILE templates?


    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    10 Jan 2012 11:32 AM
    Adam,
    I think you are right about the previous settings. Ben can email you a SQL script to run...cleared it up for me recently. I just can't find the script at the moment.

    Steven


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Adam Jones
    Customers
    Adam Jones
    Post Count:406

    --
    10 Jan 2012 03:16 PM
    Thanks Steven. Sent Ben a PM to ask about the script. I believed it had to do with only previous ID's settings, but its also with new members.
    Some of the users show the CITY, and some show PRIVATE still. Its hit or miss.


    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    10 Jan 2012 04:43 PM
    Did I email that script to you Steven? I don't really remember it. I do remember this issue and being able to reproduce it.


    Adam Jones
    Customers
    Adam Jones
    Post Count:406

    --
    11 Jan 2012 09:57 AM
    If you run this script, it will set the values correctly.

    UPDATE UserProfile SET Visibility = '1' WHERE PropertyDefinitionId = '27'

    Visibility values are:

    0: Public

    1: Members only

    2: Admin only



    Reference: http://www.dotnetnuke.com/Resources...age/1.aspx

    - I tried to make the profile setting to 0 for everyone to view, but it was still showing PRIVATE, so I think there is a bug with DNN.

    I have it set to 1, so atleast logged in members, can view where people are coming from.

    Thanks Ben for the added support!  

    SQL_Profile_Visibility.jpg

    You are not authorized to post a reply.
    > Forums > Active Forums > Themes and Templates > DNN:User:Profile info in PostInfo Only Shows "Private"
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy