The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Can anyone please tell me how to set the timezoneoffset for the following lines of code? I have tried to figure it out with no success.
![]() PHP Code:
|
#2
|
||||
|
||||
![]()
$time_lastup+=($bbuserinfo['timezoneoffset']-$timeoffset)*3600
|
#3
|
||||
|
||||
![]()
Thank you, sir.
![]() So it should look like this when I am done, right? PHP Code:
Quote:
|
#4
|
||||
|
||||
![]()
no, put the code i gave you in a new line after the first line
|
#5
|
||||
|
||||
![]()
Like this?
PHP Code:
|
#6
|
||||
|
||||
![]()
of course there have to be a ;
![]() and yes this should be correct now |
#7
|
||||
|
||||
![]()
That's for JR's weather hack.
![]() |
#8
|
||||
|
||||
![]()
For some reason, it isn't working quite right. It changes the time OK, but now instead of being at the server time, it is 6 hours behind the server now. The server is set at GMT and my timeoffset is at -6. The weather time is showing up 12 hours behind me now instead of 6 hours behind like before. Any ideas on this one, buddy?
![]() |
#9
|
||||
|
||||
![]()
hmm, try to replace all + with an - and all - with an +
|
#10
|
||||
|
||||
![]()
Here's the code with the changes you suggested.
PHP Code:
Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|