[MODDB] Live Time Clock

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

[MODDB] Live Time Clock

Post by all4phone » Wed Apr 30, 2014 9:14 pm

Modification Name: Live Time Clock
Author: all4phone

Modification Description: Mod allows full configuration of the day, date, year, and the clock format on index page. Modyfication replace static clock with live time clock.

Author notes:
Mod uses several js files (for day, date, year and clock formats), not more than 1 kB each.

IMPORTANT
This mod is't validated, so as always do not install on a live board!

Modification Version: 1.0.0
phpBB: 3.0.12 (only)
Installation level: Easy
Installation time: ~3 minutes

Features:
  • Enable/Disable
  • AutoMod: compatible
  • Adds dynamic clock (replace with default phpBB3)
  • Mod changes the date (available 18), day, year and clock format (many options)
  • Mod version check
  • Possibility to disable display day, clock, separator
  • Possibility to change color of day, date, clock, separator
Compatible browsers:
  • Internet Explorer ( 8.0 - checked)
  • Firefox (29.0 - checked)
  • Chrome (34.0 - checked)
Available languages​​:
  • English
  • Deutsch (de)
  • Deutsch (de_x_sie)
  • Polish
Supported styles:
  • prosilver

To do:
  • add live preview in ACP - done
  • add configuration possibilities independently for day, date, year, clock, and separator - done
    1. add configuration options:
    2. more date formats - done
    3. 2 or 4 digits year formats - done
    4. change color of day in ACP - done
    5. change color of date in ACP - done
    6. change color of clock in ACP - done
    7. choose 12/24hr clock in ACP - done
    8. add/change the separator (day, date, time) in ACP - done
    9. disable display day in ACP - done
    10. disable display clock in ACP - done
    11. disable display separator in ACP - done
Info:
Image
Image

Image
Image
Screenshots: screenshots
Demo: demo board
(If You are logged, see below header on left site. If no, see on right site.)
Demo Username: tester (don't need to see a demo)
Demo Password: 123456


Download: download
Last edited by all4phone on Fri Aug 01, 2014 8:09 pm, edited 28 times in total.

User avatar
Galandas
Registered User
Posts: 731
Joined: Thu Jul 23, 2009 4:11 pm
Location: Italy
Name: Rey
Contact:

Re: [BETA] Live Time Clock

Post by Galandas » Wed Apr 30, 2014 10:29 pm

I like Image
English is not my native language My CDB Contributions My RC extensions

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [BETA] Live Time Clock

Post by all4phone » Wed Apr 30, 2014 10:36 pm

Thanks pal.
Did U really tested ? I notice one download :D

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [BETA] Live Time Clock

Post by Jessica » Wed Apr 30, 2014 11:52 pm

Nice.

I think there needs to be more date formats though; from what I can see in one of the images all of them have the date before the month and as far as I know most Americans are used to it being after. I also don't see any with AM/PM (are they all military versions?)
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

Master_Cylinder
Registered User
Posts: 761
Joined: Wed Jun 26, 2013 10:14 pm

Re: [BETA] Live Time Clock

Post by Master_Cylinder » Thu May 01, 2014 12:41 am

Does it get the time from the client or server?

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [BETA] Live Time Clock

Post by all4phone » Thu May 01, 2014 9:19 am

Master_Cylinder wrote:Does it get the time from the client or server?
var time = new Date(); as you can see the date is set on the client system.

Jessica wrote:I think there needs to be more date formats though;
What do You mean exactly, any example please if U can?
Jessica wrote:all of them have the date before the month and as far as I know most Americans are used to it being after.
There is no problem, I can prepare the special version for Americans ;)
Jessica wrote:I also don't see any with AM/PM
Is this really important? 24hr clock is actually.

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [BETA] Live Time Clock

Post by Oyabun1 » Thu May 01, 2014 1:44 pm

Wouldn't it be possible to use the PHP date() function, as standard phpBB does? Then users would have much more choice as to format.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [BETA] Live Time Clock

Post by all4phone » Thu May 01, 2014 3:07 pm

Sorry, users don't have any choice in this mod, only admin at the moment.

User avatar
FranckTH
Registered User
Posts: 361
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck
Contact:

Re: [BETA] Live Time Clock

Post by FranckTH » Thu May 01, 2014 4:54 pm

Hi,
So nice, great mod

ps: i'll try this week to install et translate in french

thansk ;)
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [BETA] Live Time Clock

Post by Jessica » Thu May 01, 2014 5:48 pm

all4phone wrote:
Jessica wrote:I also don't see any with AM/PM
Is this really important? 24hr clock is actually.
I just don't like the 24hr version. You don't have to change the mod, but maybe you can add instructions in a contrib folder on how to change it to 12hr for those who want it?
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [BETA] Live Time Clock

Post by all4phone » Thu May 01, 2014 6:50 pm

Ok, what about this:
all4phone wrote:
Jessica wrote:I think there needs to be more date formats though;
What do You mean exactly, any example please if U can?
@FranckTH, thanks, will be added to next version. Check it out please: http://phpbbmods.cba.pl/viewtopic.php?p=546#p546

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [BETA] Live Time Clock

Post by Jessica » Thu May 01, 2014 7:23 pm

all4phone wrote:Ok, what about this:
all4phone wrote:
Jessica wrote:I think there needs to be more date formats though;
What do You mean exactly, any example please if U can?
It was what I was talking about, adding more date formats (having formats where the day is after the month like 'Thurs May 01, 2014' or 'May 1st, 2014')
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [BETA] Live Time Clock

Post by all4phone » Thu May 01, 2014 7:56 pm

Ok, thanks for your sugestion.

User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [BETA] Live Time Clock

Post by martin123456 » Thu May 01, 2014 11:33 pm

I use the subsilver 2 method with with a js file that can be configed no need for lots of edits.

It is currently Thu 1 May 2014 - 11:33:34 pm

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [BETA] Live Time Clock

Post by all4phone » Fri May 02, 2014 8:25 am

Written by you? I saw, it is very nice, congrats.
But I would like to configure in ACP, not directly in the file.

Locked

Return to “[3.0.x] MODs in Development”