YAFLogo

ichversuchte
14 years ago
Hello,

This is a general question on how to approach a issue I am having with integrating this forum with another website.

I have a website, which is not a sharepoint site or portal in anyway and I want to integrate this forum into the site and have a single sign on.

After going through the code in yetanotherforum i saw that there is a function called IsCustom in Config.cs.


static public bool IsCustom
		{
			get
			{
				return ( configSection ["CustomUserClass"] != null && configSection["CustomUserAssembly"] != null );
			}
		}

Im not sure the purpose of this function, but it seems to use the config file to find the name of a class / assembly so that later it can use reflection to create a instance of this class. Is the purpose of this to use a custom users class to integrating with other sites? If not, what is the best way to approach integration without tearing apart yetanotherforum and keeping its database separate?

I do not wish to do this in a half fast way, I would rather do it the right way even if it envolves coding alot.

Any help would be appreciated.
Thank you,
Brandon Rohrer
Sponsor

mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
14 years ago
I'm not familiar with the IsCustom property, but what is the issue you're having? What's your goal? I incorporated YAF with my custom app like this:
http://forum.yetanotherforum.net/yaf_postst5682_How-can-i-use-my-website-login-interface-to-login-to-YAF.aspx 
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 🙂 )
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
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