YAFLogo

Sunshine81
  • Sunshine81
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
13 years ago
I'm looking to integrate YAF 1.9.3 into a Sitecore site. The site has its own membership provider that runs through the standard asp.net membership. I see several people who have tried integrating the two with varying success, though it doesn't look like a simple process.

I know it's possible to integrate YAF into our own membership provider but here is the caveat and my question. A limitation of the way we store our data is that I cannot make a copy of it anywhere, however it seems from the intergration guides I've read that YAF needs to create users in it's users table in order to work.

Is there any way to integrate YAF into our membership provider without having to make copies of our users inside the YAF database? Or to get YAF to use a virtual user?

We've already tried hijacking where YAF gets it's users (YafMembershipProvider.cs) and spooning our own data in but that does not seem to work.

YAF is installed in a sub directory (not a stand alone application). It took us long enough to get YAF working that we're not really interested/don't have time to use other forum software or upgrade to a newer version. So I'm really hoping I can find a way to do this!

Note this question has been asked on stack overflow  too. Keen for an answer so I've posted it here too

Sponsor
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
Sunshine81
  • Sunshine81
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
13 years ago
Jaben,

It's 1.9.3 because I inherited a project my friend. 😉 Tried upgrading but it wouldn't work for me. So we're sticking with 1.9.3.

I can't use Sitecore users either, thanks for the link anyway though. The website handles sensitive data and will have hundreds of thousands of users so we're not allowed to make copies of the users anywhere. My hands are tied on the matter!

Do you know if it's possible to use YAF in this way?

Thanks!

daveburke
13 years ago
Sunshine,

I don't know if this helps you, but I'm the Lead Dev of Sueetie, an Online Community Platform in the Sitecore space. We integrate YAF through ASP.NET Membership and it works like a dream!

The essential SQL Procedure that makes Sueetie-YAF integration happen on new member integration is YAF_USER_ASPNET. When a Sueetie User registers in Sueetie I execute YAF_USER_ASPNET and we're good to go. They click on the "forum" link and they are immediately known to YAF and able to participate in the community.

I don't know if this will help you in the Sitecore domain, but it may give you some ideas.

Good luck,

Dave

Sunshine81
  • Sunshine81
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
13 years ago
Thanks Dave,

It's the best lead I've got at the moment. I'll take a look at it and let you know how it goes!