|Reduce the list of available time zones|
DescriptionThis resource will allow you to change the profile field under preferences to select the user's time zone.
Technical limitations› This tutorial is dedicated to the forums powered by Forumotion free forum service
› It works with all Forumotion forums' versions
This is the list of time zones in order of preference (most preferred first) separated by spaces. Time zones must match what is after the / in this list:
If the time zone is set automatically and none matches the operating system time difference, true will choose the first time zone in the reference list. With false in this case the time zone will not be changed.
Putting 0 this will only be done for members with 0 messages (this allows you to change the time zone only for new ones without affecting those who have an account). Putting for example a negative number (-1) will be disabled. Putting a large number (999999999 for example) should apply to all members.
The left part must be exactly what is to the right of / in the list above. Also, since the change is visual only, it is imperative that the replaced name actually matches the same summer and winter time zone as the replacement.
To test the script, you can change
If you want to test whether a member's time zone is automatically put below the
|This resource belong to this community unless differently stated.|
No reproduction possible without our agreement, in accordance with article L122-1 of the CPI.