plugin:quiz
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:quiz [2011-09-20 13:03] – [How exactly to link the quiz page] 89.238.233.210 | plugin:quiz [2023-12-17 21:15] (current) – new download url Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Quiz plugin | + | ====== Quiz Plugin |
- | ---- pluginnews ----- | + | |
- | headline: | + | |
- | style: | + | |
- | ----- | + | |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : l.micco@tiscali.it | email : l.micco@tiscali.it | ||
type : syntax | type : syntax | ||
lastupdate : 2010-12-07 | lastupdate : 2010-12-07 | ||
- | compatible : 2009-12-25c "Lemming" | + | compatible : Lemming |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
tags : quiz, test | tags : quiz, test | ||
- | downloadurl: | + | |
+ | downloadurl: | ||
bugtracker : | bugtracker : | ||
sourcerepo : | sourcerepo : | ||
donationurl: | donationurl: | ||
+ | |||
+ | screenshot_img: | ||
---- | ---- | ||
- | |||
- | |||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
- | To see a demo online, visit **[[http:// | + | ===== Version history ===== |
- | //Note: If you do install manually the directory must be named quiz.// | ||
- | |||
- | ===== Version history ===== | ||
* **2010-12-07** (// | * **2010-12-07** (// | ||
* Removed all know bugs at this time (thanks to many users !!) | * Removed all know bugs at this time (thanks to many users !!) | ||
Line 48: | Line 42: | ||
===== Syntax and usage ===== | ===== Syntax and usage ===== | ||
- | Use this [[plugins|plugin]] to add a quiz to a wiki page. The syntax looks like this: | + | |
+ | Use this plugin to add a quiz to a wiki page. The syntax looks like this: | ||
{{quiz> | {{quiz> | ||
- | where //paramX// can be one or more from follow list and // | + | where //paramX// can be one or more from follow list and // |
^ learning | ^ learning | ||
Line 229: | Line 224: | ||
> fixed with new version | > fixed with new version | ||
- | ==== How exactly to link the quiz page ==== | + | ==== How exactly to link the quiz page? ==== |
I can't figure out how to link a quiz command (quiz> ...) to a quiz wiki page - like stated [[http:// | I can't figure out how to link a quiz command (quiz> ...) to a quiz wiki page - like stated [[http:// | ||
Line 235: | Line 230: | ||
The " | The " | ||
+ | Somenthing like this? | ||
{{quiz> | {{quiz> | ||
+ | |||
+ | ==== Longer questions and more detail ==== | ||
+ | |||
+ | I wanted some way to add more detail to questions and explanations. | ||
+ | |||
+ | Example usage: | ||
+ | * Pop the question here | ||
+ | * Detail | ||
+ | * More details, images etc | ||
+ | * More details, images etc | ||
+ | * More details, images etc | ||
+ | - Item 1 | ||
+ | - Item 2 | ||
+ | * [1] | ||
+ | * (1) | ||
+ | * Main explanation | ||
+ | * More details, images etc | ||
+ | * More details, images etc | ||
+ | * More details, images etc | ||
+ | |||
+ | Source diff against quiz-07.12.2010.zip: | ||
+ | 428c428,442 | ||
+ | < | ||
+ | --- | ||
+ | > # Like explanation except with a special key | ||
+ | > } elseif (strtoupper(substr($lines[$k], | ||
+ | > $tmp = ''; | ||
+ | > | ||
+ | > $l = $lines[$k + 1]; | ||
+ | > | ||
+ | > if (substr($l, 0, 8) == " | ||
+ | > # Keep it as a list, just shift it | ||
+ | > $tmp .= $hRender-> | ||
+ | > $k += 1; | ||
+ | > } else { | ||
+ | > | ||
+ | > } | ||
+ | > } | ||
+ | > | ||
+ | 436a451 | ||
+ | > # Doesn' | ||
+ | 440c455,470 | ||
+ | < | ||
+ | --- | ||
+ | > $exp = $tmp; | ||
+ | > | ||
+ | > $tmp = ''; | ||
+ | > # Extended explanation? | ||
+ | > | ||
+ | > $l = $lines[$k + 1]; | ||
+ | > | ||
+ | > if (substr($l, 0, 8) == " | ||
+ | > # Keep it as a list, just shift it | ||
+ | > $tmp .= $hRender-> | ||
+ | > $k += 1; | ||
+ | > } else { | ||
+ | > | ||
+ | > } | ||
+ | > } | ||
+ | > | ||
+ | |||
+ | --- [[user> | ||
===== Displays title even if not given ===== | ===== Displays title even if not given ===== | ||
Thanks for a simple quiz plugin! One question, even if I don't set a title for my quiz, the pagename will show up as the title. I wonder if it is possible to " | Thanks for a simple quiz plugin! One question, even if I don't set a title for my quiz, the pagename will show up as the title. I wonder if it is possible to " | ||
+ | |||
+ | ===== Random question and choice work only once ===== | ||
+ | I have tried this plugin and notice that with " | ||
+ | |||
+ | ===== Any plans for making this work for new releases ===== | ||
+ | The plugin is really useful to make Dokuwiki a useful tool for learning. I would appreciate someone can make this work again for new release of Dokuwiki. | ||
+ | |||
+ | ===== Malware in Demo link ===== | ||
+ | |||
+ | Attempting to view the example page for this plugin takes you to a site that attempts to install malware! | ||
+ | > If this was true, it should be put to the very top of the page, not at the end. But I just tried the Demo link, and it simply went to one of those holding pages when a domain expired, and I didn't experience any malicious attempt to install anything. --- [[user> | ||
+ | >> I've just removed the link to the Demo as it was broken since over a year anyway. --- [[user> | ||
+ | |||
+ | ===== Error in plugin ===== | ||
+ | Not Found | ||
+ | |||
+ | The requested URL / | ||
+ | |||
+ | it is not directing to right link . | ||
+ | |||
+ | Please help to resolve the issue |
plugin/quiz.1316516636.txt.gz · Last modified: 2011-09-20 13:03 by 89.238.233.210