Welcome Guest, you are in: Namespace

The logic behind Sueetie Time Zone Management

Time Zones and YetAnotherForum.NET

Time Zones were added to User Profiles in Gummy Bear 1.3 to support the correct DateTime of YetAnotherForum.NET posts. Because the YAF.NET User Profile is not used in Sueetie, it is Sueetie's responsibility to set the correct Time Zone for YetAnotherForum.NET.

Time Zone logic is nearly essential to YAF.NET logic, and the Time Zone value is written to the user's YAF profile in the yaf_user table. This means that it is now required to execute the YAF setup wizard with Gummy Bear. (Installing YAF SQL objects with the setup wizard is required with Gummy 1.3 regardless of the Time Zone, as there are community-wide processes and controls like the User Activity report that make optional installation of the core applications no longer feasible.)

Back to our Time Zone logic. YetAnotherForum.NET stores the time zone data in the language.xml file to support full localization. Mirroring that logic, Sueetie stores timezone data in /util/languages/LANG/timezones.xml.

Time Zone Management Locations

The user can specify his or her time zone when registering or on their user profile. Here is a screenshot of the user profile.

Image

There is also an Administrative ability to change a user's time zone as shown here.

Image

Setting the Community Default Time Zone

The default community time zone can be set on the Administrative General Site Settings form. This will define which time zone users who have not set their time zone will see by default in the time zone selection dropdown.

Image

ScrewTurn Wiki version 3.0.4.560.

Copyright © 2008-2012 Sueetie LLC. All rights reserved.
Sueetie