The Arcive of vBulletin Modifications Site. |
|
Daylight Saving Time Support Details »»
|
|||||||||||||||||||||||||
The following hack will add Daylight Saving Time support to your forums. When used on a server that automatically adjusts its time for Daylight Saving Time, vBulletin's time will be off by one hour when displaying the times for users outside of those areas observing DST. A rather nasty quirk that usually gets those overseas and in places that don't observe DST a little ticked off on my forums.
This hack allows the individual user to select whether or not they would like times on your forum to be displayed in DST or not and allows you to specify from the Admin CP whether or not your server is automatically changing the time for DST. At the moment, it only supports the DST supported by your server and returned by your server (via the date() function's "I" flag). I do not know what will happen if this code is used on servers with locales outside of the US. I assume this would work equally well for EU servers. There are significant file edits made for this hack. Please ensure that you backup your database and files before attempting to install this hack. See https://vborg.vbsupport.ru/showthrea...threadid=25879 for more information about DST support in vBulletin. Edit: I forgot to mention that enabling DST support will add an hour to events that take place ONLY during those periods where DST apply (i.e. posts made in December in a US locale will not be affected). Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Screenshots/Admin CP:
|
|
#3
|
|||
|
|||
|
Screenshot/Member Options:
|
|
#4
|
||||
|
||||
|
Looks nice, I would install it but I don't really care about little things like that.
|
|
#5
|
||||
|
||||
|
How about for arizona since they dont change?
|
|
#6
|
||||
|
||||
|
I'm getting an SQL error at the very first step...
Quote:
|
|
#7
|
|||
|
|||
|
Quote:
An option is also added into the Admin CP that allows you to set whether or not your server corrects for DST.See the screenshots for details. Paul |
|
#8
|
|||
|
|||
|
Quote:
|
|
#9
|
|||
|
|||
|
Can u please add a feature where if I was making a member in the ADMIN that I can easily just change this option from the USER.PHP That would be kool. PLease help me out here. Thanks.
|
|
#10
|
||||
|
||||
|
That fixed the SQL errors, and looks like the hack works great! Thanks LS!
|
![]() |
|
|