Previous Thread
Next Thread
Print Thread
Rate Thread
#43094 03/22/2000 6:48 PM
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
I just thought I would test out this new hack. A lot of my visitors wanted to know what time messages were posted according to their clocks, as many of my visitors are from outside the US and don't exactly know our time zones that well. So I wrote a hack that basically shows the current times in other cities around the world using the UBB variables and server time. It's in a Beta stage right now, but seems to work well. If you want to check it out, here it is:

http://www.vhlinks.com/cgi-bin/vhlforum/worldtime.cgi

There's some other stuff that needs to be done to it, like making a control panel for it and allowing you to add more time zones than I have as the default, which is 15. So I'm working to tell get all the done as well.

------------------
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Moderator
http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi

Sponsored Links
Joined: Feb 2000
Posts: 116
Member
Member
Offline
Joined: Feb 2000
Posts: 116
This is SWEET!!
I can't wait for the code

------------------
Please Join My UBB
We are now accepting Moderators!!

Joined: Feb 2000
Posts: 25
Member
Member
Offline
Joined: Feb 2000
Posts: 25
Slurpee-

Looks great! Will users be able to save a time zone in their profile and have the times adjusted according? I know my user base (40% international) will really like this hack.

Thanks,
-Chris

------------------
Chris Schreiber
[email protected]
Fast 4GL Systems, Inc.
UBB: http://www.progresstalk.com/

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
This looks excellent...Chris, i am not sure how this could be accomplished...perhaps you could have a way to subtract/add the number of hours for the time difference between the current UBB and the users time..

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians

Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
This looks very neat!
When will you post the code?

------------------
Thanks for reading!
Ilya
Administrator of Ubb Code Hackers Hideout
Moderator of UBB Hacks Finished

Sponsored Links
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Chris, I don't of a way to do that, it sounds like in order to accomplish that you'd have to have a login system of some sort.

I need to clean the code up, it's pretty messy, and do a couple more things to it, it will probably take me a couple days before it's ready to go.

------------------
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Moderator
http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi

Joined: Feb 2000
Posts: 25
Member
Member
Offline
Joined: Feb 2000
Posts: 25
Slurpee-

I was thinking about something in user preferances, where they would enter "EST" or "PST" or whatever. In the control panel you would have entries like "EST", "-5" where the number is the offset from GMT. Then you could just add or subtract that from the hour numbers wherever the time is displayed. It wouldn't be easy, but... just thinking.

-Chris

------------------
Chris Schreiber
[email protected]
Fast 4GL Systems, Inc.
UBB: http://www.progresstalk.com/

Joined: Jan 2000
Posts: 34
Member
Member
Offline
Joined: Jan 2000
Posts: 34
Quote
quote:
This would be the Hack [Linked Image]


------------------
Gruß/Regards
Stefan
UBB Support Germany
UBB: Psychoterror - der Wahnsinn im Web.
Deutsches UBB-Verzeichnis: German UBB List


Gruß/Regards
Stefan
Infopop Deutschland
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
I've been waiting for some time to have a time zone hack. (Note to self: Why didn't you do it?). This is great. Why not also have something like this alogn the bottom of ultimate.cgi:

EPT-18:00 GMT-06:00 WPT-01:30

this would really help me keep track of myself.

Just a thought [Linked Image]

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Ok I released the hack, here it is:
http://ubbcodehacking.com/ubb/Forum7/HTML/000092.html

------------------
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Moderator
http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi

Sponsored Links
Joined: Jul 2001
Posts: 12
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 12
This link seems to be broken now, does anyone have a working link?

thank you,
Night Wolf

Joined: Jan 2001
Posts: 34
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 34
I am very interested in this hack and that link does not work..........does anyone have this? or know where i can get it?

-Brian

Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Yeah I've been looking for this hack too! Finally found it, I've been looking everywhere! ^_^

#43108 08/04/2001 11:49 AM
Joined: Apr 2001
Posts: 117
Member
Member
Offline
Joined: Apr 2001
Posts: 117
I've got that one on my board...useful to know as well. Some people have recloned that if you got too many hacks it can mess it up, but I got god knows how many i got on mine, so shouldnt be a problem.

#43109 08/05/2001 12:42 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Many Hacks on a forum might just slow the speed of your forum a bit down, Having alot of hacks won't stuff up your forum but you'll need to be more careful.


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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
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 20221218)