plugin:countdown
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:countdown [2011-10-13 12:17] – [Discussion] 195.37.205.30 | plugin:countdown [2019-01-15 20:52] – corrected download URL ryan.chappelle | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : luis.machuca [at] gulix.cl | email : luis.machuca [at] gulix.cl | ||
type : syntax | type : syntax | ||
- | lastupdate : 2011-06-06 | + | lastupdate : 2019-01-13 |
- | compatible : Lemming, Anteater | + | compatible : Lemming, Anteater, Weatherwax, Binky, Frusterick Manners, Greebo |
depends | depends | ||
conflicts | conflicts | ||
Line 13: | Line 13: | ||
tags : counter, date | tags : counter, date | ||
- | downloadurl: | + | downloadurl: |
+ | sourceurl | ||
+ | bugtracker : https:// | ||
+ | donationurl: | ||
---- | ---- | ||
Line 19: | Line 22: | ||
The **Countdown Plugin** shows a countdown to a specific (target) date. | The **Countdown Plugin** shows a countdown to a specific (target) date. | ||
- | **Under new management since June 11, 2009**. | + | **Under new management since June 11, 2009**.\\ |
- | + | -Previously maintained by [[ekkart@ekkart.de|Ekkart Kleinod]] (since version 2.x).\\ | |
- | Previously maintained by [[ekkart@ekkart.de|Ekkart Kleinod]] (since version 2.x). | + | -Based on even earlier work by [[rbpeters@peterro.com|Ron Peters]] (version 1.0).\\ |
- | + | -Which was itself a modified version of the [[http:// | |
- | Based on even earlier work by [[rbpeters@peterro.com|Ron Peters]] (version 1.0). | + | |
- | + | ||
- | Which was itself a modified version of the [[http:// | + | |
**Important: | **Important: | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
+ | Search and install the plugin using the [[plugin: | ||
- | Download and install the plugin via the [[plugin: | + | As of the date of January 2019, the latest version is the version '' |
- | + | ||
- | Refer to [[: | + | |
- | :!: If you are using a previous version of the plugin, it is recommended that you **uninstall** | + | :!: It is recommended |
==== Previous Versions ==== | ==== Previous Versions ==== | ||
**Download links for previous version**: | **Download links for previous version**: | ||
+ | * [[https:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
Line 72: | Line 72: | ||
< | < | ||
< | < | ||
+ | | ||
+ | Disable Page Caching so the plugin text can remain dynamic, insert this into any page using this plugin: | ||
+ | |||
+ | ~~NOCACHE~~ | ||
Line 147: | Line 151: | ||
===== Versions ===== | ===== Versions ===== | ||
+ | * :!: version 2.6 (2019-01-13): | ||
* version 2.5rc2 (2011-03-11) maintained by Luis Machuca Bezzaza: correction of a one-day-time bug and addition of the option to display business days and server time; minor overall improvements; | * version 2.5rc2 (2011-03-11) maintained by Luis Machuca Bezzaza: correction of a one-day-time bug and addition of the option to display business days and server time; minor overall improvements; | ||
* version 2.5rc (2009-12-19) maintained by Luis Machuca Bezzaza: Czech, Spanish and Br-Portuguese language files, ability to display hours, general code rewrite to use getLang(), [[xref> | * version 2.5rc (2009-12-19) maintained by Luis Machuca Bezzaza: Czech, Spanish and Br-Portuguese language files, ability to display hours, general code rewrite to use getLang(), [[xref> | ||
Line 254: | Line 259: | ||
>Fixed in the latest update. Can't believe I just missed one or two lines of code. -- --- [[user> | >Fixed in the latest update. Can't believe I just missed one or two lines of code. -- --- [[user> | ||
- | |||
>> updated and it works, thx --- [[user> | >> updated and it works, thx --- [[user> | ||
Line 392: | Line 396: | ||
</ | </ | ||
+ | ==== Feature: Annual Timer ==== | ||
+ | Is it possible to have it so the countdown automatically rolls over once it has reached its target so it has a new target of next year. | ||
+ | |||
+ | The idea I have in mind is to have a countdown to someones birthday, and once it has reached the end of the birthday day, it increments the target year by 1 and starts the countdown all over again. | ||
+ | |||
+ | Cheers | ||
+ | |||
+ | --- [[user> | ||
+ | |||
+ | |||
+ | ==== 1250 days? ==== | ||
+ | >Is it a way to show up how many **Years, Month, Days, Hours** - till to the target in 2045? There are too many days to be able to figure out when will take actually place the event... | ||
+ | |||
+ | --- [[user> | ||
+ | |||
+ | ==== 1 day miscount ==== | ||
+ | In the latest version there is still a problem with day count. | ||
+ | To fix that problem next code: | ||
+ | <code php> | ||
+ | $difference = $diffseconds / 86400; | ||
+ | </ | ||
+ | has to be replaced by the following: | ||
+ | <code php> | ||
+ | $difference = ceil($diffseconds / 86400); | ||
+ | </ | ||
+ | in plugin' | ||
+ | --- [[user> |
plugin/countdown.txt · Last modified: 2022-05-31 17:08 by kkue