====== HowHard Plugin ====== ---- plugin ---- description: Add difficulty level to article author : Fabrice DEJAIGHER email : fabrice@chtiland.com type : syntax lastupdate : 2023-03-05 compatible : 2013-03-28, Angua, Adora Belle, Weatherwax, 2013-12-08 "Binky", 2014-05-05 "Ponder Stibbons", 2014-09-29 "Hrun", Detritus, 2016-06-26 "Elenor Of Tsort", 2017-02-19a "Frusterick Manners", "Greebo", Hogfather, Igor, Jack Jackrum depends : conflicts : similar : stars, stars2 tags : rating, difficulty, toolbar downloadurl: https://github.com/chtiland/howhard/archive/master.zip bugtracker : https://github.com/chtiland/howhard/issues sourcerepo : https://github.com/chtiland/howhard donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=9WKZNAQ46U7G6&lc=FR¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted screenshot_img : https://www.chtiland.fr/contribs/dokuwiki/plugins/howhard/style_standard.png ---- ===== Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Examples/Usage ===== Add a difficulty level on an article like this one: {{https://www.chtiland.fr/contribs/dokuwiki/plugins/howhard/exemple.png?recache}} There are four kind of level indicators((Thanks to [[http://geekitude.fr/|geekitude]] for the last two and compact mode ;-) )) (see configuration manager) and two styles, standard (default) and compact. Standard style: {{https://www.chtiland.fr/contribs/dokuwiki/plugins/howhard/style_standard.png?recache}} Compact style: {{https://www.chtiland.fr/contribs/dokuwiki/plugins/howhard/style_compact.png?recache}} You can set the type of indicator through [[plugin:config|Configuration manager]] {{https://www.chtiland.fr/contribs/dokuwiki/plugins/howhard/param2.png?500}} You can add difficulty level by inserting code: {{howhard>3}} or by using the editor toolbar: {{https://www.chtiland.fr/contribs/dokuwiki/plugins/howhard/toolbar.png?recache}} ===== ToDo/Wish List ===== * Plugin in French, English((Report any mistake ;-) )) and German, so other translations are welcome! ;-) ===== Change Log ===== * **2023-03-05** * German translation update (Thanks to Hella :-) ) * **2016-05-15** * Image in settings were not displayed if Wiki was not in domain root. * Toolbar resized. * **2016-02-05** * Spelling mistake in French translation (thanks to Arnaud G. ;-) ) * **2016-01-30** * PHP 7 compatibility update * **2015-07-25** * Two new kind of indicator (Thanks to http://geekitude.fr/) * Compact style (Thanks to http://geekitude.fr/) * Some fixes * **2014-05-16** * Compatibility check * New translations: nl, ru, tr (Thanks to translators ;-) ) * **2013-03-20** * DOKU_BASE added to syntax.php * **2012-03-04** * German translation (Thanks to [[user>taggic]]) * **2012-02-04** * Initial release ===== Discussion ===== ==== Images in wiki pages aren't working ==== You must change in syntax.php, line 83 the img src to ''DOKU_BASE.'/lib/plugins/howhard/images/style'.$style.'/'.$data.'.png'' > Done in last version. Thanks ;-)