Previous Thread
Next Thread
Print Thread
Rate Thread
#211510 08/24/2001 2:04 AM
Joined: Jan 2000
Posts: 57
Enthusiast
Enthusiast
Offline
Joined: Jan 2000
Posts: 57
Sorry if this has been covered before (I have searched and not found a recent reference to it) but if you set your time offset to a negative number you get shown the server time rather than an adjusted time. Positive numbers are fine, it's just negative ones that are not working. You can try it via the Current Adjusted Date setting from the Main Index.

Sponsored Links
Xane #211511 08/24/2001 8:26 AM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Interesting. Will see what's going on with that.


UBB.threads Developer
Xane #211512 08/27/2001 2:28 PM
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
nt = no text This is a "me too" post. But since you're looking, my copy of 5.4.3 has the same time offset problem--negative offset values just plain don't work.


+++ Quis custodiet ipsos custodies? +++
Joined: Jul 2001
Posts: 1
Lurker
Lurker
Offline
Joined: Jul 2001
Posts: 1
I found the same problem. The fix I implemented was to remove the conditional in the function html -> convert_time.
Old code:
if ($offset > 0) {
$time = $time+($offset *3600);
}

New code:
$time = $time+($offset *3600);


aquabats666 #211514 09/03/2001 4:37 PM
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
Thanks for the fix. That did the trick.


+++ Quis custodiet ipsos custodies? +++
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)