Stief
  • Posts: 18
  • Joined: 02/09/2011
I'm totaly new to YAF but I would like to integrate it with our current website. The website already has an existing registration system for visitors to login, logout edit profile, ... This functionality is based on a custom developed membership and profile provider.

Now I would like to know what the best method would be to integrate this with YAF? Can YAF use my existing database tables and providers or do I have to write some kind of connecting system in between?

I know my question is pretty vague but I can't find a good starting point. I feel the current info and documentation isn't clear on the steps to follow.

Hope someone can help...
guest
  • #2  guest
  • Rank: Guest
  • Posts: 448
  • Joined: 18/03/2003
So, I just started to implement my own custom membership provider to validate users against an external database. This worked fine but I was also forced to implement a custom role provider to get it to work. Is this the correct way to do it?

But now when I try to change properties on the user's profile (like full name, gender, birthday, ...) nothing is updated in the yaf_prov_Profile table.

After debugging I found out the yaf profile provider tries to fetch the userid using it's own membership infrastructure:
Quote:

object userID = DB.Current.GetProviderUserKey(this.ApplicationName, username);


which of course fails because these tables are not used by my providers.

Am I doing something wrong here? It's not my intention to also make my own profile provider because the properties yaf is using are ok for me.

Hope someone can point me in the good direction. Please, please, please...

PS: the previous post was also mine.
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved