nbbrady
  •  nbbrady
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
2009-04-10T09:01:52Z
I am trying to integrate YAF into an existing application. I've read up on the various integration methods, but they all seem to be for previous versions and I'm wondering what the recommendation is for 1.9.3.

My goal is to have users who have already authenticated in a protected folder via Forms authentication (SqlProvider) be able to jump over to and participate in the forums seamlessly, with all password control, etc. still in my app. Should I install YAF in a subfolder of the protected one? The wiki shows some code, but in the current version the files do not exist in the same way.

Even some notes on its implementation may help. Thanks in advance!
Sponsor
mddubs
2009-04-10T09:29:46Z
You can't have users just "jump over and use" YAF because YAF needs to know information about users to function (username, email address, etc).

I can't count how many times I've gone over this!!! This information is definitely available in many places and I'm just repeating it here for the millionth time.

To integrate YAF into a NEW application, use the MS Membership Framework and things will be easy.

For existing applications, if you used the Membership Framework then you're golden, if you used a CUSTOM membership framework that you built yourself, then you need to figure out a CUSTOM way to link your system to YAFs.
UserPostedImage 
www.bunkerhollow.com  | www.careercomputing.com 
When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )
nbbrady
  •  nbbrady
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
2009-04-13T03:33:53Z
Yes, the information is around---in about a thousand pieces all referencing different versions. The examples I saw did not apply to 1.9.3, apparently, since the code samples are nowhere I could find in the source code.

I've already spent a lot of time trying to piece it together, and was looking for (updated) information as to the implementation to help things along. If the YAF security model was built over top of ASP.NET membership, as our site is, it shouldn't be a difficult integration.

Maybe if more time was spent organizing this information, rather than a link-referencing-a-post-referencing-a-blog, you might get fewer of these types of questions. Based on the amount of posts, I would say it's a popular topic.
mddubs
2009-04-13T06:15:29Z
1.9.3 is the only version that supports the Membership framework. Any and all information about the membership framework applies.
UserPostedImage 
www.bunkerhollow.com  | www.careercomputing.com 
When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )

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