DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:message

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:message [2019-02-04 05:20] Dr-Yukonplugin:message [2024-01-23 13:43] (current) Aleksandr
Line 7: Line 7:
 type       : action type       : action
 lastupdate : 2009-08-04 lastupdate : 2009-08-04
-compatible : 2008-05-05, "Elenor Of Tsort", Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Greebo+compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo, !Hogfather
 depends    :  depends    : 
 conflicts  : conflicts  :
 similar    : similar    :
-tags       : annotations, maintenance+tags       : annotations, maintenance, notification
  
 downloadurl: http://emauvaisfr.free.fr/dokuwiki/message.tar.gz downloadurl: http://emauvaisfr.free.fr/dokuwiki/message.tar.gz
Line 18: Line 18:
 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=79ZVTRTJ52DDY&lc=FR&item_name=Plugin%20dokuwiki%20%28Etienne%20M%2e%29&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=79ZVTRTJ52DDY&lc=FR&item_name=Plugin%20dokuwiki%20%28Etienne%20M%2e%29&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
 ---- ----
 +
 +:!: Two corrections are needed in **action.php** to make this old plugin work again:
 +  - on line 38 replace\\ **''function register(&$contr)''**\\ by\\ **''function register(Doku_Event_Handler $contr)''**
 +  - on line 42 replace\\ **''function _display_message(&$event, $param) {''**\\ by \\ **''function _display_message(Doku_Event $event, $param) {''**
 +
 +
 +Also you can add this free plugin's [[https://comicslate.org/lib/plugins/message/admin.svg|SVG-icon]] for admin panel to the plugin's root. Don't forget to check the content, there 585 bytes of normal SVG-code
  
 ===== Description ===== ===== Description =====
 +
   * action: displays the message(s) contained into the ''message_error.txt'', ''message_info.txt'', ''message_valid.txt'' and ''message_remind.txt'' files stored under the data/cache folder.   * action: displays the message(s) contained into the ''message_error.txt'', ''message_info.txt'', ''message_valid.txt'' and ''message_remind.txt'' files stored under the data/cache folder.
   * The messages appear on every page, for all users.   * The messages appear on every page, for all users.
  
 ===== Example ===== ===== Example =====
-{{http://emauvais.multimania.com/dokuwiki/message.png | Screenshot}}+ 
 +{{http://emauvaisfr.free.fr/dokuwiki/message.png?recache|Screenshot}}
  
 ===== Version history ===== ===== Version history =====
 +
   * 2008-10-07: first one!   * 2008-10-07: first one!
   * 2009-03-11: manage the messages in the admin section.   * 2009-03-11: manage the messages in the admin section.
Line 32: Line 42:
  
 ===== Discussion ===== ===== Discussion =====
 +
   * It says above that the message files are named e.g. ''error.txt'', shouldn't it say e.g. ''message_error.txt'' ?   * It says above that the message files are named e.g. ''error.txt'', shouldn't it say e.g. ''message_error.txt'' ?
   * Tell me...   * Tell me...
Line 80: Line 91:
 It would be nice to introduce language divised notes for sites with multilanguage support. It would be nice to introduce language divised notes for sites with multilanguage support.
  
-==== Icon for admin panel ====+==== Bell icon for the admin panel ==== 
 + 
 +{{https://comicslate.org/lib/plugins/message/admin.svg?24x24&recache |Bell icon for the admin panel}} Save this as %your_domain%/lib/plugins/message/admin.svg and look at %your_domain%/doku.php?do=admin. Freeware.  
 + 
 +Screenshot:
  
-Save this as %your_domain%/lib/plugins/message/admin.svg and look at %your_domain%/doku.php?do=admin. Freeware\\ +{{ http://imagizer.imageshack.com/img921/7066/V7XBT8.png?recache |Screenshot}}
-{{https://comicslate.org/lib/plugins/message/admin.svg}}+
plugin/message.1549254052.txt.gz · Last modified: 2019-02-04 05:20 by Dr-Yukon

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