vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [Relase vb2.0] New Earth Time clock hack... (https://vborg.vbsupport.ru/showthread.php?t=17042)

Christian 06-04-2001 05:54 PM

In index.php

It is in your forums main directory!

Prezident 06-07-2001 03:18 PM

2 questions:

Is it possible to have an additional time stamp on the posts with this time format?

And

Is it possible to show the NET seconds in the current NET display also?

I already installed this neat little hack. I think it's kind of cool.

Christian 06-08-2001 11:40 AM

To the seconds:

They are already shown! It is the value ' while ? are the "hours"

The the time stamp.
I will have a look at it and see if it can be done!
Your idea is very good! :)

Prezident 06-08-2001 01:19 PM

Actually, only the date, hours and minutes are being shown.

2001-06-08 / 212° 57' NET

..^Date.........^Hrs.^Minutes and no seconds are being shown.

I would like to be able to show the seconds, I am sure it is possible, but I am just a novice when it comes to java, php, and html.

Any ideas on how to do this?

Christian 06-10-2001 01:59 PM

The ' value are not the minutes!

Get away from thinking in hours, minutes and seconds when looking at the NET! ;)

The first values are in degrees, the seconds value are angle minutes, which equals 4 seconds!

What you can do is to show also the angle seconds ( '' ), but that wouldn't probably work, because the time giver in your PC can't resolve these short intervals!

Ed FvC 06-10-2001 05:28 PM

Interesting hack, to say the least... However, I'm pretty comfortable using GMT (or Zulu) time. Being a pilot, I have to use it quite frequently.

Good job on writing it, but I don't think it's for everyone. :)

Prezident 06-11-2001 06:04 PM

You are telling me that a PC is incapable of resolving 1/15th of a second? I would have to disagree with that.

I understand very well the increments of New Earth Time. It is very straight forward.

1 degree NET = 15 minutes standard time
1 minute NET = 4 seconds standard time
1 second NET = 1/15th of a second standard time (this being the portion which is not shown in the display)

New Earth Time is simply a translation of the earth's rotation, which happens to coincide with standard earth units of degrees, minutes, and seconds. Any navigator or mapper I am sure will agree with me that seconds do exist when you are measuring in this fashion.

I simply want to take New Earth Time clock a small step further in displaying this additional information on my bulletin board.

I am looking for additional code that could be inserted into either the javascript or the template that would display this information, and possibly a way to time stamp people's posts on my bulletin board with this additional format.

Christian 06-12-2001 03:42 PM

OK, I haven't found out yet how to show every NET second, but I have manged to show the NET seconds every real time second (00, 15, 30, 45)!

Use the file 2 posts below and replace your current net-3.js in order to show NET seconds!

Christian 06-12-2001 03:51 PM

Update:

It's not possible to show the time in shorter intervals than a real time second!

getSeconds is the smallest available interval!

If there would be something like getMilliseconds it would work!

Prezident 06-12-2001 07:27 PM

I tried that code, and got a runtime error in line 41

runtime error
line 41
Error: Expected ')'

that would be this line:

Code:

document.writeln('          <td><strong><font face="verdana,arial,helvetica" size="2" ><a href="http://newearthtime.net/" target="_blank"><span id="nyea">0000</span>-<span id="nmon">00</span>-<span id="nday">00</span> / <span id="ndeg">000</span>? <span id="nmin">00</span>'  <span id="nsec">00</span>''  NET</a></font></strong></td>');
My browser is IE 5.5, but I couldn't even begin to trouble shoot that one.

Thanks for the update. Any ideas on that error?


All times are GMT. The time now is 06:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01119 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete