plugin:doodle2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:doodle2 [2012-04-13 23:37] – [Comments / Discussion / Feature Requests] 84.57.15.2 | plugin:doodle2 [2022-07-29 23:57] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== doodle2 | + | ====== doodle2 |
---- plugin ---- | ---- plugin ---- | ||
Line 7: | Line 7: | ||
type : syntax | type : syntax | ||
lastupdate : 2011-01-20 | lastupdate : 2011-01-20 | ||
- | compatible : latest version of dokuwiki, rincewind, angua | + | compatible : Rincewind, Angua, Adora belle, Binky |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : vote, doodle, schedule, poll, doodle2 | + | tags : vote, doodle, schedule, poll |
downloadurl: | downloadurl: | ||
bugtracker : http:// | bugtracker : http:// | ||
- | sourcerepo : http://svn.doogie.de/ | + | sourcerepo : https://github.com/Doogiemuc/Dokuwiki-Plugin-Doodle2 |
---- | ---- | ||
Line 29: | Line 29: | ||
* well documented code | * well documented code | ||
- | There is a DEMO online on my [[http:// | + | There is a DEMO online on my [[http://wiki.doogie.de/ |
It's unbelievable how active this plugin got. I get feedback posts nearly daily. I am only developing this plugin in my spare time. So please understand that I will not be able to implement all requested features. Of course you are free to upload an improved version to github. This is open source after all. | It's unbelievable how active this plugin got. I get feedback posts nearly daily. I am only developing this plugin in my spare time. So please understand that I will not be able to implement all requested features. Of course you are free to upload an improved version to github. This is open source after all. | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | + | Search and install the plugin | |
- | You can install the plugin | + | |
- | * http:// | + | |
- | Refer to [[: | + | |
- | + | ||
- | If your Doodle2 does not work, copy the lib/ | + | |
===== Syntax and Usage ===== | ===== Syntax and Usage ===== | ||
Line 69: | Line 63: | ||
===== Authentication ===== | ===== Authentication ===== | ||
- | By default anyone can vote, even multiple times under different name. In this mode users cannot change their vote, once they submitted it. \\ | + | By default anyone can vote, even multiple times under different name. In this mode users cannot change their vote, once they submitted it. |
- | You can prevent multiple votes, by setting '' | + | |
- | If you set '' | + | You can prevent multiple votes, by setting '' |
+ | |||
+ | If you set '' | ||
===== GitHub ===== | ===== GitHub ===== | ||
Line 87: | Line 83: | ||
A word about the name of this plugin. This plugin is simply named " | A word about the name of this plugin. This plugin is simply named " | ||
+ | * 4.0: new parameter closeon. Bugfixes and new deployment file structure. | ||
* 3.0: Multiple Plugins in one page now works, moved all JavaScript to script.js | * 3.0: Multiple Plugins in one page now works, moved all JavaScript to script.js | ||
* 2.3: old stuff | * 2.3: old stuff | ||
Line 92: | Line 89: | ||
+ | ===== FAQ ===== | ||
- | + | > I am having trouble to add more than one doodle on a page. Having two and more doodles, the edit and delete function for the admin is not working (tested on different browsers using the latest dokuwiki). | |
- | ===== Comments / Discussion / Feature Requests ===== | + | |
- | + | ||
- | I've setup a [[http:// | + | |
- | + | ||
- | [[http:// | + | |
- | \\ | + | |
- | See also my other plugin [[plugin: | + | |
- | ---- | + | |
- | \\ | + | |
- | >>Please provide a plugin.info.txt in your plugin archive to have a proper install after using the plugin manager. See [[: | + | |
- | > Ok I added that file. --- Robert (plugin author) // | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | > By the way. I am having trouble to add more than one doodle on a page. Having two and more doodles, the edit and delete function for the admin is not working (tested on different browsers using the latest dokuwiki). | + | |
This is now **fixed in version 3.0**. -- Doogie (plugin author) | This is now **fixed in version 3.0**. -- Doogie (plugin author) | ||
---- | ---- | ||
- | **Cannot Install using Plugin Manager** // | ||
- | * I could not install automatically using Plugin Manager | ||
- | * Info button could not show information | ||
- | * Manually extract the TAR.gz in the lib/plugins solved the problem | ||
- | * Manual extract creates __doodle__ as plugin dir, instead of __doodle2__ using the plugin manager | ||
- | |||
- | This should now also be solved, since I provided a plugin.info.txt file. -- Doogie | ||
- | * No, it still does not seem to work (Info button still shows an error, and the whole plugin does not work until one renames the folder from doodle2 to doodle) // | ||
- | |||
- | ---- | ||
**How to clear the Poll??** | **How to clear the Poll??** | ||
* e.g. to restart the same poll again next time. | * e.g. to restart the same poll again next time. | ||
=> you can chose another title for your new poll, or delete the data file under ''< | => you can chose another title for your new poll, or delete the data file under ''< | ||
- | |||
- | ---- | ||
- | Please rename your plugin. Doodle is a Trademark. So everyone using this nice plugin has to fear trouble with the law. | ||
- | Please replace all " | ||
- | |||
- | http:// | ||
- | Doodle behält sämtliche Urheber- und sonstigen Rechte an den Diensten. Sie sind nicht berechtigt, | ||
- | rechtliche Hinweise (z. B. Urheberrechts- oder Markenhinweise) zu entfernen, zu verdecken oder zu verändern. | ||
- | Sie dürfen die Marken von Doodle (insb. DOODLE) nicht für eigene Zwecke – egal welcher Art – nutzen. | ||
- | |||
- | js | ||
- | |||
- | > This is not necessarily true. See the [[http:// | ||
- | |||
---- | ---- | ||
Line 157: | Line 116: | ||
> Yes, I'm aware of that. But your code doesn' | > Yes, I'm aware of that. But your code doesn' | ||
- | + | Version 4.0 has now " | |
---- | ---- | ||
Line 166: | Line 124: | ||
---- | ---- | ||
- | **How to actually | + | \\ |
+ | Some a11y would be nice. All options are empty cells (no label, id or title). If you have multiple options it is very difficult or even impossible for a blind person | ||
- | I have not succeeded | + | ---- |
- | + | ==== Icons missing | |
- | I enabled inline HTML and PHP from the settings, and tried to paste the sample code into the page. When saved, it just shows me the code but no " | + | Installing the PlugIn works ok, but on reviewing a doodle, the icons for ' |
- | + | > It appears that these were supposed to be in the dokuwiki image folder but aren't anymore: | |
- | //2012-03-22 15:00// Marko | + | > src="/ |
+ | >> Solution: Have a look at the WRAP-PlugIn, which uses the famfamfam icon set from: http:// | ||
+ | >> A proper fix would be to relocate | ||
+ | >> | ||
---- | ---- | ||
- | I fixed some settings and it seems to work now: | + | ==== Feature: Prefer auth=none ==== |
+ | // | ||
+ | > // | ||
+ | < | ||
+ | @lines 373ff: | ||
+ | - //do not vote twice, unless change__vote is set | ||
+ | - if (isset($this-> | ||
+ | - $this-> | ||
+ | - return; | ||
+ | - } | ||
+ | + //do not vote twice, unless change__vote is set or no authentication required | ||
+ | + if (isset($this-> | ||
+ | + $this-> | ||
+ | + return; | ||
+ | + } | ||
+ | @lines 488ff: | ||
+ | - if (isset($this-> | ||
+ | - $fullname = $this-> | ||
+ | - $editMode = true; | ||
+ | - } else { | ||
+ | - if (isset($this-> | ||
+ | - } | ||
+ | + if (isset($this-> | ||
+ | + $fullname = $this-> | ||
+ | + $editMode = true; | ||
+ | + } else { | ||
+ | + if ($this-> | ||
+ | + $fullname = ''; | ||
+ | + } else { | ||
+ | + if (isset($this-> | ||
+ | + } | ||
+ | + } | ||
+ | </ | ||
- | plugin directory name: **doodle2**\\ | + | ==== Icons in Ponder Stibbons ==== |
- | renaming some lines:\\ | + | |
- | line 52 in syntax.php: | + | |
- | '' | + | |
- | line 80 in syntax.php: | + | |
- | '' | + | |
- | \\ | + | |
- | // | + | |
- | This solution didn´t work for me, so I just changed: | + | If you want to show the icons you have to get it from an old version of dokuwiki: \\ |
- | * foldername: " | + | the files '' |
- | * plugin.info: "base doodle" | + |
plugin/doodle2.1334353078.txt.gz · Last modified: 2012-04-13 23:37 by 84.57.15.2