#1
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
Topic Starter
  • RDarling
  • Rank: YAF Camper
  • Reputation:
    Neutral
    56%
  • Joined: 13/04/2009
  • Posts: 10
#2
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.
  • bbobb
  • Rank: YAF Developer
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for a YAF Database Key Player: Holds the key to YAF database. Bow down!Medal of Honor for the Support King: Given for answering tons of support questions and generally helping the community.Medal of Honor for the Support Knight: Given to a community member who has answered lots of support questions.
  • Joined: 21/10/2008
  • Posts: 1,558
  •  Man  Russian Federation
  • Location: Moscow
  • Thanks: 51 times
  • Was thanked: 287 time(s) in 253 post(s)
#3
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.
Topic Starter
  • RDarling
  • Rank: YAF Camper
  • Reputation:
    Neutral
    56%
  • Joined: 13/04/2009
  • Posts: 10
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