Difference between revisions of "Extensions:LiveClock"
Tag: 2017 source edit |
(Added warning) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{Extensioninfobox|title=LiveClock|desc=Adds a working clock to the site!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/LiveClock}}|LKVer=2.1.0|migration=no|package=no}} | {{Extensioninfobox|title=LiveClock|desc=Adds a working clock to the site!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/LiveClock}}|LKVer=2.1.0|migration=no|package=no}} | ||
{{Extensioninfobox|title=LiveClock Develop|desc=Adds a working clock to the site!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/LiveClock-develop}}|LKVer=3.0.0 dev|migration=no|package=no}} | {{Extensioninfobox|title=LiveClock Develop|desc=Adds a working clock to the site!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/LiveClock-develop}}|LKVer=3.0.0 dev|migration=no|package=no}} | ||
+ | |||
+ | {| style="margin: 4px auto; width: 80%; border: 1px solid #940a0a; background: #eb3838;" | ||
+ | |- | ||
+ | | '''<u>THIS EXTENSION IS NOT YET UPDATED FOR LK v3.0.0</u>''' | ||
+ | |- | ||
+ | | Please do not use this extension until this warning is gone. | ||
+ | |- | ||
+ | | This INCLUDES the Develop version! A lot of changes have happened and I will be working on a proper fix! | ||
+ | |} | ||
Adds a working clock to the site! | Adds a working clock to the site! |
Revision as of 07:42, 17 December 2023
Description | Adds a working clock to the site! |
---|---|
Author(s) | Speedy |
Status | stable |
Github | extension/LiveClock |
LK Version | 2.1.0 |
Description | Adds a working clock to the site! |
---|---|
Author(s) | Speedy |
Status | stable |
Github | extension/LiveClock-develop |
LK Version | 3.0.0 dev |
THIS EXTENSION IS NOT YET UPDATED FOR LK v3.0.0 |
Please do not use this extension until this warning is gone. |
This INCLUDES the Develop version! A lot of changes have happened and I will be working on a proper fix! |
Adds a working clock to the site!
By default, this will ONLY replace the static clock on the dashboard..
But you can add clocks wherever you want! Highly suggested to put it on the footer.
This extension uses Javascript and JQuery for it's live updates.
Thanks, as always, to User:Mercury!
This extension is built off of v2.1.0 and will not be updated for a higher LK version until v3.0.0's release. Thank you.
Contents
Develop Branch Version
There is now a develop branch version available for those running ahead of the curve.
You can find it on my LiveClock-develop branch.
This version will not receive updates until v3.0.0 formally releases.
Installation
Pull the extension branch and push to your site.
Will replace the default clock on the dashboard, so be wary of conflicts if your dashboard is modified.
Don't forget to run php artisan update-extension-tracker
!
Configuration
No configuration necessary. LiveClock bases the time on your Lorekeeper timezone.
Usage
Simply put the following in any location you want a clock: {!! LiveClock() !!}
Optionally, add the following in front of the LiveClock line to get a little clock icon in front:
<i class="far fa-clock"></i>
Troubleshooting
Create a new thread in the #general-help channel of the Discord!
You can always try tagging me (see my user page), as I'm semi-active on the server, but a new thread is your best bet.
Images
Version History
- 1.0.0: Initial creation. Used to only change the frontpage.
- 1.0.1: Converted to become a helper, so that the snippet above can be used.
- 1.0.2: First official upload. This is when it was fully stable.
- 1.0.2*1: Extra commit to quickly remove a very dumb mistake.
- 1.0.2*2: Latest commit to ensure compatibility with LK v2.1.0. No changes made otherwise.
- 1.1.0: Pre-sorted for LK Dev branch (aka v3.0.0). No substantial changes were made other than compatibility.
- 1.1.0*1:Latest commit to ensure compatibility with LK v2.1.0. No changes made otherwise.
(Versions marked with * did not receive an update in the extension tracker.)
See Also
Alternatively, you could try User:Newt's Extensions:Mini clock, which was in fact the inspiration for this little project.