Hiya,
I'm using CS Personal Edition and I'm trying to integrate it with a site I have started to develop. Basically, it's going to be a Cheerleading community, and I will be using only the Forums application of CS. Obviously, I am going to need some sort of Single Sign On, but I cannot afford Standard edition just yet. Seeing as I've barely started the rest of the site, I was wondering if I could base my own ASP.NET site on CS's membership, maybe by using CommunityServer.SqlDataProvider.dll in my web.config and pointing it to the CS Database? (Or could I just use the default .NET SqlMembershipProvider?)
Secondly, I'd like to add some fields to the profile, for example, which squad the member is from. I'd also like to add this to the sidebar of any posts the member makes - under the avatar along with the post count, etc. Is that possible in CS Personal Edition?
Many thanks,
Alexia
You can use the CSContext.User.GetExtendedAttribute and User.SetExtendedAttribute. If you put a form field on the form with a name, and that name isn't in the default profile set, it will save the user data using these functions.
You then user CommunityServer.Users.UpdateUser(CSContext.User); to save the extrended attributes
Nick - nb development
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com