The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Can someone please tell me why the following code no longer works in the member.php? This code still works fine in the postbit but not in the member.php. Any help would be very welcomed and appreciated.
Code:
$userinfo['tzoffset'] = $userinfo['timezoneoffset']; if ($userinfo['dstonoff']) { // DST is on, add an hour $userinfo['tzoffset']++; } $gmdate_bugfix = (date('Z', TIMENOW) / 3600 - $userinfo['tzoffset']) * 3600; $timestamp_adjusted = max(0, TIMENOW - $gmdate_bugfix); $userinfo['localtime'] = vbdate($vbulletin->options['timeformat'], $timestamp_adjusted, false, true, false); $userinfo['localdate'] = vbdate($vbulletin->options['dateformat'], $timestamp_adjusted, false, true, false); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|