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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumFirst and Lastname in forum instead of AliasFirst and Lastname in forum instead of Alias
Previous
 
Next
New Post
8/14/2006 5:18 AM
 
Do you have the source version of the module installed?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/15/2006 4:18 PM
 

I original tried to install but it stated that i need to install the basic one first?

Can i install the source version over my install?

 
New Post
8/15/2006 9:15 PM
 

Once i get my answer to the source install i will look at editing the below.

Question is this correct?

this is some of the function from the ForumUserController.vb

Public Shared Function GetForumUser(ByVal UserID As Integer, ByVal UpdateLastVisit As Boolean) As ForumUser

Dim keyID As String = FORUM_USER_CACHE_KEY_PREFIX & UserID.ToString

Dim fUser As ForumUser = CType(DataCache.GetCache(keyID), ForumUser)

If fUser Is Nothing Then

' if current user is authenticated

If UserID > 0 Then

Dim _portalSettings As PortalSettings = PortalController.GetCurrentPortalSettings

' get the forum user based on the UserID

Dim ctlForumUser As New ForumUserController

fUser = ctlForumUser.UserGet(_portalSettings.PortalId, UserID)

' we could not find this forum user

If fUser Is Nothing Then

' get the DNN user

Dim ctlDNNUser As New UserController

Dim dnnUser As UserInfo = ctlDNNUser.GetUser(_portalSettings.PortalId, UserID)

If Not dnnUser Is Nothing Then

' the user is a DNN user but has never visited the forums

' so lets create a forum user

fUser = New ForumUser

With fUser

.UserID = dnnUser.UserID

//Change

.Alias = dnnUser.Membership.Username

//to

.Alias = dnnUser.Membership.DisplayName

End With

 
New Post
8/16/2006 4:53 AM
 
Steve, it is correct as of the time the module was released. DisplayName was setup only in DNN 3.3.x and we couldn't depend on DisplayName before that version. Right now, I am considering making this a General Settings option to be either or, as I know display name is not always custom and not always appropriate. (But in other cases like lets say myspace, it would be appropriate)

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
8/22/2006 8:01 PM
 

thanks crispy

i installed the source version over the top of my install and edited the code as per my last post but it is still using the username as the alias when the new user is auto created??

do i have to do anything special to get this to work?

Also going forward i think it would be good to have it as a general setting as it is very useful for intranets, it looks abit ugly using the "domain name\username" as the alais not to mention not user friendly.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumFirst and Lastname in forum instead of AliasFirst and Lastname in forum instead of Alias


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