PDA

View Full Version : Wrong time settings


Fields
12-12-2014, 12:35 PM
Hi all,

there is a weird problem with my vBulletin 4.2.2.
I set the default time zone to GMT+1 (server is also located there) in my AdminCP (daylight saving is disabled), but when users register, their time zone is GMT+2. I am using this (https://vborg.vbsupport.ru/showthread.php?t=306394) mod to remove the time zone field from the registration page because all my users live in the same zone. On the mod page it says, that the defined options in the AdminCP will be used.

Does anyone have an idea why the time zone setting is wrong?

Thanks for your help!

Best regards,
Fields

kh99
12-12-2014, 12:39 PM
I think the problem is that the "how to" you linked to doesn't use the option from the admincp, it hard codes "2", which is equal to GMT+2. You could probably just change the 2 to a 1 in those instructions.

ETA: Actually, the second "2" is for the DST setting. 0= always off, 1= always on, 2= set automatically, so you could leave that one as "2" or change it as desired.

Fields
12-12-2014, 12:58 PM
That fixed it finally, thanks for taking your time :)