YAFLogo

saj_21
  • saj_21
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
11 years ago
Hello friends,

I have a web site in which i have integrated YAF.

Now, when user comes to YAF, onclick of login link it should redirect to my login page and not to the YAF login page. Same whenever login is required while browsing Forum it must redirect to my login page.

(example : i have created a forum in which i have assigned "No access" permission to Guest user. when a user browse forum and try to open that forum it redirects to login page. So here too user redirect to my login page instead of redirecting to YAF login page.)

Thanks in advance.
:)
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
11 years ago
In the Host Settings you can define a Custom Login Url under Host -> Login/Registration Settings -> "Custom Login Redirect Url"

Definition:
If login is disabled in the AppSettings (AllowLoginAndLogoff needs to be set to "false" ), this is the URL users will be redirected to when they need to access the forum. Optionally add "" to the URL to pass the return URL to the custom Url. E.g. "http://mydomain.com/login.aspx?PreviousUrl={0}"
saj_21
  • saj_21
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
11 years ago
Hey thanks....

It works..

:-)
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