- I have a customer portal that has it's own login.
- The website is in classic ASP.
- The existing membership data is stored in a SQL database.
- Customer accounts get disabled.
- I wanted to provide an easy way to launch the forum from the customer portal, yet still have the YAF login for direct access.
- Create a Linked Server connection between YAF DB and Customer Portal DB
- Adjust the yaf_user_login stored procedure to check to see if user exists in customer portal DB (compare it to the user in YAF, disabled, etc., then call yaf_user_save, passing in the user data retrieved from the customer portal DB).
- Remove all instances of allowing a user to register or update their profile in YAF.
- I created another posting login redirect accessible from the customer portal... that would allow users to access the portal without logging in.
I have the same problem you mentioned
with solution,(ie. having single login for portal
website and yaf forum) can you provide me the
nessasary code required for that.
The solution goes beyond just code changes. In fact, most of the changes in YAF are at the sproc level in yaf_user_login and creating linked servers between your portal DB and the YAF DB.
I will try and dig something up for you, but this was very custom. It has changes all throughout YAF. I hope that the "Solution" in the beginning of this thread will give you some direction on how you could approach your problem.
I had an ASP (portal) to ASP.NET (YAF) problem.
Let me know if you have any other questions.
There are numerous solutions that would allow you to login to the .NET YAF portal while still having a classic ASP site. It was over 3 years ago since I implemented that solution... but it might give you some ideas on how to accomplish it. The main issue with what I was dealing with was that we needed to keep the customer portal login. That is why we had to modify the yaf user login sproc to check credentials in the existing DB.
There could be other ways to accomplish it... maybe a web service?
Hi srelliott,There are numerous solutions that would allow you to login to the .NET YAF portal while still having a classic ASP site. It was over 3 years ago since I implemented that solution... but it might give you some ideas on how to accomplish it. The main issue with what I was dealing with was that we needed to keep the customer portal login. That is why we had to modify the yaf user login sproc to check credentials in the existing DB.There could be other ways to accomplish it... maybe a web service? karcom2007
Thanks for the reply. I'm just clueless on what I need to do, really. Any examples or tutorials setup on this, that you're aware of? I have a classifieds site that has been up for about 10 yrs, and it is in asp, but I want to add this forum to it. I just want the users to not have to login separately. Just login to the classifieds site and be able to go to the forum and already be logged in. And I guess it would be nice if the forum would show the stats from the classifieds db (10,000 registered users...how many are logged into the site..etc.). Like I said, I don't know much about asp, so I'm looking for some pretty detailed examples or something.
I am looking to do the same thing after having installed a fresh 1.9.5 FINAL Yaf.
As you see, i got a login on the top and would like remove all links from Yaf and manage it in the portal.
Some examples or documentations for my poor asp.net skills can be studied carrefuly.
Is it possible to have a code example for usage on a portal of it's own login, making custom registration, change password, search, profile, inBox, ... pages, what stored procedure to use, what var have to be created In code behind, how to know if a user is logged in or not.
I think Yaf is a wonderfull project, but the big problem for two weeks passed in your forums is : I found No documentation!
And for Someone who is not a code killer, i feel a little lost.
Everywhere it is wrote that Wiki is obsolete and to look On forums for any answers, Yaf code have been changed a lot often since the created date of the post, and only answers i find on forums was created 1 or 2 years ago, sometimes more, and don't give really any real answer.. background message is ... find by yourself.
Well, i am not the one who did the code of forum and at school, my teacher teach me to use documentation to do something with an existing code. That's normal...
I am ready to contribute to project and help maintain documentation files for the community if needed. but it is for sure documentation is laggy here. And i'm sure too many peoples must be disapointed on your forums with Yaf project and will leave finally to use something else.
please help me to get a start point working with Yaf namespace please.
It's officially locked. If anyone wants to start these types of threads again, please provide solutions.