The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#7
|
||||
|
||||
![]() Quote:
Can anyone confirm the last version timezones worked correctly? Did they work in 4.2.4? VB.com thread- https://www.vbulletin.com/forum/foru...r-update-4-2-5 (in case we get a fix.) EDIT- I have confirmed the partial hours DO work in VB 4.2.4. --------------- Added [DATE]1502454435[/DATE] at [TIME]1502454435[/TIME] --------------- OK it seems: PHP Code:
In VB 4.2.4 it can be a float. 30 minutes would be like 4.5 and 45 minutes would be like 6.25 Still checking code for fix. --------------- Added [DATE]1502461642[/DATE] at [TIME]1502461642[/TIME] --------------- OK, functions.php in the /includes/ directory. Line 4503: Code:
$tzos = intval($vbulletin->userinfo['timezoneoffset']); It works in the forum and posts. It does NOT work on calendar events, for some reason there are additional intval() functions in the calculator. I'm going to look deeper into the security ramifications of removing the intval function from this line but a quick glace I see no problem. --------------- Added [DATE]1502462449[/DATE] at [TIME]1502462449[/TIME] --------------- So my final determination is to simply change Code:
$tzos = intval($vbulletin->userinfo['timezoneoffset']); Code:
$tzos = floatval($vbulletin->userinfo['timezoneoffset']); Unfortunately I don't see any way to make this a plugin, the manual edit it necessary. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|