RDarling
  • Posts: 10
  • Joined: 13/04/2009
I have gotten the SSO membership integration setup for the most part by setting up the global.asax.cs file.

I have the global file check to see if the user is in the YAForum database and if they are not then it creates them using Membership.CreateUser and then I add them to a role with the AddToRoles which works just fine. The problem that I am having is that these only add information to the provider tables such as yaf_prov_Membership and yaf_prov_RoleMembership.

Apparently at some point when the forum is loading it adds the information of the newly created user to the yaf_User table and when it does this it has a default TimeZone of 0 which I would like to make default to -360 as thats where most of my users will be from. I have tried debugging to figure out where this actually occurs with no luck. Any help would be appreciated. Thank you.

Robert

Using YAF 1.9.5.5 RTW and Visual Studio 2010
Sponsor
bbobb
  • Posts: 1558
  • Joined: 21/10/2008
YAF doesn't have a default time zone at all as it linked to UTC.
You can make a workaround by using 'timezone' parameter from registry table directly.
This is a 'Guest' Time Zone, which can be injected into user_aspnet sp.
RDarling
  • Posts: 10
  • Joined: 13/04/2009
Originally Posted by: bbobb

YAF doesn't have a default time zone at all as it linked to UTC.
You can make a workaround by using 'timezone' parameter from registry table directly.
This is a 'Guest' Time Zone, which can be injected into user_aspnet sp.



Thanks, that worked great.
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

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