views:

30

answers:

1

I am using YAF as my online forum. I've synched user account databases between YAF and my own application, but call 'Membership.Providers["YafMembershipProvider"].CreateUser' at the same time as I create my own members. However, there's a problem... My users are identified by email address for logon. So now the forum shows everyone's email addresses. Not a good idea.

YAF has an option called 'display name'. Is it possible to programmatically create this as well?

A: 

You can set the display name by calling the YAF.Classes.DB.user_save() function with the UserID of the User. Not the simplest method, agreed. I've added a method to the latest code to support updating of the DisplayName.

Jaben