infinitep
2010-02-26T23:41:21Z
Not sure if I am missing something here, I disabled registration in 1.9.4RC1 as i am intergrating with my custom site and added a custom login page, however when I click login it defaults to the YAF login?

[url=http://craigwhiteman.blogspot.com.au/]Capt. ArkCAW HonourNRespect- Need an Ark? I Noah Guy![url]
Sponsor
logan
  •  logan
  • 100% (Exalted)
  • YAF Leader
2010-02-27T01:06:27Z
add to app.config

 <add key="YAF.AllowLoginAndLogoff" value="false" />


turns off the login/logout links
test
infinitep
2010-03-10T04:01:35Z
Thanks, yes that turns it off which helps, but really I want to keep it enabled and have the link point to my current integrated site login link???

[url=http://craigwhiteman.blogspot.com.au/]Capt. ArkCAW HonourNRespect- Need an Ark? I Noah Guy![url]
mercuryred
2010-03-11T06:16:36Z
I have the same question. I have YAF integrated into a website, and configured YAF to use thats site membership. I'd like to use the Site login page (not the YAF login page). Is there a setting that you can specify you custom login page?
logan
  •  logan
  • 100% (Exalted)
  • YAF Leader
2010-03-11T08:43:21Z
How about a response.redirect in the YAF Login Page_Load
Pages/Login.ascx.cs
 protected void Page_Load(object sender, EventArgs e)
    {
        Response.Redirect("http://www.Yoursite.com/Login.aspx",false);

test

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