Sunshine81
  • Posts: 13
  • Joined: 15/11/2011
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
  • Posts: 2544
  • Joined: 09/10/2004
Jon,

Have you looked at this?

http://briancaos.wordpre...sers-in-yetanotherforum/ 

Why v1.9.3?
Sunshine81
  • Posts: 13
  • Joined: 15/11/2011
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
  • Posts: 148
  • Joined: 28/05/2008
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
  • Posts: 13
  • Joined: 15/11/2011
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!
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