That would be enough if you stay with DNN 4.4.0, because it works fine.
Now in DNN 4.4.1 it's not working anymore, because there is a TokenReplace.vb file introduced under DotNetNuke.Library/Components/Localization/
We need to find Private Shared Function GetProperty(ByVal objProfile As UserProfile, ByVal strPropertyName As String, ByVal strFormat As String, ByVal formatProvider As IFormatProvider) As String
and add some cases like this:
Case "CustomValue"
Return (objProfile.CustomValue)
Took me all night long trying to figure out why in the world it is returning the values in DNN 4.4.0 and NOT returning in DNN 4.4.1, and after stumbling upon this file my question is "how many files are still ahead that I have to find, so this thing would work?"
It would be nice to have some kind of documentation to reference any additions/changes to the source, otherwise it's like going through the woods in dark to find something that you don't know is there...
So what else am I supposed to find in order to get it working?!?
Waldis