The Arcive of vBulletin Modifications Site. |
|
Automatic Timezone Setting Correction Details »»
|
|||||||||||||||||||||||||
I have eliminated the only strange error I could find with this, so I am moving it to full releases.
What This Does If your users pay as little attention to their options as mine do, this might be just what you need. It uses a JavaScript to detect when a user has their timezone setting set different than their computer's clock. If the computer time does not match, the user is given a JavaScript prompt on your main page asking whether he/she would like to adjust their timezone setting. If they select yes, a new window will pop up, make the change, and close. EXCEPTION: This will yield very unsatisfactory results for users in strange timezones whose offsets are not whole numbers (i.e. Newfoundland is GMT-3.5). I haven't figured out how to do this yet, but I will update this hack if I do figure it out. You may want to just remove those options from your registration/profile options. Scroll down for screenshots. Let me know how it works out, and, as always, click INSTALL if you use it, please! Enjoy! Download: here Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
<i>Reserved for miscellaneous announcements and stuff.</i>
|
|
#3
|
|||
|
|||
|
Loading Homepage...
|
|
#4
|
|||
|
|||
|
Just after update...
|
|
#5
|
|||
|
|||
|
Just re-installed, seems to be working fine! Question, after getting the first prompt, clicking ok, the second alert box appears, but there is a small window which appears in the upper left corner of my screen... why is that?
|
|
#6
|
|||
|
|||
|
Glad to hear it. It's the window that the update script runs in.
|
|
#7
|
|||
|
|||
|
In IE, the window is so tiny, you can't see what it says. In Mozilla, the javascript window covers it up.
|
|
#8
|
|||
|
|||
|
Great Work
|
|
#9
|
|||
|
|||
|
Found a bug, or a problem. If your time setting in your User CP is set to anything above GMT -11, it updates in the wrong direction. My time zone is GMT -5. If I set to GMT -11, or GMT -12, etc, the script updates me to GMT -29. Going in the other direction, GMT +11, GMt +12, etc, it updates back to GMT -5, which is correct. Hope all that makes sense...
|
|
#10
|
||||
|
||||
|
Yes, I have people who's offset is +11. They don't set it (so on the boards it's listed as offset 0) and it updates to -13.
|
![]() |
|
|