DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:countdown

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:countdown [2015-03-25 02:59] – [Feature: Annual Timer] 78.97.226.2plugin:countdown [2019-01-15 20:44] – Updated to version 2.6; moved to version control ryan.chappelle
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: Countdown to a specific date.+description: Countdown to a specific date
 author     : Luis Machuca Bezzaza (previous authors) author     : Luis Machuca Bezzaza (previous authors)
 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: http://ryan.gulix.cl/dw/_media/desarrollo/dokuwiki/dw-plugin-countdown-latest.zip+downloadurl: https://chiselapp.com/user/lmachucab/repository/dokuwiki-plugin-clacks/zip/trunk/clacks.zip 
 +sourceurl  : https://chiselapp.com/user/lmachucab/repository/dokuwiki-plugin-clacks 
 +bugtracker : https://chiselapp.com/user/lmachucab/repository/dokuwiki-plugin-countdown/reportlist 
 +donationurl: 
  
 ---- ----
Line 27: Line 30:
  
 ===== Download and Installation ===== ===== Download and Installation =====
 +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-Download and install the plugin via the [[plugin:plugin|Plugin Manager]] using the above link which always points to the **latest version**, or check the [[#Demo|demo page]] for earlier versoins. As of the date of March 2011, the latest version is the version ''2.5rc2'', with a 2.5 //final// planned for May 2011.+As of the date of January 2019, the latest version is the version ''2.6''.
  
-Refer to [[:Plugins]] on how to install plugins manually. +:!: It is recommended you upgrade the plugin if you are using PHP>=7.0 to avoid some warnings in the codethanks to Stefan Huehner for the corrections.
- +
-:!: If you are using a previous version of the pluginit is recommended that you **uninstall** the previous version before installing the RC.+
  
 ==== Previous Versions ==== ==== Previous Versions ====
  
 **Download links for previous version**: **Download links for previous version**:
 +  * [[https://chiselapp.com/user/lmachucab/repository/dokuwiki-plugin-countdown/]] - source control.
   * [[http://ryan.gulix.cl/dw/desarrollo/dokuwiki/inicio]] (archive of released 2.x versions)   * [[http://ryan.gulix.cl/dw/desarrollo/dokuwiki/inicio]] (archive of released 2.x versions)
   * [[http://www.ekkart.de/wp-content/plugins/download-monitor/download.php?id=6]].   * [[http://www.ekkart.de/wp-content/plugins/download-monitor/download.php?id=6]].
Line 148: Line 151:
 ===== Versions ===== ===== Versions =====
  
 +  * :!: version 2.6 (2019-01-13): corrections for PHP >= 7.0. The source code is moved to an online repository as well.
   * 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; plugin.info.txt compatibility.   * 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; plugin.info.txt compatibility.
   * 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>getConf]] capabilities, added README, CHANGELOG and VERSION.   * 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>getConf]] capabilities, added README, CHANGELOG and VERSION.
Line 406: Line 410:
  
  --- [[user>florinko-gmail|Florin]] //2015/03/24//  --- [[user>florinko-gmail|Florin]] //2015/03/24//
 +
 +==== 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;
 +</code>
 +has to be replaced by the following:
 +<code php>
 +$difference = ceil($diffseconds / 86400);
 +</code>
 +in plugin's **syntax.php** file.
 +
 + --- [[user>florinko-gmail|Anders]] //2015/11/13//
plugin/countdown.txt · Last modified: 2022-05-31 17:08 by kkue

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki