Changing Display Name in Embedded Cute Chat for DNN5.2

Last post 08-20-2010, 4:18 AM by innspiral. 2 replies.
Sort Posts: Previous Next
  •  08-16-2010, 1:06 AM 63412

    Changing Display Name in Embedded Cute Chat for DNN5.2

    Hi,
     
    According to the documentation, changing the line nickname=user.displayname in DNNChatProvider.vb will change the displayed to display name instead of username. I have done so but to no avail. Am I missing something? Thanks!
  •  08-16-2010, 2:58 AM 63414 in reply to 63412

    Re: Changing Display Name in Embedded Cute Chat for DNN5.2

    Hi innspiral,
     
    1. Open file "\App_Code\DNNChatProvider.vb"
     
    2. Find section below
     
     Return New CuteChat.AppChatIdentity(user.Username, False, ToUserId(user.Username), HttpContext.Current.Request.UserHostAddress)
     
    3. Change section user.Username to the value you need.
     
    For example
     
    Return New CuteChat.AppChatIdentity(user.Email, False, ToUserId(user.Username), HttpContext.Current.Request.UserHostAddress)
     
    Regards,
     
    ken
  •  08-20-2010, 4:18 AM 63537 in reply to 63414

    Re: Changing Display Name in Embedded Cute Chat for DNN5.2

    this works great, thanks!
View as RSS news feed in XML