[3.2][3.3][BETA] Timezone Clock

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4431
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

[3.2][3.3][BETA] Timezone Clock

Post by HiFiKabin »

Extension Name: Timezone Clock
Author: HiFiKabin

Extension Description: Adds ACP configurable timezones to the Index page of your forum. The clocks time is not dependant on local time, and DST is automatically added (indicated by a ●) where needed. The whole bar is pre sized to prevent the page jumping and hidden if Javascript is disabled in the users browser.

Extension Version: 1.2.0_RC1

IMPORTANT NOTE: Version 1.2.0 is written in a totally different way to 1.1.0 meaning you can have as many or as few Locations as you wish. If you are moving from 1.1.0 YOU MUST disable and delete the data from the existing extension before installing version 1.2.0. You will then have the opportunity to add the Locations of your choice in the ACP. You can find a list of major cities together with the GMT and DST information by clicking THIS LINK


Language:
  • EN
Based on: This Script

Supported Styles:
  • prosilver
  • prosilver_se
Known Conflicts:
  • s9e/mediaembed FIXED
  • Amazon Affiliate FIXED
  • Ajax Chat Beta FIXED


Screenshots:


Image

Image



Live Demo: HERE

Download: HERE

Installation:
  • Download the latest release and unzip it.
  • Upload the the folder hifikabin to root/ext/ and enable it in the ACP
Support:

This topic or My Extensions Forum

CDB Topic for version 1.0.2 which is not ACP configurable
Last edited by HiFiKabin on Mon Mar 13, 2017 4:55 pm, edited 18 times in total.

User avatar
MuhClaren
Registered User
Posts: 126
Joined: Sat Feb 21, 2015 5:23 am

Re: [RC] Timezone Clock

Post by MuhClaren »

Neat! Nice work.

User avatar
3Di
Former Team Member
Posts: 14823
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC] Timezone Clock

Post by 3Di »

Nice one!

BTW.. hovering on teh d/l block we can see the SID appended to it, is this the intended behaviour of that block?

http://phpbb.hifikabin.me.uk/download/f ... blah..blah
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4431
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [RC] Timezone Clock

Post by HiFiKabin »

Thanks both
3Di wrote:Nice one!

BTW.. hovering on teh d/l block we can see the SID appended to it, is this the intended behaviour of that block?

http://phpbb.hifikabin.me.uk/download/f ... blah..blah
It does not behave that way here. It must be a glitch that will vanish on screen refresh

User avatar
waynerh155
Registered User
Posts: 27
Joined: Wed May 06, 2015 4:26 pm

Re: [RC] Timezone Clock

Post by waynerh155 »

This is a very nice extension.

I'm having a problem. I load the extension and activate it. The Names come up but not the time. If I go into my user control panel the times show up. As soon as I go back to the board index the times go away.

You said that nothing is configurable. Am I missing something?
Windows 10 Pro X64 | PHPBB 3.2.8 | PHP 7.2.23 | MySQL 5.7.27 | IIS10 | IE11 | Firefox 47.0.3

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4431
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [RC] Timezone Clock

Post by HiFiKabin »

waynerh155 wrote:This is a very nice extension.

I'm having a problem. I load the extension and activate it. The Names come up but not the time. If I go into my user control panel the times show up. As soon as I go back to the board index the times go away.

You said that nothing is configurable. Am I missing something?
An extension you have already enabled is conflicting with the JavaScript.

Amazon Affiliate is a known conflict (which I forgot to add to the first post) others may be as well. Without experimentation it is not easy to rell

User avatar
waynerh155
Registered User
Posts: 27
Joined: Wed May 06, 2015 4:26 pm

Re: [RC] Timezone Clock

Post by waynerh155 »

HiFiKabin wrote:
waynerh155 wrote:This is a very nice extension.

I'm having a problem. I load the extension and activate it. The Names come up but not the time. If I go into my user control panel the times show up. As soon as I go back to the board index the times go away.

You said that nothing is configurable. Am I missing something?
An extension you have already enabled is conflicting with the JavaScript.

Amazon Affiliate is a known conflict (which I forgot to add to the first post) others may be as well. Without experimentation it is not easy to rell
Thank you I'll try to figure it out
Windows 10 Pro X64 | PHPBB 3.2.8 | PHP 7.2.23 | MySQL 5.7.27 | IIS10 | IE11 | Firefox 47.0.3

User avatar
waynerh155
Registered User
Posts: 27
Joined: Wed May 06, 2015 4:26 pm

Re: [RC] Timezone Clock

Post by waynerh155 »

It appears it's the Ajax Chat Beta. I disable it and the times show right up. Problem is I try to take the chat away from my board and I have a war on my hands. :lol:

Thanks for a very nice extension.
Windows 10 Pro X64 | PHPBB 3.2.8 | PHP 7.2.23 | MySQL 5.7.27 | IIS10 | IE11 | Firefox 47.0.3

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4431
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [RC] Timezone Clock

Post by HiFiKabin »

waynerh155 wrote:It appears it's the Ajax Chat Beta. I disable it and the times show right up. Problem is I try to take the chat away from my board and I have a war on my hands. :lol:

Thanks for a very nice extension.
:lol: don't ask me to act as go between

Thanks for letting me know. I'll do some digging and see if I can find a solution.

User avatar
3Di
Former Team Member
Posts: 14823
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC] Timezone Clock

Post by 3Di »

HiFiKabin wrote:....... I'll do some digging and see if I can find a solution.
Best bet could be to trying and make it pure PHP, then configurable.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
spaceace
Registered User
Posts: 1890
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [RC] Timezone Clock

Post by spaceace »

it seems that the conflict is the onload function in my chat at the end of ajax_chat.js...

Code: Select all

window.onload = function () {
	for (var i = 0, l = document.getElementsByTagName('input').length; i < l; i++) {
		if (document.getElementsByTagName('input').item(i).type == 'text') {
			document.getElementsByTagName('input').item(i).setAttribute('autocomplete', 'off');
		}
	}
};
i'm not even sure where that came from or why it was needed :|

but, removing that from my js makes this extension work again and still keep chat working ;)

User avatar
waynerh155
Registered User
Posts: 27
Joined: Wed May 06, 2015 4:26 pm

Re: [RC] Timezone Clock

Post by waynerh155 »

spaceace wrote:it seems that the conflict is the onload function in my chat at the end of ajax_chat.js...

Code: Select all

window.onload = function () {
	for (var i = 0, l = document.getElementsByTagName('input').length; i < l; i++) {
		if (document.getElementsByTagName('input').item(i).type == 'text') {
			document.getElementsByTagName('input').item(i).setAttribute('autocomplete', 'off');
		}
	}
};
i'm not even sure where that came from or why it was needed :|

but, removing that from my js makes this extension work again and still keep chat working ;)
I just tried this on my development system. Everything appears to be working fine. I'll test it some more tomorrow. Thank you both for the help.
Windows 10 Pro X64 | PHPBB 3.2.8 | PHP 7.2.23 | MySQL 5.7.27 | IIS10 | IE11 | Firefox 47.0.3

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4431
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [RC] Timezone Clock

Post by HiFiKabin »

spaceace wrote:it seems that the conflict is the onload function in my chat at the end of ajax_chat.js...

Code: Select all

window.onload = function () {
	for (var i = 0, l = document.getElementsByTagName('input').length; i < l; i++) {
		if (document.getElementsByTagName('input').item(i).type == 'text') {
			document.getElementsByTagName('input').item(i).setAttribute('autocomplete', 'off');
		}
	}
};
i'm not even sure where that came from or why it was needed :|

but, removing that from my js makes this extension work again and still keep chat working ;)
Good news. Thanks for finding that out. Another hurdle over.

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4431
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [RC] Timezone Clock

Post by HiFiKabin »

1.0.0_rc2 Previous conflicts removed

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Timezone Clock in the ACP
  • Delete timezoneclock folder from the server
  • Upload the the folder hifikabin to root/ext/ and enable it in the ACP

User avatar
badger949
Registered User
Posts: 46
Joined: Thu Apr 16, 2015 6:00 am
Location: California
Name: Tom Munguia

Re: [RC] Timezone Clock

Post by badger949 »

I am using default style (prosilver) 3.1.5 latest version. How can I make this clock timer move?
Image

Post Reply

Return to “Extensions in Development”