#1
Apologies if this is old and rehashed to many of you, but I have been pulling my hair out trying to figure out how to integrate yaf.net into an existing website and have the 'parent' website handle all the login (ie users log in to the main website and that automatically logs them into the forum as well).

I realise this is probably not a new topic, but I cannot find any meaningful documentation about this issue and I have tried this  step-by-step guide but to no avail.

I am new to yaf.net (and fairly new to asp.net) and have inherited a broken site at my new job which i am trying to fix. So, before dumping all my errors and code on here and asking for solutions I thought I would create a topic to see if anyone has any tips or easy guidelines on how to do this as the last posts on this seem to be about 3 years old.

Any help at all would be greatly appreciated. Thanks!
Topic Starter
  • moodsman
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    50.6%
  • Joined: 06/11/2013
  • Posts: 1
  • Thanks: 1 times
#2
Do your parent site uses .NET Membership, Roles and Profile providers?
If not begin with it.
http://msdn.microsoft.co...26yfzy%28v=vs.98%29.aspx 
Basically, YAF has all providers, simply move existing data to them by writing a code if you don't have too many users and put a standard login control into your main appliication.
http://msdn.microsoft.co...us/library/ms178329.ASPX 
I think this is the easiest variant in your case.




  • bbobb
  • Rank: YAF Developer
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for a YAF Database Key Player: Holds the key to YAF database. Bow down!Medal of Honor for the Support King: Given for answering tons of support questions and generally helping the community.Medal of Honor for the Support Knight: Given to a community member who has answered lots of support questions.
  • Joined: 21/10/2008
  • Posts: 1,558
  •  Man  Russian Federation
  • Location: Moscow
  • Thanks: 51 times
  • Was thanked: 287 time(s) in 253 post(s)
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