|
|
 Rank: YAF Forumling
Joined: 9/18/2008 Posts: 2
|
I've got an existing .NET site which has its own custom user account system, letting users register and log in with usernames and passwords.
I want to add YAF to my site, so that when someone logs in to my site, he'll have access to the forums without having to log in to YAF separately.
What do I need to do to accomplish this? Where can I find documentation on how to override or replace the YAF validation functions?
|
|
|
 Rank: YAF Forumling
Joined: 9/18/2008 Posts: 2
|
I found a post from more than a year ago (http://forum.yetanotherforum.net/yaf_postst4443_How-to-login-into-forum-by-an-external-application.aspx) advising someone to wait for the 1.9.3 release which adds the ability to log in from an external application...
Has there been any progress on 1.9.3, or is there an estimate of when it'll be available?
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 3,050 Location: Honolulu, HI
|
v1.9.3 is avaliable in BETA forum. Look in the announcements section of this forum for download links. "When you are grateful, fear disappears and abundance appears”." 
|
|
|
 Rank: YAF Forumling
Joined: 9/23/2008 Posts: 1
|
Jaben wrote:v1.9.3 is avaliable in BETA forum. Look in the announcements section of this forum for download links. When will v1.9.3 be available as a final release? I am just about to deploy a website and I need a forum that supports ASP.NET Membership. I was looking for any updates for a couple of months, but I see that v1.9.3 is still in its BETA stage and the earlier version does not have Membership support.
|
|
|
 Rank: YAF Forumling
Joined: 10/9/2008 Posts: 1 Location: Indy
|
I am also attempted to do this. I'm a VB.net developer and hate all that is C# so it's been a little pain to do but I'm just about done. Authenticating is the easy part. I've got an existing web application using built-in .NET authentication and I'm merging the two applications via a cookie. Not as ideal security wise, but it's working. I need to programmatically create a new yaf user on the fly though.
I'm trying to call this function user_register( pages.ForumPage page, object boardID, object userName, object password, object email, object location, object homePage, object timeZone, bool emailVerification )
All is good but I'm trying to call the function from outside of the register.ascx page which is causing issues because I'm not sure what to send for pages.ForumPage page. Anyone have any thoughts?
|
|
|
 Rank: YAF Forumling
Joined: 7/15/2008 Posts: 5
|
Hi mitchDogg, I'm doing the same as you want to: I have an authentication on my side (asp.net / vb.net 2005) and connected it with my YAF. Everything works fine: As soon as a new user logs in on my side I automatically create a YAF-account and set the cookie. I have also some buttons for creating new forum entries from my page which only link to YAF so users are still authenticated at YAF and could post new forum entries in YAF without logging in again. Instead of calling a function register.ascx you could use the stored procedure 'yaf_user_save' directly. Maybe check this thread which gave me the final information: YAF Integration
|
|
|
 Rank: YAF MVP

Joined: 2/12/2005 Posts: 927 Location: Italy
|
Try reading the WIKI document on integration. http://wiki.yetanotherforum.net/1.9.3 Integration with existing site.ashx.....the man in black fled across the desert..........and the gunslinger followed.....
|
|
|
| Users browsing this topic |
|
Guest
|
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 RC2 |
YAF © 2003-2008, Yet Another Forum.NETThis page was generated in 0.070 seconds.