Previous Thread
Next Thread
Print Thread
Rate Thread
#46118 03/23/2001 11:10 AM
Joined: Mar 2001
Posts: 41
BT
Offline
Member
Member
Offline
Joined: Mar 2001
Posts: 41
How about a hack that displays the UBB's current local time somwhere at the top of the Forum List and the Topics List?

I think this would be useful to see how recent the newest posts are in comparision to the actual time.

It's very hard to judge how recent a post is when you don't know where the server is based.

Anyone else think this might be useful?

Thinking about it this could be a problem with the cache, so I'll shut up now wink

Sponsored Links
#46119 03/23/2001 7:52 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
This is indeed an excellent idea, but would require either disabling or tricking the cache. Borg would be the one to teach how to do that after Who's Online is let into the wild.


UBB.classic: Love it or hate it, it was mine.
#46120 03/23/2001 7:54 PM
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Wouldn't a java script work? I used to have one, let me look for it.. I found Date, not time.. frown

One day I'll organize..

[ March 23, 2001: Message edited by: DCF ]


- Custom Web Development
http://www.JCSWebDev.com
#46121 03/23/2001 8:32 PM
Joined: Feb 2001
Posts: 2,285
Old Hand
Old Hand
Joined: Feb 2001
Posts: 2,285
I found this addon clock on the net:
http://westwood.fortunecity.com/galliano/855/clock.htm

Ok... so that doesn't help most people... frown

[ March 23, 2001: Message edited by: Stilgar ]

#46122 03/24/2001 4:03 AM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
It would have to figure out the local and remote timezones, and would rely on the user having their clocks set correctly...


UBB.classic: Love it or hate it, it was mine.
Sponsored Links
#46123 03/24/2001 4:45 AM
Joined: Feb 2001
Posts: 2,285
Old Hand
Old Hand
Joined: Feb 2001
Posts: 2,285
So I could have a script get the time off of my host/server? That would be accurate enough. My host is Linux based... must be a command to get that info. Thoughts?

#46124 03/24/2001 9:12 AM
Joined: Mar 2001
Posts: 41
BT
Offline
Member
Member
Offline
Joined: Mar 2001
Posts: 41
I'm glad some of you like the idea, I look forward to someone coming up with something wink

I thought there might be a simple Perl command that could get the servers time and print it to the page, but I don't know much about perl, so again, I'll shut up laugh


Cheers

#46125 03/30/2001 3:10 AM
Joined: Mar 2001
Posts: 41
BT
Offline
Member
Member
Offline
Joined: Mar 2001
Posts: 41
Just a quick comment, its now possible to use the Whos Online page to establish the servers current time so if this could be incorporated into the Forum List page that would be excellent smile

For Example where it reads

"-Ben@KvR- - There are 17 members, and 11 guests on the forums within the last 10 minutes."

it would be good if it added the time too.

i.e.

-Ben@KvR- - There are 17 members, and 11 guests on the forums within the last 10 minutes (Current time 02:00).

#46126 04/20/2001 10:47 AM
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
any progress on this yet?

i've been using the javascript technique, but that of course just reads the time from the user's computer (thus, tricking them into thinking the board's time is their time).

i would like to have the time and date displayed atop each of my main 3 pages, so that users have an idea how old a post is, if its something that was JUST posted, etc, etc.

is there, perhaps, a way for a javascript to be server-side coded? all of the dates/times displayed on the page are already server side displayed, and refer to the time zone of the ubb itself (not each user's computer). is there anyway to "rip" the script from that given information?

#46127 04/20/2001 5:28 PM
Joined: Mar 2001
Posts: 41
BT
Offline
Member
Member
Offline
Joined: Mar 2001
Posts: 41
There's a free cgi script available here - http://bandley3.com/scripts/actualtime/index.shtml that can be called to display the servers time (Or any offset you choose) maybe someone could base a mod around this smile

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
isaac
isaac
California
Posts: 1,157
Joined: July 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 20221218)