DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:noiewarning

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
plugin:noiewarning [2011-01-24 17:54] – new version and features, corrected download link and demo page ryan.chappelleplugin:noiewarning [2023-10-30 23:57] (current) Klap-in
Line 1: Line 1:
-====== noiewarning plugin ======+====== noiewarning Plugin ======
  
 ---- plugin ---- ---- plugin ----
 description: Displays warning when visitor uses MSIE description: Displays warning when visitor uses MSIE
 author     : Luis Machuca Bezzaza author     : Luis Machuca Bezzaza
-email      : luis.machuca [at] gulix.cl +email      : lambalicious [at] tuta [dot] io
 type       : Action type       : Action
-lastupdate : 2011-01-14 +lastupdate : 2018-08-21 
-compatible : ≥ 2009-02-06 (RC2)+compatible : 2009-02-06+
 depends    :  depends    : 
 conflicts  conflicts 
-similar    : +similar    : nobadbrowser
 tags       : maintenance tags       : maintenance
  
-downloadurl: http://ryan.gulix.cl/dw/_media/desarrollo/dokuwiki/dw-plugin-noiewarning-latest.zip +downloadurl: https://notabug.org/lmachucabezzaza/dw-plugin-noiewarning/archive/master.zip 
-bugtracker : # eg. http://github.com/ryan.chappelle/dokuwiki-plugin-noiewarning/issues +bugtracker : https://notabug.org/lmachucabezzaza/dw-plugin-noiewarning/issues 
-sourcerepo : # eg. http://github.com/ryan.chappelle/dokuwiki-plugin-noiewarning/ +sourcerepo : https://notabug.org/lmachucabezzaza/dw-plugin-noiewarning 
-donationurl: +donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T44AQDXJQJTJQ&source=url 
 +demourl    : http://ryan.gulix.cl/tests.doku/current_
 ---- ----
  
-**[[http://ryan.gulix.cl/dw/desarrollo/dokuwiki/plugin-noie|NoIEWarning]]** is an adaption of WordPress plugins like [[http://wordpress.org/extend/plugins/shockingly-big-ie6-warning/|Shockingly Big IE Warning]], and has the same purpose: display a __warning__ whenever a visitor uses Internet Explorer.+(See also [[doku>plugin:nobadbrowser]]) 
 + 
 +**[[http://ryan.gulix.cl/dw/desarrollo/dokuwiki/plugin-noie|NoIEWarning]]** is an adaption of WordPress plugins like [[http://wordpress.org/extend/plugins/shockingly-big-ie6-warning/|Shockingly Big IE Warning]], and has the same purpose: display a __warning__ whenever a visitor uses Internet Explorer.  
 + 
 +[[http://ryan.gulix.cl/tests.doku/current_|Live demo]] (visit with IE or fake IE via another browser's capabilities).
  
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin giving the URL at the download icon above to the [[plugin:plugin|Plugin Manager]]. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Configuration ===== ===== Configuration =====
  
-Configuration is available via the [[plugin:plugin|Plugin Manager]]. As of version ''0.618'' the plugin follows the following directives:+Configuration is available via the [[plugin:config|Configuration Manager]]. As of version ''0.8 (2017-01-21)'' the plugin configuration accepts the following directives:
  
 ^  Option   ^ Effect  | ^  Option   ^ Effect  |
 | ''method''  | What [[#Display Method]] is used to show the warning.  | | ''method''  | What [[#Display Method]] is used to show the warning.  |
-| ''source''  | What [[#Display Source]] to pick the warning from. **Currently unavailable**.  |+| ''source'' <del>What [[#Display Source]] to pick the warning from</del>. **Currently unavailable**.  |
 | ''better''  | What [[#Alternative Browser]] is recommended by the wiki installation.  | | ''better''  | What [[#Alternative Browser]] is recommended by the wiki installation.  |
-| ''min_ie_version''  | The minimum //accepted// IE version, for which and above the warning will //not// be shown.\\ **Currently Unavailable**  |+| ''min_ie_version''  | The minimum //accepted// IE version, for which and above the warning will //not// be shown.\\ Currently stays at ''999'', not accepting //any// IE version.  |
  
 ==== Display Method ==== ==== Display Method ====
  
-The plugin can display a warning using one of two (three in the future) **display methods**. The available options are ''subsection'' and ''notify'', with the options ''note'' and ''splash'' reserved for future use.+The plugin can display a warning using one of three (four in the future) **display methods**. The available options are ''subsection'' and ''notify'', with the options ''note'' and ''splash'' reserved for future use.
  
-The **subsection** method loads the IE warning and preppends it to the content of the wikipage, right above the first header. In this form, the warning will always show in line with the template and look "natural" enough, and will be styled to be recognizable.+The **subsection** method loads the IE warning and prepends it to the content of the wikipage, right above the first header, stylized according to a stylesheet provided with the plugin. In this form, the warning will always show in line with the template and where possible it will look recognizable.
  
-The **notify** method loads the IE warning and displays it using DokuWiki'inbuilt notify capabilities, thus showing in the message area. In this form, warnings use less space and do not affect alternative renderings.+The **notify** method loads the IE warning and displays it using DokuWiki'builtin notify capabilities, thus showing in the message area. In this form, warnings use less space and do not affect alternative renderings.
  
-The **note** method, not available in this release, will attempt to load the [[doku>plugin:note|Note Plugin]] and display a Warning Notice right before the first header.+The **note** method will attempt to load the [[plugin:note|Note Plugin]] and display a Warning Notice right before the first header. Of course, this requires that the Note Plugin is installed.
  
 The **splash** method, not available in this release, will use JavaScript to load the warning into a [[wp>splash screen]] which will be displayed to IE visitors for a couple of seconds. The normal rendering and content of the wiki pages will not be affected. The **splash** method, not available in this release, will use JavaScript to load the warning into a [[wp>splash screen]] which will be displayed to IE visitors for a couple of seconds. The normal rendering and content of the wiki pages will not be affected.
  
 +(A **crash** option like in the original Wordpress plugin will not be provided, due to the remaining surface area of ≤IE6 installations being too small to merit it by this point. Plus, crashing people's browsers is juuuuuuust a bit extreme...)
  
 ==== Display Source ==== ==== Display Source ====
  
-Right now, the plugin picks the warning notice from a series of localized strings at ''[[doku>devel:plugin_file_structure|DOKU_PLUGIN/lang/*/lang.php]]''. If a localized notice is not found for the current language, the plugin defaults to English as does the rest of the DokuWiki interface. +Right now, the plugin picks the warning notice from a series of localized strings at ''[[devel:plugin_file_structure|DOKU_PLUGIN/lang/*/lang.php]]''. If a localized notice is not found for the current language, the plugin defaults to English as does the rest of the DokuWiki interface. 
  
 In the future, it will be possible to load custom warning notices via the Configuration Manager by indicating the [[:pagename]] of a wiki page containing the warning; the contents of this page are parsed and passed as the warning without further modification.  In the future, it will be possible to load custom warning notices via the Configuration Manager by indicating the [[:pagename]] of a wiki page containing the warning; the contents of this page are parsed and passed as the warning without further modification. 
Line 58: Line 64:
 The plugin offers a facility by which, once it has been determined that the visitor is using Internet Explorer, a better alternative browser will be offered to them. Via the ''better''(-''browser'') configuration option, the Wiki Administrador can determine which browser is offered to visitors.  The plugin offers a facility by which, once it has been determined that the visitor is using Internet Explorer, a better alternative browser will be offered to them. Via the ''better''(-''browser'') configuration option, the Wiki Administrador can determine which browser is offered to visitors. 
  
-The configuration option can be left **empty**, in which no alternative browser is offered, or can be left as **''custom''**, in which the plugin will search for a custom recommendation that the Wiki Administrador sets up as ''DOKU_CONF/better-browser.txt''. Any other value recommends the indicated browser.+The configuration option can be left **empty**, in which no alternative browser is offered, or can be left as **''custom''**, in which the plugin will search for a custom recommendation that the Wiki Administrador sets up as ''DOKU_CONF/better-browser.txt''. Any other predetermined value recommends the indicated browser.
  
 For details on the recommendation file structure and their current rationale, check the official demo page. For details on the recommendation file structure and their current rationale, check the official demo page.
Line 65: Line 71:
  
 ==== See This Plugin In Action ==== ==== See This Plugin In Action ====
-To see this plugin in action, visit [[http://ryan.gulix.cl/dw/|the Official Demo at my wiki]] or [[http://ryan.gulix.cl/tests_anteater/|my plugin testing area]] while using Internet Explorer (or faking Internet Explorer via another browser's capabilities); you //should// be shown a warning much like the one in the picture below:+To see this plugin in action, visit [[http://ryan.gulix.cl/dw/|the Official Demo at my wiki]] or [[http://ryan.gulix.cl/tests.doku/current_|my plugin testing area]] while using Internet Explorer (or faking Internet Explorer via another browser's capabilities); you //should// be shown a warning much like the one in the picture below:
  
 | {{http://ryan.gulix.cl/archivos/dokuwiki/scr-noiewarning-default.png}}  | | {{http://ryan.gulix.cl/archivos/dokuwiki/scr-noiewarning-default.png}}  |
Line 72: Line 78:
 ==== More Information ==== ==== More Information ====
  
-For more information on the plugin, such as a changelog, projected features for future releases, the versioning scheme or the configuration for localization strings, check the official demo page above. +For more information on the plugin, such as a changelog, projected features for future releases, the versioning scheme or the configuration for localization strings, check the official demo page above and the plugin's source.
- +
-==== Other Developments ====+
  
-^ Other Plugins by\\ Luis Machuca:   | [[doku>plugin:progrecss]]\\ [[doku>plugin:tooltip]]\\ [[doku>plugin:clock]]\\ [[doku>plugin:divalign2]]\\ [[doku>plugin:countdown]]\\ [[doku>plugin:hide]]\\ [[doku>plugin:gil]]   | 
  
 ===== Discussion ===== ===== Discussion =====
plugin/noiewarning.1295888063.txt.gz · Last modified: 2011-01-24 17:54 by ryan.chappelle

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