Light
Back
  1. Stardate/Date/Time

Tags

Extension
Nova 2

Stardate/Date/Time

Version

Reviews

0.0 out of 5 stars

Put a stardate, local server time and date in your skin.

demonicpagan

Compatibility

Nova 2.7
This add-on may work with Nova 2.7, but members of the community haven’t confirmed
Nova 2.6
This add-on may work with Nova 2.6, but members of the community haven’t confirmed

Version Info

2.0.1

Last updated

Install instructions

Install Instructions

The following MOD will alter your Nova installation to place stardate, local time, and local date to your theme. To install this application you need to perform the following steps.

  1. Upload application/config/hooks.php to your application/config folder of your Nova install replacing the existing one if you haven't already modified this file. If you already have changes in this file, it's best that you just take the contents of this file and add it into your existing hooks.php file.

  2. Open and edit application/config/stardate.php to chose the proper Stardate Era.

  3. Upload application/config/stardate.php to your application/config folder of your Nova install.

  4. Upload application/hooks/UCIP-Stardate-Hook.php to your application/hooks folder of your Nova install.

  5. In any theme you want to add this MOD to add `` to where ever you want this to be displayed. Display alterations will need to be made in the file you uploaded in step 2.

NOTE: FOR THOSE USING THIS MOD AND ARE NOT A PART OF THE UCIP SIMMING ORGANIZATION, YOU WILL NEED TO MODIFY UCIP-Stardate-Hook.php SO THAT THE STARDATE SHOWS THE WAY YOUR ORGANZIATION OR SIM DEALS WITH STARDATES.

**NOTE: IF YOU ARE WANTING TO MATCH YOUR UNMODIFIED SMS STARDATE SETTINGS SET IN YOUR NOVA SITE OPTIONS THE CORRESPONDING YEAR THAT YOU SET FOR THE ERA IN STEP #2.

EXAMPLE: IF YOU SET ENTERPRISE AS YOUR ERA, SET YOUR YEAR TO 2265 OR EARLIER.**

Choose from Enterprise, TOS, TNG, STO, or Other as eras.

At a later date and time, I MAY make this an option in the site settings to turn on/off.

Release notes

Changelog - Dates are in Epoch time

1418357832:

  • Added the calculation of STO's stardate for display.

1411689740:

1411627672:

  • Fixed an issue where the stardate may advance a day early/late because it was detecting GMT timezone. Set it to use Nova's set timezone to formt the date.

1351511360:

  • Added STO as an option for stardate
  • Fixed stardate calculation for TNG and TOS eras.

1329001460:

  • Was informed that I forgot to change the class name in the hooks.php file. That has been fixed. (#3)

1328960336:

  • Renamed functions to adhere more towards PHP5 coding standards.
  • Changed the class name from Mod to something more descriptive to reduce potential issues of calling the same class name from more than 1 file.

1328655654:

  • Updating files to be compatible with Nova 2.0.1

1305215087:

  • Changed the UCIP choice to Other to be more universal.

1305018789:

  • Updated the MOD to use stardates that were present in SMS2. Read above on how to configure.

1304919901:

  • Updated the hooks.php file to include recent hooks added by Anodyne-Productions that I missed.

1290255553:

  • Reworked server timezone issue again. This time using PHP 5.2+ DateTime class. By doing this, you now have to be running version 5.2 or greater of PHP. If you aren't, you will be unable to use this MOD.

1290030403:

  • Reworked server timezone issue. Added a switch statement to set the PHP value to whatever timezone was set in Nova.

1289356151:

  • Updated hook to use the Nova system site stored settings to retrieve the proper timezone and DST setting and display it. Bug found by CajunSamurai of the Anodyne Productions forums.

1272515242:

  • Created a more readable README for GitHub.

1271958859:

  • As per a suggestion by Anodyne Productions on GitHub, I have made the theme alteration a hook using CodeIgniter's hook system.

1271798383:

  • Wrote this README to tell you how to put a stardate, local server time and date in your theme.

Links

No reviews