YAFLogo

nbbrady
  • nbbrady
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
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
  • mddubs
  • 100% (Exalted)
  • YAF Developer
15 years ago
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
15 years ago
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
  • mddubs
  • 100% (Exalted)
  • YAF Developer
15 years ago
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 🙂 )