saj_21
  •  saj_21
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
2012-03-30T09:58:51Z
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
2012-03-30T15:34:46Z
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}"
UserPostedImage
saj_21
  •  saj_21
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
2012-03-31T11:38:01Z
Hey thanks....

It works..

:-)

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