YAFLogo

runboy
  • runboy
  • 77% (Friendly)
  • YAF Lover Topic Starter
9 years ago
What are the advantages of using the YAF Membership provider versus just the standard ASP.NET provider?

Wanting to integrate with existing user base and trying to decide if I should convert existing users to YAF or just keep the standard provider.

and If there is no advantage, why is there a YAF membership provider in the first place?
Sponsor

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
9 years ago
Primarily the YAF.NET membership providers give backwards compatibility to upgraded YAF.NET forums.

For most forums, this is not important. Otherwise, it supports YAF.NET specific features such as boards, better. Also, there are a couple optimizations which improve speed.

The ASP.NET providers work fine.
runboy
  • runboy
  • 77% (Friendly)
  • YAF Lover Topic Starter
9 years ago
Thanks Jaben
runboy
  • runboy
  • 77% (Friendly)
  • YAF Lover Topic Starter
9 years ago
If I tie the forum up to an existing user base, what is the best approach?

Install the forum with an empty membership database to avoid conflict with already present users and then copy users over afterwards or will the installation be able to handle the existing user base?

Anything that needs to be updated in the YAF tables? Will dbo.YAF_User automatically be populated when the user visits the forum for the first time?

Thanks!!
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
9 years ago
Originally Posted by: runboy 

Will dbo.YAF_User automatically be populated when the user visits the forum for the first time?


It's automatically populated from any Membership provider.

If you have a choice, always use Yaf providers. They're fast and related to each other at tables level and the data is cached too. They keep data in tables and you can easily control the data integrity.

runboy
  • runboy
  • 77% (Friendly)
  • YAF Lover Topic Starter
9 years ago
I am talking about having an existing membership db of 5000+ users who have never logged in to the forum before

I imagine YAF_User is normally populated at signup, but since this hasn't happened in my case, what happens when one of my users visit the forum while logged in? Will it create an entry in YAF_User or throw an error?
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
9 years ago
Originally Posted by: runboy 


I imagine YAF_User is normally populated at signup, but since this hasn't happened in my case, what happens when one of my users visit the forum while logged in? Will it create an entry in YAF_User or throw an error?


Your imaigination plays tricks on you :-d
They appear in the yaf_User after a first forum page visit in every case if you've made the rest OK.
runboy
  • runboy
  • 77% (Friendly)
  • YAF Lover Topic Starter
9 years ago
Thanks, so I guess no extra work is needed. I like it 🙂
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
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